TECHNOLOGY

HIP or Vulkan on RX 9070 XT: workload and build change the answer

In this article
THE QUICK TAKE

The published tests describe particular builds and models; they support measuring both stages on the intended workload rather than a universal backend ranking.

In local language-model tests on two Radeon RX 9070 XT cards, HIP processed long prompts faster than Vulkan, while the generation advantage changed with context length. Another user obtained the opposite result with a different build and model quantization on one card. These measurements explain why a local-AI backend should be evaluated on the intended workload rather than selected from one tokens-per-second figure.

The software is llama.cpp, which runs language models locally, using two GPU execution paths. HIP provides a programming model and runtime for GPU computing; Vulkan is an API that also supports compute workloads. Each llama.cpp backend implements operations and driver interaction differently. The same model can therefore behave differently with another program version, data format or configuration. AMD HIP documentation; llama.cpp build instructions.

Two cards and three prompt lengths

The author of the specialized llama.cpp-rdna-lab build published results for Windows 11, a Ryzen 7 5800X3D, 64 GB RAM and two RX 9070 XT cards with 16 GB VRAM each. Model layers were divided between the cards. AMD specifies 16 GB GDDR6 per RX 9070 XT, a 256-bit memory interface and bandwidth up to 640 GB/s. These are hardware specifications, not an AI-speed promise. AMD.

The model was Qwen3.8-27B in UD-Q4_K_M GGUF form. The author compared three scenarios without speculative decoding, using approximately 8.4 thousand, 33 thousand and 64.3 thousand input tokens. The first two prompts use a repository snapshot; the third is synthetic. All specify FlashAttention, batch 8192, microbatch 1024, f8_e4m3 keys and values, one server slot and no prompt-cache reuse. Project conditions and tables.

Input tokensHIP / Vulkan prompt processing, tokens/sHIP / Vulkan generation, tokens/s
8 3862 061 / 1 56924.70 / 25.42
32 9961 879 / 1 47125.74 / 23.61
64 2871 556 / 1 24424.85 / 22.19

HIP leads prompt processing by approximately 31%, 28% and 25% in these rows. Vulkan generates slightly faster in the first scenario, while HIP leads in the other two. These are the author’s measurements, not independent replications. Each cell represents one run, so a small difference, particularly in the first generation row, cannot confidently be treated as stable.

The comparison also has a substantial limitation: Vulkan was tested on 23 September 2026 at commit 7c49e6212, while HIP with ROCm 7.2 was retested on 26 September at fea1c3180 with an additional working-tree FlashAttention change. Vulkan was not rerun in that pass. Although workload conditions are described as identical, different dates and code prevent attributing the whole gap solely to the API. Original table and notes.

Why both speeds matter

The model first processes input text: documents, conversation history or source code. This stage is called prefill or prompt processing. It then generates an answer sequentially during decode. Faster prefill reduces the wait before an answer starts after a long prompt; faster decode changes the pace at which the answer appears. Total latency depends on both stages and input and output lengths, so these rates cannot be added or treated as interchangeable.

The two-card test varies both input lengths and allocated context windows. For L1, L2 and L3, the author selected 16 384, 49 152 and 98 304 tokens respectively. Cached intermediate states also consume VRAM. Configuration decisions must account for the model, quantization, context and memory headroom, while checking answer quality: speed alone does not establish it. Scenario descriptions.

Another machine gives another result

A separate user project compared llama.cpp b10675 builds on Windows 11, using one RX 9070 XT, a Ryzen 7 7800X3D and 32 GB DDR5-6000. For Qwen3.8-27B-GSQ-RCO IQ3_XXS at 8K context with MTP disabled, its author reported 788 tokens/s prefill and 38.9 decode for Vulkan, versus 371 and 31.8 for HIP. Vulkan leads both stages here. The model file, quantization, card count and build differ; this is a separate user observation rather than a reproduction of the two-card test. The author describes both three-repetition llama-bench measurements and separate CLI runs, so an individual row should not be assumed to have more repetitions than its raw data establishes.

Another indication of configuration dependence is a llama.cpp issue opened on 6 August 2026. With one RX 9070 XT and other Qwen3 models, the reporter described much slower Vulkan generation than HIP. Later diagnostics contain different results. This is a report about a specific configuration, not a developer-verified universal speed ratio.

Updates also change the picture

On 2 October 2026, another author compared two llama.cpp versions on a Linux machine with one RX 9070 XT, a Ryzen 7 9800X3D and 32 GB DDR5-6000. This compared HIP software versions rather than HIP against Vulkan. With the Qwen3.8-32k preset and MTP disabled, updating from b10463 to b11345 increased short-context generation from 30.08 to 32.07 tokens/s, generation at approximately 16.8 thousand tokens from 26.84 to 28.41, and prefill from 959 to 1193 tokens/s.

The author ran old and new builds in ABBA order, used two server loads per cell, disabled prompt caching and discarded warmup. No particular commit was isolated as the cause. This is a more detailed method, but still describes one system and a limited prompt set. Update methodology; machine configuration.

Radeon owners can evaluate both available backends with their chosen model and typical prompt lengths, recording driver and application versions, cache settings, memory use and both speeds separately. Repeated runs help distinguish stable differences from fluctuations. Installation also requires checking exact version compatibility. For example, AMD’s ROCm 7.1.1 Windows matrix lists the RX 9070 XT for PyTorch while explicitly qualifying incomplete support for the entire ROCm stack on Windows. It does not guarantee that every application version works.

Sources

The RX 9070 XT profile separates specifications from application support. The inference benchmark method helps preserve comparison conditions and reproducibility.

Earn rental income from GPUs

Have idle GPUs or looking to fund AI infrastructure? Retrivium finds a rental platform, sets up the server and helps you assess income and costs with a pilot.

Explore GPU hosting
← All articles