Custom Zig + Vulkan engine bypasses ROCm on AMD, hits 2,096 tok/s prefill on a laptop

HankYeomans · x · 2026-11-30

Developer ashxhart unveiled vulkantf, a bare-metal Vulkan inference engine written in Zig with a clean-room SPIR-V compiler, completely bypassing ROCm/HIP on AMD GPUs as a single 9 MB executable with zero ROCm/HIP/Vulkan SDK dependencies.

On a Windows 11 Strix Halo laptop (Radeon 8060S, RDNA 3.5) running Inkling-2-Mini (Q4 + lossless DSpark):

The engine also exploits non-traditional RDNA 3.5 units: hardware ray tracing cores (VKKHRrayquery + BVH) for sparse KV pruning (99.87% pruned across 10M tokens in 1.54 ms), fixed-function BC4 TMUs for hardware 4-bit weight decompression (857 GB/s FP16-eq), and Wave32 WMMA matrix units with GPU vkCmdDispatchIndirect MoE (0 register spills across 74 pipelines).

Original post →

More from coding & agent

coding & agent channel →