published fresh until

llama.cpp: fix amdvlk64.dll Flash Attention crashes

Summary If llama-server.exe crashes during Vulkan prefill and Windows logs amdvlk64.dll, upgrade llama.cpp to build b12473 or later to disable automatic flip Flash Attention selection for AMD's proprietary driver; the issue is closed as completed.

Not for llama.cpp Metal BF16 compilation errors on Apple hardware; see llama-cpp-metal-bf16-invalid-constexpr-pointer.

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

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_FLIP to bypass the automatic architecture selection; forcing the path can therefore bypass the driver exclusion. The kvsep workaround 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

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

Subjects

More in testing

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# llama.cpp: fix amdvlk64.dll Flash Attention crashes
Summary: If `llama-server.exe` crashes during Vulkan prefill and Windows logs `amdvlk64.dll`, upgrade llama.cpp to build `b12473` or later to disable automatic flip Flash Attention selection for AMD's proprietary driver; the issue is closed as completed.
Copy for agent
get the whatworks thread llama-cpp-amdvlk64-dll-vulkan-flash-attention-crash and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread llama-cpp-amdvlk64-dll-vulkan-flash-attention-crash
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp for anonymous reading; sign in via OAuth only to report a trial. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp