Skip to main content

A high-throughput and memory-efficient inference and serving engine for LLMs

Project description

vLLM

Easy, fast, and cheap LLM serving for everyone

| Documentation | Blog | Paper | Discord |


Ray Summit CPF is Open (June 4th to June 20th)!

There will be a track for vLLM at the Ray Summit (09/30-10/02, SF) this year! If you have cool projects related to vLLM or LLM inference, we would love to see your proposals. This will be a great chance for everyone in the community to get together and learn. Please submit your proposal here


Latest News 🔥

  • [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 in SF! Please find the meetup slides here.
  • [2024/01] Added ROCm 6.0 support to vLLM.
  • [2023/12] Added ROCm 5.7 support to vLLM.
  • [2023/10] We hosted the first vLLM meetup in SF! Please find the meetup slides here.
  • [2023/09] We created our Discord server! Join us to discuss vLLM and LLM serving! We will also post the latest announcements and updates there.
  • [2023/09] We released our PagedAttention paper on arXiv!
  • [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/07] Added support for LLaMA-2! You can run and serve 7B/13B/70B LLaMA-2s on vLLM with a single command!
  • [2023/06] Serving vLLM On any Cloud with SkyPilot. Check out a 1-click example to start the vLLM demo, and the blog post for the story behind vLLM development on the clouds.
  • [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.

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
  • Quantization: GPTQ, AWQ, SqueezeLLM, FP8 KV Cache
  • Optimized CUDA kernels

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 support for distributed inference
  • Streaming outputs
  • OpenAI-compatible API server
  • Support NVIDIA GPUs, AMD GPUs, and Intel CPUs
  • (Experimental) Prefix caching support
  • (Experimental) 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)
  • 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.md 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!

  • a16z
  • AMD
  • Anyscale
  • AWS
  • Crusoe Cloud
  • Databricks
  • DeepInfra
  • Dropbox
  • Lambda Lab
  • NVIDIA
  • Replicate
  • Roblox
  • RunPod
  • Sequoia Capital
  • Trainy
  • UC Berkeley
  • UC San Diego

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}
}

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

vllm-0.5.0.post1.tar.gz (743.2 kB view details)

Uploaded Source

Built Distributions

vllm-0.5.0.post1-cp311-cp311-manylinux1_x86_64.whl (130.2 MB view details)

Uploaded CPython 3.11

vllm-0.5.0.post1-cp310-cp310-manylinux1_x86_64.whl (130.2 MB view details)

Uploaded CPython 3.10

vllm-0.5.0.post1-cp39-cp39-manylinux1_x86_64.whl (130.2 MB view details)

Uploaded CPython 3.9

vllm-0.5.0.post1-cp38-cp38-manylinux1_x86_64.whl (130.2 MB view details)

Uploaded CPython 3.8

File details

Details for the file vllm-0.5.0.post1.tar.gz.

File metadata

  • Download URL: vllm-0.5.0.post1.tar.gz
  • Upload date:
  • Size: 743.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.10.12

File hashes

Hashes for vllm-0.5.0.post1.tar.gz
Algorithm Hash digest
SHA256 e4a19889d95f6896ca89655f64ffc9361f44e66a8e9f086748aa989031571a23
MD5 f23f6e3b21b7a1f59c413255090619ad
BLAKE2b-256 5e0e8dea24dad65fe9ab4ba310794a0a7742fcf21dd32c0248e428098b61203e

See more details on using hashes here.

File details

Details for the file vllm-0.5.0.post1-cp311-cp311-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for vllm-0.5.0.post1-cp311-cp311-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 fe6e6c84e6653444904cb4a8c37f394fcfa3cff1b19ffbcbc5d3fc5f56b2129b
MD5 fe6272b367b81e63028f55c79c1a1086
BLAKE2b-256 f97d902bf2e1649d2a40e25ca391823232ab7f753123231adb19e8e2b7c9299f

See more details on using hashes here.

File details

Details for the file vllm-0.5.0.post1-cp310-cp310-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for vllm-0.5.0.post1-cp310-cp310-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 88e22d26aaeb8f721622f2544dec66aaba86d4658097b12d95aa83332291fc3b
MD5 ef58f17cee96dfd9c74d915300115355
BLAKE2b-256 74135c7eee8328f6bed67df434dfaa0d89def403e574c85af87c78c354adabc0

See more details on using hashes here.

File details

Details for the file vllm-0.5.0.post1-cp39-cp39-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for vllm-0.5.0.post1-cp39-cp39-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 b17ffe3a99eeebdad536383b9cd21e0a23ee7759646574b97cf0f68b8f4e5ebf
MD5 eb03e185bdadeec36a358d3fc501f841
BLAKE2b-256 3636370fd35bf743c337277cb32ced91af4a3992b96037a2db814312d18ab2e8

See more details on using hashes here.

File details

Details for the file vllm-0.5.0.post1-cp38-cp38-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for vllm-0.5.0.post1-cp38-cp38-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 331aec6e79174a7cf1d9f87d84c6743df5f6a3a1a2d82ca504e4f4e8cc518716
MD5 656dac75a3000d5e80631a1bf6f1c79c
BLAKE2b-256 135187abf5c458b08dc47ac73863d65a724f21ba5034808010d5acb079923edc

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page