"vscode:/vscode.git/clone" did not exist on "5c213d2899f5a2d439c8d771a0abc156a5412a2b"
index.rst 3.4 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
Zhuohan Li's avatar
Zhuohan Li committed
34
* Quantization: `GPTQ <https://arxiv.org/abs/2210.17323>`_, `AWQ <https://arxiv.org/abs/2306.00978>`_, `SqueezeLLM <https://arxiv.org/abs/2306.07629>`_, FP8 KV Cache
Zhuohan Li's avatar
Zhuohan Li committed
35
36
37
38
39
40
41
42
43
* Optimized CUDA kernels

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
* Tensor parallelism support for distributed inference
* Streaming outputs
* OpenAI-compatible API server
44
* Support NVIDIA GPUs and AMD GPUs
Zhuohan Li's avatar
Zhuohan Li committed
45
46
* (Experimental) Prefix caching support
* (Experimental) Multi-lora support
47

48
49
50
For more information, check out the following:

* `vLLM announcing blog post <https://vllm.ai>`_ (intro to PagedAttention)
Woosuk Kwon's avatar
Woosuk Kwon committed
51
* `vLLM paper <https://arxiv.org/abs/2309.06180>`_ (SOSP 2023)
52
* `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.
53
* :ref:`vLLM Meetups <meetups>`.
54

55

Zhuohan Li's avatar
Zhuohan Li committed
56

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

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

   getting_started/installation
65
   getting_started/amd-installation
66
   getting_started/neuron-installation
67
   getting_started/cpu-installation
Woosuk Kwon's avatar
Woosuk Kwon committed
68
   getting_started/quickstart
69
   getting_started/examples/examples_index
Woosuk Kwon's avatar
Woosuk Kwon committed
70

71
72
73
74
75
76
77
.. toctree::
   :maxdepth: 1
   :caption: Offline Inference

   offline_inference/llm
   offline_inference/sampling_params

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/distributed_serving
85
   serving/metrics
86
   serving/env_vars
yhu422's avatar
yhu422 committed
87
   serving/usage_stats
88
   serving/integrations
89

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

   models/supported_models
   models/adding_model
96
   models/engine_args
97
   models/lora
98
   models/performance
99
100
101
102
103

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

104
   quantization/auto_awq
105
106
   quantization/fp8_e5m2_kvcache
   quantization/fp8_e4m3_kvcache
107
108
109
110
111
112

.. toctree::
   :maxdepth: 2
   :caption: Developer Documentation

   dev/engine/engine_index
113
   dev/kernel/paged_attention
114
   dev/dockerfile/dockerfile
115

116
117
118
119
120
.. toctree::
   :maxdepth: 2
   :caption: Community

   community/meetups
121
   community/sponsors
122

123
124
125
126
127
Indices and tables
==================

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