Prefetching MoE experts 2 layers ahead boosts V100 decode speed 29.9%
WaroftanksPro · reddit · 2026-11-29
A redditor patched llama.cpp to run Inkling 2 Mini at native NVFP4/MXFP8 precision on a single 16GB V100, keeping 10.32 GiB of expert weights in system RAM. A small predictor guesses which 8 of 128 experts each MoE layer will need two layers ahead (81% accuracy, 6.48/8 average hits), letting the GPU copy weights over PCIe while computing intervening layers. Decode went from 6.31 to 8.20 tok/s (+29.9%) on identical 2,915 reference tokens with 128K context and short prompts. The scheme is lossy: missed experts are only fetched if their router weight exceeds 20%. Quality impact was minimal — the lossy mode solved 32/50 tasks vs 31/50 for default Inkling, KL divergence only 0.00802. Author stresses this is an inference experiment, not an optimized upper bound, and credits jalenluorion's SSD-based version for inspiration. Code is open source on GitHub.
More from Infra
- Debate: inference demand makes H100s more valuable while NVDA stock heads south — teortaxesTex · 2026-11-29
- Leopold's $880K-per-H100 revenue claim vs "Nvidia has zero moat" draws flak — teortaxesTex · 2026-11-29
- JITEngine from Berkeley ecosystem synthesizes custom Mac LLM inference engines, up to 2.7x faster — CShorten30 · 2026-11-29
- Dev Uses Neon to Build 'ultra' CLI That Wraps Google Colab GPUs — andrew_n_carr · 2026-11-29
- German startup Q.ANT tests photonic chips that cut AI compute energy use fivefold — emmanuelvivier · 2026-11-29
- $2.45T US buildout map: analyst says copper and silver must rally or projects get cancelled — karlwaldman · 2026-11-29