A high-throughput and memory-efficient inference and serving engine for LLMs
Go to file
Simon Mo 9a76ef07b9 Add pandas and datasets for benchmarks 2025-06-04 06:51:59 -07:00
.buildkite [TPU] Skip hanging tests (#19115) 2025-06-04 01:43:00 -07:00
.github [Doc] Improve the Pull Request template with key components (#19086) 2025-06-03 23:44:34 +08:00
benchmarks [V1][Spec Decode][Ngram] 1.35x gain -> 1.95x gain on InstructCoder with prompt fix (#18971) 2025-06-03 15:26:33 -07:00
cmake [Misc] Add SPDX-FileCopyrightText (#19100) 2025-06-03 11:20:17 -07:00
csrc [NVIDIA] Add Cutlass MLA backend (#17625) 2025-06-03 21:40:26 -07:00
docker [Bugfix] Use cmake 3.26.1 instead of 3.26 to avoid build failure (#19019) 2025-06-03 00:16:17 -07:00
docs Add DeepSeek-R1-0528 function call chat template (#18874) 2025-06-04 13:24:18 +00:00
examples Add DeepSeek-R1-0528 function call chat template (#18874) 2025-06-04 13:24:18 +00:00
requirements Add pandas and datasets for benchmarks 2025-06-04 06:51:59 -07:00
tests [CI/Build][Bugfix] Ensure compatibility with transformers 4.52 (#18678) 2025-06-04 04:49:20 -07:00
tools [Misc] Add SPDX-FileCopyrightText (#19100) 2025-06-03 11:20:17 -07:00
vllm [CI/Build][Bugfix] Ensure compatibility with transformers 4.52 (#18678) 2025-06-04 04:49:20 -07:00
.clang-format [CI/Build] Enforce style for C++ and CUDA code with `clang-format` (#4722) 2024-05-22 07:18:41 +00:00
.dockerignore [CI/Build] remove .github from .dockerignore, add dirty repo check (#9375) 2024-10-17 10:25:06 -07:00
.gitignore [Doc] Move examples and further reorganize user guide (#18666) 2025-05-26 07:38:04 -07:00
.pre-commit-config.yaml Enable Pydantic mypy checks and convert configs to Pydantic dataclasses (#17599) 2025-05-28 12:46:04 +00:00
.readthedocs.yaml Migrate docs from Sphinx to MkDocs (#18145) 2025-05-23 02:09:53 -07:00
.shellcheckrc [CI/Build] Add shell script linting using shellcheck (#7925) 2024-11-07 18:17:29 +00:00
.yapfignore [issue templates] add some issue templates (#3412) 2024-03-14 13:16:00 -07:00
CMakeLists.txt [KERNEL] Sampler. CUDA kernel for applying repetition penalty (#18437) 2025-06-03 21:13:01 -07:00
CODE_OF_CONDUCT.md [CI/Build] Auto-fix Markdown files (#12941) 2025-02-08 04:25:15 -08:00
CONTRIBUTING.md [Doc] Reorganize user guide (#18661) 2025-05-24 07:25:33 -07:00
DCO [Doc] Add the DCO to CONTRIBUTING.md (#9803) 2024-10-30 05:22:23 +00:00
LICENSE Add Apache-2.0 license (#102) 2023-05-14 18:05:19 -07:00
MANIFEST.in Move requirements into their own directory (#12547) 2025-03-08 16:44:35 +00:00
README.md [Doc] Readme standardization (#18695) 2025-06-03 11:50:55 -07:00
RELEASE.md Add RELEASE.md (#13926) 2025-02-28 12:25:50 -08:00
SECURITY.md [Docs] Update SECURITY.md with link to our security guide (#18961) 2025-05-30 07:37:27 -07:00
find_cuda_init.py [Misc] Add SPDX-FileCopyrightText (#19100) 2025-06-03 11:20:17 -07:00
format.sh fix: tiny fix make format.sh excutable (#16015) 2025-04-03 15:18:05 +00:00
mkdocs.yaml [Doc] Avoid documenting dynamic / internal modules (#18626) 2025-05-23 09:58:02 -07:00
pyproject.toml [Bugfix] Use cmake 3.26.1 instead of 3.26 to avoid build failure (#19019) 2025-06-03 00:16:17 -07:00
setup.py [Misc] Add packages for benchmark as extra dependency (#19089) 2025-06-04 04:18:48 -07:00
use_existing_torch.py [Misc] Add SPDX-FileCopyrightText (#19100) 2025-06-03 11:20:17 -07:00

README.md

vLLM

Easy, fast, and cheap LLM serving for everyone

| Documentation | Blog | Paper | Twitter/X | User Forum | Developer Slack |


Latest News 🔥

  • [2025/05] We hosted NYC vLLM Meetup! Please find the meetup slides here.
  • [2025/05] vLLM is now a hosted project under PyTorch Foundation! Please find the announcement here.
  • [2025/04] We hosted Asia Developer Day! Please find the meetup slides from the vLLM team here.
  • [2025/01] We are excited to announce the alpha release of vLLM V1: A major architectural upgrade with 1.7x speedup! Clean code, optimized execution loop, zero-overhead prefix caching, enhanced multimodal support, and more. Please check out our blog post here.
Previous News
  • [2025/03] We hosted vLLM x Ollama Inference Night! Please find the meetup slides from the vLLM team here.
  • [2025/03] We hosted the first vLLM China Meetup! Please find the meetup slides from vLLM team here.
  • [2025/03] We hosted the East Coast vLLM Meetup! Please find the meetup slides here.
  • [2025/02] We hosted the ninth vLLM meetup with Meta! Please find the meetup slides from vLLM team here and AMD here. The slides from Meta will not be posted.
  • [2025/01] We hosted the eighth vLLM meetup with Google Cloud! Please find the meetup slides from vLLM team here, and Google Cloud team here.
  • [2024/12] vLLM joins pytorch ecosystem! Easy, Fast, and Cheap LLM Serving for Everyone!
  • [2024/11] We hosted the seventh vLLM meetup with Snowflake! Please find the meetup slides from vLLM team here, and Snowflake team here.
  • [2024/10] We have just created a developer slack (slack.vllm.ai) focusing on coordinating contributions and discussing features. Please feel free to join us there!
  • [2024/10] Ray Summit 2024 held a special track for vLLM! Please find the opening talk slides from the vLLM team here. Learn more from the talks from other vLLM contributors and users!
  • [2024/09] We hosted the sixth vLLM meetup with NVIDIA! Please find the meetup slides here.
  • [2024/07] We hosted the fifth vLLM meetup with AWS! Please find the meetup slides here.
  • [2024/07] In partnership with Meta, vLLM officially supports Llama 3.1 with FP8 quantization and pipeline parallelism! Please check out our blog post here.
  • [2024/06] We hosted the fourth vLLM meetup with Cloudflare and BentoML! Please find the meetup slides here.
  • [2024/04] We hosted the third vLLM meetup with Roblox! Please find the meetup slides here.
  • [2024/01] We hosted the second vLLM meetup with IBM! Please find the meetup slides here.
  • [2023/10] We hosted the first vLLM meetup with a16z! Please find the meetup slides here.
  • [2023/08] We would like to express our sincere gratitude to Andreessen Horowitz (a16z) for providing a generous grant to support the open-source development and research of vLLM.
  • [2023/06] We officially released vLLM! FastChat-vLLM integration has powered LMSYS Vicuna and Chatbot Arena since mid-April. Check out our blog post.

About

vLLM is a fast and easy-to-use library for LLM inference and serving.

Originally developed in the Sky Computing Lab at UC Berkeley, vLLM has evolved into a community-driven project with contributions from both academia and industry.

vLLM is fast with:

  • State-of-the-art serving throughput
  • Efficient management of attention key and value memory with PagedAttention
  • Continuous batching of incoming requests
  • Fast model execution with CUDA/HIP graph
  • Quantizations: GPTQ, AWQ, AutoRound, INT4, INT8, and FP8
  • Optimized CUDA kernels, including integration with FlashAttention and FlashInfer
  • Speculative decoding
  • Chunked prefill

Performance benchmark: We include a performance benchmark at the end of our blog post. It compares the performance of vLLM against other LLM serving engines (TensorRT-LLM, SGLang and LMDeploy). The implementation is under nightly-benchmarks folder and you can reproduce this benchmark using our one-click runnable script.

vLLM is flexible and easy to use with:

  • Seamless integration with popular Hugging Face models
  • High-throughput serving with various decoding algorithms, including parallel sampling, beam search, and more
  • Tensor parallelism and pipeline parallelism support for distributed inference
  • Streaming outputs
  • OpenAI-compatible API server
  • Support NVIDIA GPUs, AMD CPUs and GPUs, Intel CPUs and GPUs, PowerPC CPUs, TPU, and AWS Neuron
  • Prefix caching support
  • Multi-LoRA support

vLLM seamlessly supports most popular open-source models on HuggingFace, including:

  • Transformer-like LLMs (e.g., Llama)
  • Mixture-of-Expert LLMs (e.g., Mixtral, Deepseek-V2 and V3)
  • Embedding Models (e.g., E5-Mistral)
  • Multi-modal LLMs (e.g., LLaVA)

Find the full list of supported models here.

Getting Started

Install vLLM with pip or from source:

pip install vllm

Visit our documentation to learn more.

Contributing

We welcome and value any contributions and collaborations. Please check out Contributing to vLLM for how to get involved.

Sponsors

vLLM is a community project. Our compute resources for development and testing are supported by the following organizations. Thank you for your support!

Cash Donations:

  • a16z
  • Dropbox
  • Sequoia Capital
  • Skywork AI
  • ZhenFund

Compute Resources:

  • AMD
  • Anyscale
  • AWS
  • Crusoe Cloud
  • Databricks
  • DeepInfra
  • Google Cloud
  • Intel
  • Lambda Lab
  • Nebius
  • Novita AI
  • NVIDIA
  • Replicate
  • Roblox
  • RunPod
  • Trainy
  • UC Berkeley
  • UC San Diego

Slack Sponsor: Anyscale

We also have an official fundraising venue through OpenCollective. We plan to use the fund to support the development, maintenance, and adoption of vLLM.

Citation

If you use vLLM for your research, please cite our paper:

@inproceedings{kwon2023efficient,
  title={Efficient Memory Management for Large Language Model Serving with PagedAttention},
  author={Woosuk Kwon and Zhuohan Li and Siyuan Zhuang and Ying Sheng and Lianmin Zheng and Cody Hao Yu and Joseph E. Gonzalez and Hao Zhang and Ion Stoica},
  booktitle={Proceedings of the ACM SIGOPS 29th Symposium on Operating Systems Principles},
  year={2023}
}

Contact Us

Media Kit