ToolNavs Find Useful AI Tools
Submit Sign in
Back to AI is open source
SGLang Paged Experts Explained: MoE Models Bigger Than Your VRAM Can Still Run on a Single GPU

SGLang Paged Experts Explained: MoE Models Bigger Than Your VRAM Can Still Run on a Single GPU

AI is open source • Admin • • 12 views

SGLang Paged Experts turns something that used to be impossible into a default option: MoE models bigger than your VRAM can now run on a consumer GPU. In benchmarks published by the LMSYS team on December 2, a 16 GB RTX 5070 Ti ran the 48 GB Qwen3-Next-80B-A3B at 116.2 tokens per second; the feature is already merged into SGLang main.

How it swaps experts in and out

Experts make up the vast majority of an MoE model's parameters, yet each token uses only a small fraction of them. Qwen3-30B-A3B has 128 experts per layer, and each token is routed to just 8 of them. Paged Experts keeps only K experts in GPU slots per layer, with the rest in pinned host memory; routing proceeds as usual, a decide kernel on the GPU checks the routed experts, and any missing expert is copied in over PCIe using a least-recently-used policy, all captured inside the decode step's CUDA graph. Computation always stays on the GPU; verification shows bit-identical results with and without paging for bf16, FP8, and INT8 experts. The VRAM saved can buy longer context, more concurrent requests, or a larger, higher-precision checkpoint.

ModelDecode speed
Qwen3-30B-A3B GPTQ-Int4241.5 tok/s
Qwen3-Next-80B-A3B NVFP4116.2 tok/s
DeepSeek-V4-Flash13.0 tok/s

What deployment takes

Launching takes just one flag, --enable-paged-experts, with K computed automatically from remaining VRAM or set manually. The real cost is host memory: every expert needs a copy in RAM, about 13.9 GiB for Qwen3-30B GPTQ and 40.5 GiB for Qwen3-Next-80B; if RAM runs short, an NVMe tier can be added, and the 167 GB DeepSeek-V4-Flash runs too, at only 13.0 tok/s. The feature shipped with SGLang v0.5.23 and supports quantization formats including bf16, FP8, GPTQ, AWQ, and NVFP4. Limits: single GPU only for now, with no speculative decoding or tensor and expert parallelism yet. For the full self-hosting math, see Is SGLang Worth Self-Hosting?.

Four pitfalls to see first

First, prefill has to read almost every expert, so the first token is very slow on the disk tier — a long prompt on DeepSeek-V4-Flash waits about 8.9 seconds. Second, once concurrency grows, steps split into waves; beyond K divided by top_k concurrent requests, speed drops noticeably, so this is first and foremost a single-user setup. Third, the table's speeds are single-request measurements, not multi-user serving numbers. Fourth, host memory and the PCIe link are the bottleneck — a laptop on PCIe 4.0 x8 is slower than a desktop, so work out your memory and link before starting. It fits people running large models locally on their own, or anyone who wants to hand VRAM over to longer context; it does not fit high-concurrency online serving, or anyone running only a 7B-class model, which is faster kept fully in VRAM. Still choosing between frameworks? See How to Choose an Open-Source Inference Framework.

Recommended Tools

More