$ the-wire · showcase
Vulkan top-k radix sort, HIP Q2_0 optimizations, and vLLM CUDA-graph memory fix
By RepoJournal · Filed · About Local LLMs
Across three repos, the most consequential changes tune performance on AMD and Vulkan, fix a vLLM memory regression, and extend speculative decoding support.
Vulkan's top-k path now uses a radix sort for k >= 1024, enabling Qwen 3.8 Flash Next support [1]. HIP's Q2_0 dot-product path for gfx1201 gets native amdgcn perm optimizations [2], and RDNA 3/4 mmq configs are further tuned [3]. A new SWIGLU_CLAMP op in ggml clamps the SWIGLU variant used by DSV4 and GLM, cutting 3 separate ops into one and improving decode throughput [4]. vLLM fixes a default CUDA-graph memory regression from #50488 by keeping default capture sizes memory-safe; on H200 this restores the established ceiling of 512 tokens [5]. The dual-stream decode with hipgraphs PR was re-opened after a root-cause fix for a gsm8k accuracy failure [6], and vLLM adds batch-invariance regression tests for Qwen3-VL [7]. sglang adds DSpark speculative decoding for LFM2 and LFM2-MoE, including interleaved RoPE in the fused-KV kernel [8], and absorbs Qwen-Image output-projection biases to remove 224 BF16 add kernels per profiled step [9].
Action items
- → Upgrade vllm to a version including PR 54418 to avoid CUDA-graph OOMs on H200 vllm-project/vllm [plan]
- → Monitor AMD performance changes from HIP Q2_0 and RDNA mmq tuning in llama.cpp ggml-org/llama.cpp [monitor]
- → Review sglang LFM2 DSpark support for production speculation sgl-project/sglang [plan]
References
- [1] vulkan: top_k radix select for k >= 1024 for Qwen 3.8 Flash Next ↗ ggml-org/llama.cpp
- [2] hip : optimize Q2_0 dot-product path for gfx1201 (#26753) ↗ ggml-org/llama.cpp
- [3] HIP: tune rdna 3 mmq configs ↗ ggml-org/llama.cpp
- [4] ggml: add SWIGLU_CLAMP ↗ ggml-org/llama.cpp
- [5] [Bugfix][Spec Decode] Keep default CUDA graph sizes memory-safe ↗ vllm-project/vllm
- [6] [Perf][ROCm] Dual-stream decode with hipgraphs ↗ vllm-project/vllm
- [7] [Test][VLM] Add batch-invariance tests for Qwen3-VL ↗ vllm-project/vllm
- [8] [Spec] Add LFM2 and LFM2-MoE DSpark speculative decoding support ↗ sgl-project/sglang
- [9] [diffusion] perf: absorb Qwen-Image output projection biases ↗ sgl-project/sglang