The SGLang maintainers’ 8 GB laptop ran a 48 GB Qwen checkpoint with NVMe backing and took over four seconds to start answering. SGLang Paged Experts hardware requirements depend on the checkpoint, context length, and number of active requests.
SGLang Paged Experts hardware requirements by configuration
The SGLang team ran Qwen3-Next-80B-A3B NVFP4 on both machines below. For interactive use with this checkpoint, start with the RAM-backed desktop as a reference. The laptop is a tested option if you can wait several seconds for a prompt of this length.
| Tested setup | GPU and link | Host RAM | Expert backing | Decode | Median time to first token (~1,470 input tokens) |
|---|---|---|---|---|---|
| Linux desktop | RTX 5070 Ti, 16 GB VRAM, PCIe 5.0 ×16 | 62 GB usable | 40.5 GiB pinned | 116.2 tok/s | 687 ms |
| WSL2 laptop | RTX 4070 Laptop GPU, 8 GB VRAM, PCIe 4.0 ×8 | 54 GB visible | 18 GiB pinned + NVMe | 16.2–16.5 tok/s | 4.56–4.72 s |
Decode rates are single-request results. Ranges reflect repeat runs. The GPU, PCIe link, and resident slots per layer (99 of 512 on the desktop, 17 on the laptop) all differ across the two systems. LMSYS maintainer benchmarks
What must fit in VRAM, pinned RAM, and NVMe
SGLang Paged Experts fetches routed mixture-of-experts (MoE) weights as needed and executes them on one GPU. Check whether the specific checkpoint and MoE runner support paging. Runtime SSD paging also requires an x86-64 host and a supported memory-mapped checkpoint with one tensor per expert. SGLang compatibility and sizing docs
| Resource | What to budget |
|---|---|
| VRAM | Non-paged weights, resident expert slots, KV cache for active sequences, and prompt-processing workspace. A larger KV cache leaves fewer expert slots under the same static budget. |
| Pinned host RAM | The full routed-expert store on the RAM-only path. Leave ordinary RAM for the OS and other allocations. The --paged-experts-host-memory-gb cap uses GiB. CUDA could pin roughly half the RAM visible on the tested WSL2 laptop. |
| NVMe | Space for the checkpoint and the repacked expert files. Each runtime disk-tier layer file holds all its experts, including those cached in RAM. The build checks for 8 GiB of free-space headroom. |
SGLang server arguments · Disk-tier implementation
For the laptop checkpoint, the disk-tier PR reports 40.7 GiB of repacked expert files. Budget about 49 GiB free on the cache volume after accounting for any checkpoint files on that volume. Compatible memory-mapped loaders can avoid a second full expert copy at startup. Stacked tensors such as gpt-oss experts can still require that copy. Disk-tier PR · Startup memory PR
Why a long prompt can wait seconds before decoding
SGLang Paged Experts can reuse resident weights during generation. Prefill, when the server processes the input prompt, can touch nearly every expert. With disk backing, a later chunk can reread experts evicted from both GPU and pinned host caches. SGLang implementation notes
On the desktop, the 167 GB DeepSeek-V4-Flash-0731 checkpoint used 45 GiB of pinned RAM plus NVMe. It generated at 13.0 tok/s and took 8.88–8.91 s to produce the first token for about 1,470 input tokens. An earlier profile on the desktop’s PCIe 5.0 NVMe recorded about 93 GB of prefill reads for a roughly 1,500-token prompt. LMSYS benchmark · Disk-tier profiling
What to test before buying hardware
With SGLang Paged Experts, size the machine for your longest routine prompt and the number of requests you actually run together. More active sessions can increase both KV-cache demand and the number of distinct experts needed in one decode step. SGLang sizing docs
“How does decode hold up with 3 or 4 sessions hitting it at once?” @rimomaguiar, replying to the 113 tok/s desktop FP8 result
The 113 tok/s result comes from the single-request launch benchmark. In an earlier RAM-backed laptop test using Qwen3-30B-A3B GPTQ Int4 and 26 of 128 slots per layer, SGLang measured 30.6–32.9 tok/s during single-stream decode and 11–12 aggregate output tok/s at four concurrent requests. With 26 slots and eight experts selected per token, only three active requests fit within the full decode CUDA graph limit. Launch benchmarks · Earlier implementation benchmark
- Check startup. Enable
--enable-paged-expertswith the documented runner. Set your target context and request count, leave residency onauto, and record the resident slots and KV capacity from the startup log. - Time real prompts. Send a short chat prompt and a long prompt with different prefixes. Record first-token latency and decode speed separately. Repeat at your intended concurrency.
- Upgrade the constrained tier. If disk paging makes prompts too slow, try a smaller compatible quantization or add enough pinnable RAM to hold its experts. If your context or request count cannot fit on the GPU, lower those settings where practical or choose more VRAM.