2025-11-24 14:28:25 +08:00
<p align="center">
<picture>
<source media="(prefers-color-scheme: dark)" src="./docs/source/logos/vllm-omni-logo-text-dark.png">
<img alt="vllm-omni" src="./docs/source/logos/vllm-omni-logo-text-dark.png" width=55%>
</picture>
</p>
<h3 align="center">
Easy, fast, and cheap omni-modality model serving for everyone
</h3>
2025-09-11 14:32:51 +08:00
2025-11-24 14:28:25 +08:00
<p align="center">
| <a href="https://vllm-omni.readthedocs.io/en/latest/"><b>Documentation</b></a> | <a href="https://tinyurl.com/vllm-omni-meeting"><b>Weekly Meeting</b></a> |
</p>
2025-09-16 16:17:10 +08:00
2025-11-24 14:28:25 +08:00
---
2025-09-16 16:17:10 +08:00
2025-11-24 14:28:25 +08:00
*Latest News* 🔥
2025-09-16 16:17:10 +08:00
2025-11-24 14:28:25 +08:00
- [2025/11] vLLM community officially released [vllm-project/vllm-omni ](https://github.com/vllm-project/vllm-omni ) in order to support omni-modality models serving.
2025-09-16 16:17:10 +08:00
2025-11-24 14:28:25 +08:00
---
2025-09-16 16:17:10 +08:00
2025-11-24 14:28:25 +08:00
## About
2025-09-16 16:17:10 +08:00
2025-11-24 14:28:25 +08:00
[vLLM ](https://github.com/vllm-project/vllm ) was originally designed to support large language models for text-based autoregressive generation tasks. vLLM-Omni extends its support for omni-modality model inference and serving:
2025-09-16 16:17:10 +08:00
2025-11-24 14:28:25 +08:00
- **Omni-modality**: Text, image, video, and audio data processing
- **Non-autoregressive Architectures**: extend the AR support of vLLM to Diffusion Transformers (DiT) and other parallel generation models
- **Heterogeneous outputs**: from traditional text generation to multimodal outputs
2025-09-16 16:17:10 +08:00
2025-11-24 14:28:25 +08:00
<p align="center">
<picture>
<img alt="vllm-omni" src="./docs/source/architecture/omni-modality model architecture.png" width=55%>
</picture>
</p>
2025-09-16 16:17:10 +08:00
2025-11-24 14:28:25 +08:00
vLLM-omni is fast with:
2025-09-16 16:17:10 +08:00
2025-11-24 14:28:25 +08:00
- Seamless AR support for efficient KV Cache management with vLLM
- Pipelined stage execution overlapping
- Fully disaggregation based on omniConnector and dynamic resource allocation across stages
2025-09-16 16:17:10 +08:00
2025-11-24 14:28:25 +08:00
vLLM-omni is flexible and easy to use with:
2025-09-16 16:17:10 +08:00
2025-11-24 14:28:25 +08:00
- Seamless integration with popular Hugging Face models
- High-throughput serving with various decoding algorithms, including *parallel sampling* , *beam search* , and more
- Tensor, pipeline, data and expert parallelism support for distributed inference
- Streaming outputs
- OpenAI-compatible API server
2025-09-16 16:17:10 +08:00
2025-11-24 14:28:25 +08:00
vLLM seamlessly supports most popular open-source models on HuggingFace, including:
- Multi-modality generation models (e.g. Qwen-image)
- Omni-modality models (e.g. Qwen-omni)
## Getting Started
Install vLLM with `pip` or [from source ](https://docs.vllm.ai/en/latest/getting_started/installation/gpu/index.html#build-wheel-from-source ):
```bash
pip install vllm
```
2025-09-16 16:17:10 +08:00
## 🛠️ Installation
2025-11-04 22:06:41 +08:00
### Environment setup
2025-10-30 17:16:25 +08:00
2025-10-30 14:37:07 +08:00
Use Docker to keep consistent basic environment (Optional, Recommended)
```bash
2025-11-05 10:46:05 +08:00
docker run --gpus all --ipc= host --network= host -v $source_dir :$container_dir --name $container_name -it nvcr.io/nvidia/pytorch:25.01-py3 bash
2025-10-30 14:37:07 +08:00
```
Set up basic uv environment
2025-10-23 15:18:13 +08:00
```bash
2025-10-30 17:18:19 +08:00
pip install uv
2025-10-23 15:18:13 +08:00
uv venv --python 3.12 --seed
source .venv/bin/activate
```
2025-11-04 22:06:41 +08:00
### Installation of vLLM (for users)
Now we build it based on vLLM v0.11.0. Please install it with command below.
```bash
uv pip install vllm == 0.11.0 --torch-backend= auto
```
### Installation of vLLM (for developers)
2025-11-05 10:46:05 +08:00
If you want to check or debug with source code of vLLM, install stable release version of vllm with 0.11.0 from source with pre-built wheel file.
2025-09-16 16:17:10 +08:00
2025-10-30 14:37:07 +08:00
```bash
git clone https://github.com/vllm-project/vllm.git
cd vllm
2025-11-04 22:06:41 +08:00
git checkout v0.11.0
2025-10-30 14:37:07 +08:00
```
Set up environment variables to get pre-built wheels. If there are internet problems, just download the whl file manually. And set VLLM_PRECOMPILED_WHEEL_LOCATION as your local absolute path of whl file.
2025-09-16 16:17:10 +08:00
```bash
2025-11-04 22:06:41 +08:00
export VLLM_PRECOMPILED_WHEEL_LOCATION = https://github.com/vllm-project/vllm/releases/download/v0.11.0/vllm-0.11.0-cp38-abi3-manylinux1_x86_64.whl
2025-10-30 14:37:07 +08:00
```
2025-11-04 22:06:41 +08:00
Install vllm with command below (If you have no existing PyTorch).
2025-10-30 14:37:07 +08:00
```bash
uv pip install --editable .
2025-09-26 15:47:55 +08:00
```
2025-10-30 17:16:25 +08:00
2025-11-04 22:06:41 +08:00
Install vllm with command below (If you already have PyTorch).
```bash
python use_existing_torch.py
uv pip install -r requirements/build.txt
uv pip install --no-build-isolation --editable .
```
2025-10-30 17:16:25 +08:00
### Installation of vLLM-omni
2025-10-25 12:24:05 +08:00
Install additional requirements for vllm-omni
2025-10-25 12:09:19 +08:00
```bash
2025-10-30 17:16:25 +08:00
git clone https://github.com/vllm-project/vllm-omni.git
cd vllm_omni
2025-11-15 21:45:43 +08:00
uv pip install -e .
2025-10-25 12:09:19 +08:00
```
2025-09-26 15:47:55 +08:00
2025-11-24 14:28:25 +08:00
2025-10-23 15:18:13 +08:00
## Run examples (Qwen2.5-omni)
2025-09-26 15:47:55 +08:00
2025-11-17 14:44:10 +08:00
Please check the folder of [examples ](examples )
2025-09-26 15:47:55 +08:00
2025-11-24 14:28:25 +08:00
## Contributing
2025-09-26 15:47:55 +08:00
2025-11-24 14:28:25 +08:00
We welcome and value any contributions and collaborations.
Please check out [Contributing to vLLM-omni ](https://docs.vllm.ai/en/latest/contributing/index.html ) for how to get involved.
## Weekly Meeting
- vLLM Omni Weekly Meeting: https://tinyurl.com/vllm-omni-meeting
- Wednesday, 11:30 - 12:30 (UTC+8, [Convert to your timezone ](https://dateful.com/convert/gmt8?t=15 ))
## License
Apache License 2.0, as found in the [LICENSE ](./LICENSE ) file.