Skip to main content
GPU RADIXCACHE COMPUTE // RADIXATTENTION VRAM TERMINAL KV DTYPE: FP8_E5M2 | VULTR $300 GPU CREDIT | XIAOMI MIMO API | BASELINE 2026-10-17
SGLangVRAM
SGLangVRAM Affiliate Notice: Outbound /go/ links marked rel="sponsored" may earn a partner commission at zero added cost (Affiliate Policy).
SGLang Presets

32,768-Token RAG & Document Synthesis SGLang Preset

Prevent KV pool exhaustion when long retrieval contexts and multi-turn document chats hit 16k-32k tokens per request.

32k Context · --chunked-prefill-size 4096 · fp8_e5m2 KV

32,768-Token RAG & Document Synthesis SGLang Preset
Telemetry baseline verified 2026-10-17 by RadixCache Compute.

Why Chunked Prefill Is Non-Negotiable at 32k

Prefilling a 32,768-token document in one forward pass allocates multi-gigabyte temporary attention tensors. Chunking at 4096 caps peak memory while interleaving active decode users.

Tuning --max-running-requests

Bounding max_running_requests prevents SGLang from admitting too many 32k requests simultaneously and thrashing cached document prefixes.

Measured Thresholds & SGLang Flag Matrix

Flag / ParameterRecommended ValueVRAM Impact
Target Context Window32,768 tokensHigh KV pressure per concurrent user
--kv-cache-dtypefp8_e5m2Cuts 32k KV footprint nearly in half
--chunked-prefill-size40968 prefill slices avoid 10 GB logit spike
--max-running-requests16 - 24Protects Radix tree from constant eviction
32k Context · --chunked-prefill-size 4096 · fp8_e5m2 KV Claim $300 GPU CreditXiaomi MiMo API