Running Qwen3.8-Next-Flash on 96GB RAM: offload the n-gram table to SSD
Iory1998 · reddit · 2026-08-30
A user with dual 5070 Ti + 3090 (40GB VRAM) and 96GB RAM shares a hands-on debugging story running Qwen3.8-Next-Flash Q4 locally:
- Unsloth quants failed: Q4KXL (105GB) and IQ4XS (90GB) bake the 56B n-gram table into the weight files, so everything loads into memory; with KV cache, conversations beyond 60K–100K tokens crash llama.cpp silently, at only 12–14 t/s.
- The AtomicChat build is the key difference: it shards the n-gram table onto SSD, needing only 54GB of fast memory. The table is touched sparsely (2.7KB per token via hash), so SSD offload costs almost nothing.
- Results: a real 217K-token conversation ran end-to-end without crashing, full 256K context fits, and speed rose to 22 t/s. Prefill remains hardware-bound at 18 min for 220K tokens.
- Fun fact: the AtomicChat option was suggested by DeepSeek running benchmarks on his own rig. The author cautions quant quality parity with unsloth isn't guaranteed.
More from Infra
- ETH Zurich runs FP64 math on 4-bit AI Tensor Cores, 83x faster than native — thoefler · 2026-12-02
- Jensen Huang warns the US risks repeating its "5G mistake" and losing the AI race to China — TinfoilTricorn · 2026-12-02
- Hyperscaler capex consensus keeps being redrawn upward, now at $1.2T — peterwildeford · 2026-12-02
- Netlify served 54B requests over Black Friday weekend, peaking at 249K rps — thisiskp_ · 2026-12-02
- Rumor: Tencent and ByteDance may have snapped up Envision's Xinghe Phase I, leaving DeepSeek no Huawei 950DT capacity — teortaxesTex · 2026-12-02
- RightNow Mini open-sourced: 729 tok/s on one GPU and 92/100 SWE-bench, zero weight changes — victormustar · 2026-12-02