Hand-written CUDA kernels boost DGX Spark MoE inference 340x, from 0.15 to 51.4 tok/s
AIFlow_ML · x · 2026-11-29
On one DGX Spark, stock tinygrad ran Inkling 2 Mini at 0.15 tok/s; frankekn's CUDA kernels took it to 51.4 tok/s (one stream, no speculative decoding) — because tinygrad's MoE kernels were AMD-only, CUDA dequantized all 128 experts. Benchmark of 12 code-review tasks (4 concurrent): no draft model, the custom kernels finished 11/12 in 386s vs llama.cpp 3.5-bit GGUF at 505s; with a DFLASH2 draft model, 303s 12/12 vs TensorFold's 259-330s. Next step is batching verify attention (52k prompt single stream: 29.3 vs TensorFold 43.9 tok/s).
More from Infra
- ferrule-os: a ~1,900-LOC Rust microkernel that pushes even NIC drivers out of Ring 0 — prescott · 2026-11-29
- Greg Mushen mocks claim that orbiting satellites risk asteroid hits amid data center debate — gregmushen · 2026-11-29
- RSI's whole point is automated discovery of compute-efficient AI, argues teortaxesTex — teortaxesTex · 2026-11-29
- Huawei Atlas 150 AI card shown in detail, reportedly with Ascend 950PR inside — teortaxesTex · 2026-11-29
- Hillary Clinton calls space data centers "crazy talk", but the bet logic favors letting SpaceX try — JHochderffer · 2026-11-29
- vLLM puts agentic KV cache on NVMe: within 1% of DRAM, far cheaper — AccBalanced · 2026-11-29