SGLang 合入 Paged Experts,16GB 显存可跑 167GB DeepSeek-V4-Flash
SGLang 把 Paged Experts 合进主干,启动加 --enable-paged-experts 参数即可开启。官方用 16GB RTX 5070 Ti 配 62GB 内存实测:Qwen3-30B(17GB)单请求生成 241.5 tok/s,Qwen3-Next-80B(48GB)116.2 tok/s,167GB 的 DeepSeek-V4-Flash 加 NVMe 后也有 13.0 tok/s。 原理是把显存当专家缓存用:全量权重放内存,显存只留热专家,没命中的按需从内存搬入,用 LRU 策略顶掉最久没用的。与逐 token 全量搬运的传统卸载不同,MoE 每个 token 只用少数专家且连续 token 反复命中同一批热专家,Qwen3-30B 每层 128 个专家留 91 个在显存,实际需临时搬运的仅 0.8%。查未命中和搬入显存全在 GPU 内完成,不等 CPU,原算子不用改,输出与整模放显存完全一致,不掉精度。 这改变了 16GB 消费卡跑大 MoE 的路径:以前只能极限量化或靠 CPU 硬扛。即使显卡装得下模型,也可少留专家,把省出的显存给 KV cache,换更长上下文或更高并发。有大内存的用户加一个参数即可实测。
Current read
SGLang 新合的 Paged Experts 让 16GB 卡跑 167GB 的 MoE 成了现实,Qwen3-30B 能跑到 241.5 tok/s。关键是不量化也不掉精度,有大内存的本地部署党加个参数就能试,比 CPU 卸载方案实在太多。
Evidence
3 sourcesConflict check
Dedup data only shows that these sources discuss the same event, not that they agree. There is no structured supporting or refuting evidence yet, so no conflict is inferred automatically.