CPU, GPU AND RAM

GatedDeltaNet in Vulkan: CPU fallback and a different HIP bottleneck

In this article
THE QUICK TAKE

The old CPU-fallback measurements do not benchmark the shader now present upstream; similar HIP speed does not establish the same cause.

A missing operator can dominate a fitting model

Issue 20354, opened March 10, 2026, reports poor Qwen3.5 performance on a Ryzen AI Max+ 395 with Radeon 8060S graphics. Its specific Vulkan build lacked a shader for the fused GATED_DELTA_NET operation, so that operation fell back to the CPU. The important boundary is operator coverage, rather than whether the weight file fits unified memory.

The report uses Qwen3.5-27B Q4_K_M with llama.cpp b8234 and Mesa 26.0.1. It gives 284.4 tokens/s for prompt processing and 11.87 for generation on the Vulkan path. These are historical observations for that build, not a present-day speed rating or a universal limitation of AMD hardware.

Similar speed can hide different execution paths

The same report’s ROCm 7.2 path runs the fused operation on the GPU, yet reports 11.81 tokens/s for generation. Similar throughput therefore does not establish the same cause. A CPU fallback and an inefficient GPU kernel can produce similar application timings while requiring different changes.

The author suggests register pressure and implementation differences as explanations for the HIP result. Those are hypotheses, rather than a complete isolated profile of the reported integrated GPU. Likewise, comparing a smaller recurrent model with a larger model using another architecture does not isolate model size as the explanation. Their operation mix and available kernels differ.

The useful diagnostic is to identify the operation’s actual execution location and then measure its cost. Increasing a requested offload count cannot supply a missing shader. Nor does successful compilation of a translated kernel demonstrate that its scheduling and memory use match the target architecture well.

The original absence is not the current source state

A contributor points the issue to existing development work, and the reporter closes it as a duplicate. Current upstream contains a GatedDeltaNet Vulkan shader with explicit state buffers and subgroup or shared-memory reduction paths. Its existence is direct evidence that the old statement of missing source is no longer an accurate description of the current tree.

That does not establish the first containing release or a newly measured speed on this machine. A source file, a compiled binary, selection of its supported path and correct output are separate milestones. The original issue’s numbers cannot be relabeled as performance of the subsequently available shader.

The related HIP optimization discussion also illustrates why architecture scope matters: moving state to shared memory helped one tested device but worsened another. The original proposal was closed and redirected to replacement work; a closed proposal alone should not be announced as the shipped fix.

What to retain when repeating the case

Preserve the model artifact, build revision, driver, operator-placement log and separate prompt/generation results. Verify output behavior before comparing speed. A changed backend should be treated as a new condition, with cache and context held fixed, rather than as an assumed equivalent implementation.

The existing GPU-layer offload guide explains why requested placement is insufficient evidence. The prefill/decode guide explains the phase distinction. This particular report adds a concrete historical case where operator support and kernel efficiency must be diagnosed separately. It does not justify carrying an old missing-operator warning forward indefinitely or declaring an entire hardware family unusable.

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