index.rst 5.02 KB
Newer Older
Woosuk Kwon's avatar
Woosuk Kwon committed
1
2
Welcome to vLLM!
================
Woosuk Kwon's avatar
Woosuk Kwon committed
3

Zhuohan Li's avatar
Zhuohan Li committed
4
5
6
7
8
9
10
11
12
13
14
15
16
17
.. figure:: ./assets/logos/vllm-logo-text-light.png
  :width: 60%
  :align: center
  :alt: vLLM
  :class: no-scaled-link

.. raw:: html

   <p style="text-align:center">
   <strong>Easy, fast, and cheap LLM serving for everyone
   </strong>
   </p>

   <p style="text-align:center">
Woosuk Kwon's avatar
Woosuk Kwon committed
18
19
20
21
   <script async defer src="https://buttons.github.io/buttons.js"></script>
   <a class="github-button" href="https://github.com/vllm-project/vllm" data-show-count="true" data-size="large" aria-label="Star">Star</a>
   <a class="github-button" href="https://github.com/vllm-project/vllm/subscription" data-icon="octicon-eye" data-size="large" aria-label="Watch">Watch</a>
   <a class="github-button" href="https://github.com/vllm-project/vllm/fork" data-icon="octicon-repo-forked" data-size="large" aria-label="Fork">Fork</a>
Zhuohan Li's avatar
Zhuohan Li committed
22
23
24
25
   </p>



Woosuk Kwon's avatar
Woosuk Kwon committed
26
vLLM is a fast and easy-to-use library for LLM inference and serving.
Zhuohan Li's avatar
Zhuohan Li committed
27
28
29
30
31

vLLM is fast with:

* State-of-the-art serving throughput
* Efficient management of attention key and value memory with **PagedAttention**
32
* Continuous batching of incoming requests
33
* Fast model execution with CUDA/HIP graph
Simon Mo's avatar
Simon Mo committed
34
35
36
37
* Quantization: `GPTQ <https://arxiv.org/abs/2210.17323>`_, `AWQ <https://arxiv.org/abs/2306.00978>`_, INT4, INT8, and FP8
* Optimized CUDA kernels, including integration with FlashAttention and FlashInfer.
* Speculative decoding
* Chunked prefill
Zhuohan Li's avatar
Zhuohan Li committed
38
39
40
41
42

vLLM is flexible and easy to use with:

* Seamless integration with popular HuggingFace models
* High-throughput serving with various decoding algorithms, including *parallel sampling*, *beam search*, and more
43
* Tensor parallelism and pipeline parallelism support for distributed inference
Zhuohan Li's avatar
Zhuohan Li committed
44
45
* Streaming outputs
* OpenAI-compatible API server
46
* Support NVIDIA GPUs, AMD CPUs and GPUs, Intel CPUs, Gaudi® accelerators and GPUs, PowerPC CPUs, TPU, and AWS Trainium and Inferentia Accelerators.
Simon Mo's avatar
Simon Mo committed
47
48
* Prefix caching support
* Multi-lora support
49

50
51
52
For more information, check out the following:

* `vLLM announcing blog post <https://vllm.ai>`_ (intro to PagedAttention)
Woosuk Kwon's avatar
Woosuk Kwon committed
53
* `vLLM paper <https://arxiv.org/abs/2309.06180>`_ (SOSP 2023)
54
* `How continuous batching enables 23x throughput in LLM inference while reducing p50 latency <https://www.anyscale.com/blog/continuous-batching-llm-inference>`_ by Cade Daniel et al.
55
* :ref:`vLLM Meetups <meetups>`.
56

57

Woosuk Kwon's avatar
Woosuk Kwon committed
58
59
60
61
62
63
64
65
Documentation
-------------

.. toctree::
   :maxdepth: 1
   :caption: Getting Started

   getting_started/installation
66
   getting_started/amd-installation
67
   getting_started/openvino-installation
68
   getting_started/cpu-installation
69
   getting_started/gaudi-installation
70
   getting_started/arm-installation
71
72
   getting_started/neuron-installation
   getting_started/tpu-installation
73
   getting_started/xpu-installation
Woosuk Kwon's avatar
Woosuk Kwon committed
74
   getting_started/quickstart
youkaichao's avatar
youkaichao committed
75
   getting_started/debugging
76
   getting_started/examples/examples_index
Woosuk Kwon's avatar
Woosuk Kwon committed
77

78
79
80
81
.. toctree::
   :maxdepth: 1
   :caption: Serving

82
   serving/openai_compatible_server
Stephen Krider's avatar
Stephen Krider committed
83
   serving/deploying_with_docker
84
   serving/deploying_with_k8s
85
   serving/deploying_with_helm
86
   serving/deploying_with_nginx
87
   serving/distributed_serving
88
   serving/metrics
89
   serving/integrations
90
   serving/tensorizer
91

Woosuk Kwon's avatar
Woosuk Kwon committed
92
93
94
95
96
.. toctree::
   :maxdepth: 1
   :caption: Models

   models/supported_models
97
98
   models/generative_models
   models/pooling_models
Woosuk Kwon's avatar
Woosuk Kwon committed
99
   models/adding_model
100
   models/enabling_multimodal_inputs
101
102
103
104
105
106
107

.. toctree::
   :maxdepth: 1
   :caption: Usage

   usage/lora
   usage/multimodal_inputs
108
   usage/tool_calling
109
110
111
112
113
114
115
116
   usage/structured_outputs
   usage/spec_decode
   usage/compatibility_matrix
   usage/performance
   usage/faq
   usage/engine_args
   usage/env_vars
   usage/usage_stats
117
   usage/disagg_prefill
118
119
120
121
122

.. toctree::
   :maxdepth: 1
   :caption: Quantization

123
   quantization/supported_hardware
124
   quantization/auto_awq
125
   quantization/bnb
126
   quantization/gguf
127
   quantization/int8
128
   quantization/fp8
129
130
   quantization/fp8_e5m2_kvcache
   quantization/fp8_e4m3_kvcache
131
132

.. toctree::
133
   :maxdepth: 1
134
135
136
137
138
   :caption: Automatic Prefix Caching

   automatic_prefix_caching/apc
   automatic_prefix_caching/details

139
140
.. toctree::
   :maxdepth: 1
141
   :caption: Performance
142

143
   performance/benchmarks
144

145
146
147
148
149
150
151
152
153
154
155
.. Community: User community resources

.. toctree::
   :maxdepth: 1
   :caption: Community

   community/meetups
   community/sponsors

.. API Documentation: API reference aimed at vllm library usage

156
.. toctree::
157
   :maxdepth: 2
158
   :caption: API Documentation
159

160
   dev/sampling_params
161
   dev/pooling_params
162
   dev/offline_inference/offline_index
163
   dev/engine/engine_index
164
165

.. Design: docs about vLLM internals
166

167
.. toctree::
168
169
   :maxdepth: 2
   :caption: Design
170

171
   design/arch_overview
172
   design/huggingface_integration
173
   design/plugin_system
174
175
176
   design/input_processing/model_inputs_index
   design/kernel/paged_attention
   design/multimodal/multimodal_index
177
   design/multiprocessing
178

179
.. For Developers: contributing to the vLLM project
180
181
182

.. toctree::
   :maxdepth: 2
183
   :caption: For Developers
184
185
186
187

   contributing/overview
   contributing/profiling/profiling_index
   contributing/dockerfile/dockerfile
188

189
190
191
192
193
Indices and tables
==================

* :ref:`genindex`
* :ref:`modindex`