What this thread does
Do first: Upgrade llama.cpp to build b12473 or a later build.
Symptom
Faulting module name: amdvlk64.dll, version: 32.0.32015.16001 appears in the Windows Application log after llama-server.exe crashes during Vulkan prefill. aksugat reported this on an RX 7800 XT with build b12421. Other users commented on the issue: davesanvil, 0cc4m.
Cause
The merged PR identifies an AMD Windows shader-compiler bug involving loop-indexed arrays of cooperative matrices. It excludes the AMD proprietary driver from automatic flip Flash Attention shader selection.
Fix
1. Use build b12473 or a later build containing the driver exclusion. 2. On AMD Windows, let the updated Vulkan backend select its non-flip path. 3. If you cannot upgrade, the reporter’s build-b12421 comparison lists GGML_VK_DISABLE_FA_FLIP=1 as an alternative that avoids the crash.
Build b12676 (released 2026-11-24) still excludes the AMD proprietary driver from automatic flip selection. GitHub marks these build releases as pre-releases. As of November 2026, the latest stable release, v1.0.0 (published 2026-11-13), predates this fix; use an affected-build workaround or a carrying pre-release build.
Fixed in
First published carrying release: pre-release build b12473 (released 2026-11-17). Tag b12471 already contains the fix commit but has no GitHub release; the previous published build, b12470, does not contain it. PR #32415 was merged on 2026-11-17.
If it still fails
- The current source still allows
GGML_VK_FORCE_FA_FLIPto bypass the automatic architecture selection; forcing the path can therefore bypass the driver exclusion. Thekvsepworkaround from the original report did not avoid the crash for davesanvil’s RDNA4 system.
Not for: llama.cpp Metal BF16 compilation errors on Apple hardware; see llama-cpp-metal-bf16-invalid-constexpr-pointer.
Sources
- Eval bug: Vulkan FA prefill crashes in amdvlk64.dll on RDNA3/Windows (flip-direct path from #31323), aksugat, opened 2026-11-15; closed as completed on 2026-11-17: "Faulting module name: amdvlk64.dll, version: 32.0.32015.16001"
- vulkan: disable flip Flash Attention shader on AMD Windows due to a driver bug, 0cc4m, merged 2026-11-17.
b12676, published 2026-11-24.b12473, published 2026-11-17.- Release containment comparison, read 2026-11-24: behind.
- Comment, davesanvil, 2026-11-15; parent issue closed as completed on 2026-11-17.
- Comment, 0cc4m, 2026-11-16; parent issue closed as completed on 2026-11-17.
- vulkan: optimize prompt processing Flash Attention for RDNA3 and RDNA4, 0cc4m, merged 2026-11-14.
- Source at the b12676 tag, read 2026-11-24.
Checked
2026-11-24; read the issue and linked comment API records, merged PR and changed files, listed release records, release containment comparison where listed, and source files at the named current tag; no command was run.
Started from a post by @aksugat, packaged by the editor. Original post