2024-09-09 20:48:28 -07:00
SGLang Documentation
2025-02-19 19:15:44 +00:00
====================
2024-07-28 16:50:31 +10:00
2024-09-09 20:48:28 -07:00
SGLang is a fast serving framework for large language models and vision language models.
It makes your interaction with models faster and more controllable by co-designing the backend runtime and frontend language.
The core features include:
2024-07-28 16:50:31 +10:00
2025-08-08 19:56:50 -07:00
- **Fast Backend Runtime** : Provides efficient serving with RadixAttention for prefix caching, zero-overhead CPU scheduler, prefill-decode disaggregation, speculative decoding, continuous batching, paged attention, tensor/pipeline/expert/data parallelism, structured outputs, chunked prefill, quantization (FP4/FP8/INT4/AWQ/GPTQ), and multi-lora batching.
2024-09-09 20:48:28 -07:00
- **Flexible Frontend Language** : Offers an intuitive interface for programming LLM applications, including chained generation calls, advanced prompting, control flow, multi-modal inputs, parallelism, and external interactions.
2025-08-08 19:56:50 -07:00
- **Extensive Model Support** : Supports a wide range of generative models (Llama, Qwen, DeepSeek, Kimi, GPT, Gemma, Mistral, etc.), embedding models (e5-mistral, gte, mcdse) and reward models (Skywork), with easy extensibility for integrating new models.
- **Active Community** : SGLang is open-source and backed by an active community with wide industry adoption.
2024-07-28 16:50:31 +10:00
2024-09-10 10:09:13 +08:00
.. toctree ::
:maxdepth: 1
2025-08-10 19:49:45 -07:00
:caption: Get Started
2024-09-10 10:09:13 +08:00
2025-08-10 19:49:45 -07:00
get_started/install.md
2024-10-25 20:48:35 -07:00
.. toctree ::
:maxdepth: 1
2025-08-10 19:49:45 -07:00
:caption: Basic Usage
2024-10-26 04:32:36 -07:00
2025-08-10 19:49:45 -07:00
basic_usage/send_request.ipynb
basic_usage/openai_api.rst
basic_usage/offline_engine_api.ipynb
basic_usage/native_api.ipynb
basic_usage/sampling_params.md
basic_usage/deepseek.md
basic_usage/gpt_oss.md
basic_usage/llama4.md
2025-05-25 19:04:34 +02:00
.. toctree ::
:maxdepth: 1
2025-08-10 19:49:45 -07:00
:caption: Advanced Features
2025-05-25 19:04:34 +02:00
2025-08-10 19:49:45 -07:00
advanced_features/server_arguments.md
advanced_features/hyperparameter_tuning.md
advanced_features/speculative_decoding.ipynb
advanced_features/structured_outputs.ipynb
advanced_features/structured_outputs_for_reasoning_models.ipynb
advanced_features/function_calling.ipynb
advanced_features/separate_reasoning.ipynb
advanced_features/quantization.md
advanced_features/lora.ipynb
advanced_features/pd_disaggregation.md
advanced_features/vlm_query.ipynb
advanced_features/router.md
advanced_features/observability.md
advanced_features/attention_backend.md
2025-02-19 15:44:30 -08:00
2025-04-11 21:47:47 +05:30
.. toctree ::
:maxdepth: 1
:caption: Supported Models
supported_models/generative_models.md
2025-05-14 23:13:13 +08:00
supported_models/multimodal_language_models.md
2025-04-11 21:47:47 +05:30
supported_models/embedding_models.md
supported_models/reward_models.md
2025-08-10 19:49:45 -07:00
supported_models/rerank_models.md
2025-04-11 21:47:47 +05:30
supported_models/support_new_models.md
2025-06-04 06:05:29 +02:00
supported_models/transformers_fallback.md
2025-08-10 19:49:45 -07:00
supported_models/modelscope.md
2025-04-11 21:47:47 +05:30
2025-02-19 15:44:30 -08:00
.. toctree ::
:maxdepth: 1
2025-08-10 19:49:45 -07:00
:caption: Hardware Platforms
2025-02-19 15:44:30 -08:00
2025-08-10 19:49:45 -07:00
platforms/amd_gpu.md
platforms/blackwell_gpu.md
platforms/cpu_server.md
platforms/tpu.md
platforms/nvidia_jetson.md
platforms/ascend_npu.md
2024-10-25 20:48:35 -07:00
.. toctree ::
:maxdepth: 1
2025-08-10 19:49:45 -07:00
:caption: Developer Guide
2024-10-26 04:32:36 -07:00
2025-08-10 19:49:45 -07:00
developer_guide/contribution_guide.md
developer_guide/development_guide_using_docker.md
developer_guide/benchmark_and_profiling.md
2025-08-27 09:30:57 +08:00
developer_guide/bench_serving.md
2024-09-10 10:09:13 +08:00
2024-12-04 15:41:22 -08:00
.. toctree ::
:maxdepth: 1
2025-08-10 19:49:45 -07:00
:caption: References
references/faq.md
references/environment_variables.md
references/production_metrics.md
2025-08-10 21:05:18 -07:00
references/multi_node_deployment/multi_node_index.rst
2025-08-10 19:49:45 -07:00
references/custom_chat_template.md
references/frontend/frontend_index.rst
references/learn_more.md