SGLang
SGLang (Structured Generation Language) is an open-source inference framework for large language models, designed to improve both execution efficiency and programming flexibility in LLM serving. Key features include efficient KV cache reuse via RadixAttention, support for structured output constraints such as JSON mode, and a concise front-end programming interface for constructing complex multi-step inference pipelines. SGLang is compatible with multiple mainstream model architectures and GPU hardware, suitable for high-performance inference deployment in both academic research and production environments.
Core Facts
SGLang's core innovation is the RadixAttention technology, which achieves automatic KV Cache reuse through a prefix tree structure.
SGLang is a high-performance framework designed for large language model inference, developed by researchers from UC Berkeley and other institutions.
The vLLM team integrated the new kernels open-sourced by DeepSeek into the inference engine, further improving underlying computational efficiency.
Timeline (last 90 days)
Common open-source inference engines include vLLM, SGLang, TensorRT-LLM, Ollama, and others, which differ in concurrent throughput, batching strategies, quantization format support, and hardware adaptation scope.
Libtt demonstrates running capability on SGLang, TorchTitan, and Miles, covering model serving, fine-tuning, and reinforcement learning scenarios, respectively.
Third-party testing shows that under low concurrency (below 16 streams) DeepInfer's single-user speed is about 0.6 times that of SGLang and vLLM, because its fused expert kernel still has fixed per-step overhead under a single request.
Compared with SGLang with HiCache, TideCache completes up to 2.04x more agent turns in agent scenarios.
Compared with SGLang with HiCache, TideCache reduces overall P50 per-token latency by 20%–59%.
Compared with SGLang with HiCache, TideCache improves P50 time to first token (TTFT) by 1.40–3.05x in agent scenarios.
TideCache is implemented in SGLang and evaluated on the GB300 and GH200 platforms across seven model/platform configurations.
SGLang's HiCache supports tiered caching but lacks fine-grained, transparent management of heterogeneous cache components.
NarrowSpec validated the effectiveness of narrow drafts on two target models, Qwen3-8B (NVFP4 quantized) and GPT-OSS-20B (MXFP4 quantized), with SGLang as the runtime environment and hardware including B200 and DGX Spark (GB10).
The SGLang router component (sgl-router) released the tag router-v0.1.0, applied by developer ShangmingCai, corresponding to commit 7fed639.
40 more timeline events
All Facts (20)
SGLang's core innovation is the RadixAttention technology, which achieves automatic KV Cache reuse through a prefix tree structure.
85%VerifiedSGLang is a high-performance framework designed for large language model inference, developed by researchers from UC Berkeley and other institutions.
80%VerifiedThe vLLM team integrated the new kernels open-sourced by DeepSeek into the inference engine, further improving underlying computational efficiency.
80%VerifiedSGLang's RadixAttention technology can automatically reuse KV Cache across multiple requests, managing shared prefixes through a radix tree structure to reduce redundant computation.
80%VerifiedThe header of DeepInfer's LLM class file states 'Derived from vLLM, Modified by DeepSeek', indicating it is built on vLLM and also references SGLang and TensorRT-LLM.
75%VerifiedAn inference framework is a software system dedicated to efficiently running already-trained large models, with core tasks including computation graph optimization, operator fusion, memory management, batching and scheduling, and quantized inference.
75%VerifiedThe inference stack is the software layer between hardware and business applications in large model deployment, covering modules such as model loading and weight sharding, KV Cache management, continuous batching, quantized inference, and request scheduling.
75%VerifiedSGLang (Structured Generation Language) is a high-performance serving framework for large language models and vision-language models.
75%VerifiedSGLang's core innovation RadixAttention organizes the KV cache as a prefix tree structure, enabling multiple requests with a common prefix to share the cache.
75%VerifiedContext caching technology relies on the KV Cache mechanism at its core and is one of the key optimizations in mainstream inference frameworks such as vLLM and TensorRT-LLM
75%VerifiedSGLang achieves efficient KV Cache reuse through innovations such as RadixAttention, and can deliver several-fold throughput improvements when handling complex multi-turn dialogue and Agent Loop scenarios.
75%VerifiedSGLang is a high-performance large model inference framework jointly developed by academia and industry, with RadixAttention as its core mechanism.
65%VerifiedDeepGEMM is a high-performance matrix multiplication library designed by DeepSeek specifically for its MoE models, supporting low-precision formats such as bf16 and fp8.
65%UnverifiedSGLang由斯坦福团队开发,专注于结构化输出和复杂推理链的高效执行
90%UnverifiedSGLang由UC Berkeley LMSYS团队开发,于2024年初开源
85%UnverifiedNIXL是SGLang用于Prefill-Decode分离部署的关键通信组件,负责在Prefill节点和Decode节点之间传输KV Cache状态
85%UnverifiedSGLang由UC Berkeley团队主导开发,是目前与vLLM并列的两大主流开源LLM推理框架之一
85%UnverifiedSGLang通过优化的张量传输协议和零拷贝技术降低KV Cache跨节点迁移延迟
85%UnverifiedSGLang的RadixAttention对于共享系统提示(system prompt)的场景可带来数倍吞吐量提升
75%UnverifiedSGLang is an open-source framework for large model inference and serving, whose core features include RadixAttention (radix-tree-managed KV cache prefix reuse), multi-stream batching and scheduling, and tensor parallelism and quantization support, making it suited to multi-turn dialogue and Agent scenarios with high cache hit rates.
70%