Repository navigation
v0.6.25 — GDN prompt processing faster; Qwen3.8 serving leads vLLM in every cell
Faster prompt processing for Gated-DeltaNet models: the chunked scan is ~19% faster and its prep kernel ~13% faster, with bit-identical output. Qwen3.8 serving now beats vLLM in every measured cell.
Qwen3.6 and Qwen3.8 are hybrid models. Most of their layers are Gated-DeltaNet (linear attention), which processes a prompt as a chain of 32-token chunks, one after another. Three changes make each link in that chain cheaper:
- Scan prefetch. Each chunk's gates, U0 and M tiles are now fetched while the previous chunk is still computing, instead of after it finishes. Per layer at 8K tokens: 1,057 → 858 µs, together with the next change.
- Fewer barriers. The scan computes both per-row decays once per chunk and folds the U~ scaling into an existing pass, removing three block-wide barriers per chunk.
- Faster prep. The prep kernel loads K and Q 16 bytes at a time and starts loading V early, overlapped with other work. Per layer at 8K tokens: 390 → 341 µs.
Output is bit-identical to 0.6.24: teacher-forced scoring over 1,499 positions matches exactly on both Qwen3.6 and Qwen3.8.
Measured
RTX 5090, AIPerf streaming chat with 1,024-token prompts, 256 output tokens (ignore_eos), and a distinct prompt set per cell. Output tok/s:
| 4 req | 16 req | 32 req | 8K prompts, 4 req | 8K prompts, 16 req | |
|---|---|---|---|---|---|
| Qwen3.8-27B NVFP4, sparkinfer 0.6.25 | 314 | 908 | 1,259 | 188 | 310 |
| Qwen3.8-27B NVFP4, vLLM 0.30.0 | 271 | 862 | 1,239 | 187 | 306 |
| Qwen3.6-35B-A3B UD-Q4_K_M, sparkinfer 0.6.25 | 910 | 1,693 | 2,215 | 520 | 645 |
| Qwen3.6-35B-A3B NVFP4, vLLM 0.30.0 | 666 | 1,686 | 2,367 | 450 | 652 |
Single-prompt prefill on Qwen3.6: 8K tokens 37.1K → 38.4K tok/s; 2K tokens 29.0K → 29.7K tok/s.
What's Changed
- perf(kernels): GDN prefill scan fetches each chunk's tiles a chunk ahead; prep stages 16 B a load (scan 1,057 -> 882, prep 390 -> 341 us a layer at 8K) by @skyrocket2026 in #1310
- perf(kernels): the GDN scan forms its per-row decays once a chunk and fuses the U~ scale into the narrowing pass by @skyrocket2026 in #1311
- docs: 0.6.25 — GDN prompt processing faster; Qwen3.8 serving leads vLLM in every cell by @skyrocket2026 in #1312
Full Changelog: v0.6.24...v0.6.25