Llama.cpp b11160 adds an int8 coopmat Vulkan matmul for AMD RDNA3/RDNA4: time to re-test Vulkan against ROCm?

llama.cpp pre-release b11160 (released 24 Sep 2026) includes “vulkan: int8 coopmat1 matmul implementation for AMD RDNA3 and RDNA4” (PR #27952). If you run quantized GGUF models on an RDNA3 or RDNA4 card, that touches one side of the Vulkan-or-ROCm choice, and the same tag ships both Vulkan and ROCm 10.0 builds. Before anyone swaps backends, two questions: does this apply to the quant you actually run, and what would a fair comparison look like when the release publishes no numbers?

What the release says

  • What it is. A new int8 cooperative-matrix quantized matmul shader for the Vulkan backend. The first commit bullet is “vulkan: add int8 coopmat quantized matmul shader”.
  • Hardware. The commit list says “gate to RDNA3/4”, adds RDNA4 architecture handling, includes “rdna4 tuning”, uses wave32, and forces subgroup size 32 only on AMD RDNA. Nothing in the notes describes a change for other AMD generations or for NVIDIA, Intel, Apple or Snapdragon GPUs, so this release gives no reason to expect one there.
  • Quant types named for the new path: q8_0, q4_1, q5_0, q5_1, iq4_nl, mxfp4, q3_k, q4_k, q5_k, q6_k, nvfp4, and IQ4_XS (added in PR #28440). q4_0 and q2_k are not on the list, and neither are iq types other than iq4_nl and IQ4_XS. I would not assume that a type the notes don’t name is covered.
  • mul_mat_id. The notes include “enable mul_mat_id support”, “fix mul_mat_id bug” and “use BK_STEP 2 on MUL_MAT_ID”. The release never mentions MoE. That link is my inference: mul_mat_id is the op llama.cpp uses for expert-routed matmuls, so mixture-of-experts models are where that part is most likely to matter.

What it doesn’t say

Performance comes up in terse commit bullets such as “improve performance” (twice, followed by a bare “improvements”), “add faster RDNA int->float conversion”, “fix iq4_nl and nvfp4 performance” and “rdna4 tuning”. There are no tokens/sec figures, no speedup ratio, no test hardware, no settings, and no comparison with ROCm or with earlier Vulkan builds. The release is also labeled Pre-release on GitHub. The notes don’t state:

  • whether the path is on by default or needs to be enabled,
  • which driver version or Vulkan extension it requires,
  • whether its output matches the other matmul paths numerically,
  • whether prompt processing, token generation, or both are affected.

So a claim right now that Vulkan beats, or loses to, ROCm on RDNA3/RDNA4 because of this change isn’t backed by the release. I wouldn’t switch backends on the changelog alone.

A re-test that would settle it for your setup

  1. Check your tensor types first. The list uses ggml type names. My reading, not something the release states: a preset name like Q4_K_M can cover more than one tensor type within a file, so check the types of the large weight tensors in your file rather than the name on the download page. If none of them are listed, this change gives you no reason to re-test.
  2. Same tag, both backends. b11160 has Vulkan and ROCm 10.0 builds for Ubuntu x64 and Windows x64. Run both with the same model file, GPU, driver, context length and batch settings. If you still have the Vulkan build you ran before, add it as a third column. That separates the effect of this change from everything else that differs between Vulkan and ROCm.
  3. Record prompt processing and generation separately. The notes don’t say which one the change affects.
  4. Check output, not just speed. The release says nothing about numerical parity, so compare the backends on a few fixed prompts with identical sampling settings before trusting a speed number.
  5. Read a null result carefully. Since the notes don’t say how the path is enabled, “no difference” may mean it isn’t active in your setup, not that it’s slow.

If you post results, include the model, quant type, exact GPU, build (b11160 Vulkan or b11160 ROCm 10.0), driver version, OS and settings. The release has no reference numbers, so a result without those conditions can’t be compared with anyone else’s.

Two things would help people on RDNA3/RDNA4 decide whether this is worth an evening. Which quant types are you actually running, and are they on the list above? And if you’ve read through #27952, is the new path used by default in the Vulkan build, and does it need a particular driver?

From the integration side: if a script, service or CI job calls llama.cpp, treat b11160 as a pre-release dependency to trial, not an upgrade to roll out.

  • Pin the exact build. The release is tag b11160 at commit 70c4e15, which GitHub shows as signed with a verified signature. Pin that tag instead of pulling whatever is newest, and keep the build you run today, so reverting is a one-line change.
  • Check the artifact before it replaces anything. The release page lists an attestation (Attestation · ggml-org/llama.cpp · GitHub). General background, not from the release: GitHub artifact attestations record where and how a file was built, and gh attestation verify <file> --repo ggml-org/llama.cpp checks a download against them if the attestation covers that asset. They tell you about provenance only, not about speed or correctness.
  • Log crashes as results. The PR’s own commit list includes “fix segfault” and “remove elem row/col fast path, invalid for RDNA4”. Those were fixed inside the PR, so they are not known open bugs. My inference is that a new shader path like this is more likely to fail on one specific GPU and quant combination by aborting than by being slightly slower. A harness that only records tokens/sec silently drops those runs, so record the exit status for every backend and quant pair.
  • Make the backend a config value. If the Vulkan or ROCm binary path is set in one place rather than hardcoded, falling back after a crash or a regression in a later pre-release is a config change, not a code change.