sgl-project/sglang
SGLang is a high-performance serving framework for large language models and multimodal models.
What it solves
SGLang provides a high-performance inference framework designed to speed up the serving of large language models (LLMs), vision-language models, and diffusion models. It specifically targets the bottlenecks of agentic workloads, large-scale serving, and reinforcement learning (RL) rollouts, where efficiency and throughput are critical.
How it works
SGLang operates as an optimized inference engine that supports a vast array of hardware platforms, including NVIDIA, AMD, Google TPU, Intel, Apple Silicon, and Huawei Ascend. It includes a built-in image and video generation engine (SGLang Diffusion) and integrates with various training frameworks for RL rollouts and orchestration tools for scaling and routing.
Who it’s for
This framework is intended for AI researchers, developers, and enterprises deploying production-grade LLMs and multimodal models who need high throughput and broad hardware compatibility.
Highlights
- Broad hardware support across GPUs, TPUs, NPUs, and CPUs from multiple vendors.
- Optimized for agentic workloads and RL rollouts.
- Built-in support for image and video generation via SGLang Diffusion.
- Integration with the wider SGL Ecosystem, including speculative decoding (SpecForge) and audio serving (SGLang Omni).
Related
- Project
- Project
- Project
- Project
- Dispatch