Files
sglang/docs/index.rst

68 lines
2.3 KiB
ReStructuredText
Raw Normal View History

2024-09-09 20:48:28 -07:00
SGLang Documentation
====================
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-03-17 08:22:42 -07:00
- **Fast Backend Runtime**: Provides efficient serving with RadixAttention for prefix caching, zero-overhead CPU scheduler, continuous batching, token attention (paged attention), speculative decoding, tensor parallelism, chunked prefill, structured outputs, and quantization (FP8/INT4/AWQ/GPTQ).
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-03-17 08:22:42 -07:00
- **Extensive Model Support**: Supports a wide range of generative models (Llama, Gemma, Mistral, QWen, DeepSeek, LLaVA, 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 industry adoption.
2024-07-28 16:50:31 +10:00
.. toctree::
:maxdepth: 1
:caption: Installation
2024-11-01 20:42:30 -07:00
start/install.md
2024-10-25 20:48:35 -07:00
.. toctree::
:maxdepth: 1
:caption: Backend Tutorial
2024-10-26 04:32:36 -07:00
references/llama4
2025-03-11 01:14:16 -07:00
references/deepseek
backend/send_request.ipynb
backend/openai_api_completions.ipynb
backend/openai_api_vision.ipynb
2024-11-02 11:46:00 -07:00
backend/openai_api_embeddings.ipynb
backend/native_api.ipynb
2024-11-02 22:03:38 -07:00
backend/offline_engine_api.ipynb
backend/server_arguments.md
backend/sampling_params.md
backend/hyperparameter_tuning.md
backend/structured_outputs_for_reasoning_models.ipynb
.. toctree::
:maxdepth: 1
:caption: Advanced Features
backend/speculative_decoding.ipynb
backend/structured_outputs.ipynb
backend/function_calling.ipynb
backend/separate_reasoning.ipynb
backend/custom_chat_template.md
backend/quantization.md
2024-10-25 20:48:35 -07:00
.. toctree::
:maxdepth: 1
:caption: Frontend Tutorial
2024-10-26 04:32:36 -07:00
frontend/frontend.ipynb
2024-11-07 18:20:41 -08:00
frontend/choices_methods.md
.. toctree::
:maxdepth: 1
:caption: SGLang Router
router/router.md
.. toctree::
:maxdepth: 1
:caption: References
references/general
references/hardware
references/advanced_deploy
references/performance_tuning