NIM beats stock SGLang by 31% at 8 concurrency—just by raising KV cache memory to 0.92

NVIDIAAI · x · 2026-12-05

Benjamin Marie benchmarked NVIDIA NIM 2.1.5 vs plain SGLang 0.5.21 running Gemma 4 31B NVFP4 on one RTX PRO 6000. Single-request speed was identical (35 tok/s), but NIM raised KV cache capacity from 123K to 160K tokens, served 128K-token prompts that stock SGLang rejected, and lifted 8-concurrency throughput from 118 to 154 tok/s (+31%). The secret is just mem-fraction-static 0.92 vs SGLang's heuristic 0.785, which leaves 17GB of VRAM unused. NVIDIA acknowledged the results.

Original post →

More from Infra

Infra channel →