Vulkan

by Khronos Group · Framework · Other

An open cross-platform graphics and compute interface that lets programs draw 3D scenes and run parallel computation directly on the GPU.

mixed

On AMD GPUs, matches ROCm at generation and saves memory, but prefills long prompts slower

Who says what

Opinion has settled

Alex Ziskind and 玩客笔记 (Tinkerer Notes), who benchmarked llama.cpp on AMD, plus a Hacker News commenter on a gfx1103 iGPU

ROCm prefills faster: at 32K context Ziskind saw Vulkan drop from 455 to about 100 tok/s against ROCm's 287, and 玩客笔记 (Tinkerer Notes) measured 562 vs 812 tok/s on a 47,808-token prompt. Generation is even or better on Vulkan and it used about 4 GB less VRAM; the commenter went back to it because ROCm could not use all unified memory.

From Ziskind's test on 10 November to the Hacker News report on 26 November, every voice described the same tradeoff.

What would settle it. A long-context prefill rerun on the same AMD card after further Vulkan backend fixes.

Alternatives

ROCmAt 32K context, Qwen3.8 27B prompt speed fell from 455 to about 100 tok/s on Vulkan but held 287 on ROCm; Spark 727. Vulkan better for generation.
llama.cppAMD patches on a gfx1103 iGPU gave +15% prompt processing and +3% generation but could not use all unified memory, so commenter went back to Vulkan
llama.cpp ROCmHIP b1381 prefilled 47,808 tokens 44.5% faster than fixed Vulkan (812.15 vs 562.23 tok/s) with decode flat (51.22 vs 52.11), but used about 4 GB more VRAM.