1 parent
27f06e27fc
commit
1702033c3e
2 files changed
+21
-7
No files matched your search
@@ -38,6 +38,8 @@ vLLM-omni is built on a modular architecture that extends vLLM's core functional
|
||||
|
||||
## 🛠️ Installation
|
||||
|
||||
### Installation of vLLM
|
||||
|
||||
Use Docker to keep consistent basic environment (Optional, Recommended)
|
||||
```bash
|
||||
docker run --gpus all --ipc=host --network=host -v $source_dir:$container_dir --rm --name $container_name -it nvcr.io/nvidia/pytorch:25.01-py3 bash
|
||||
@@ -60,12 +62,16 @@ Set up environment variables to get pre-built wheels. If there are internet prob
|
||||
export VLLM_COMMIT=808a7b69df479b6b3a16181711cac7ca28a9b941
|
||||
export VLLM_PRECOMPILED_WHEEL_LOCATION=https://wheels.vllm.ai/${VLLM_COMMIT}/vllm-1.0.0.dev-cp38-abi3-manylinux1_x86_64.whl
|
||||
```
|
||||
Install vllm with commend below.
|
||||
Install vllm with command below.
|
||||
```bash
|
||||
uv pip install --editable .
|
||||
```
|
||||
|
||||
### Installation of vLLM-omni
|
||||
Install additional requirements for vllm-omni
|
||||
```bash
|
||||
git clone https://github.com/vllm-project/vllm-omni.git
|
||||
cd vllm_omni
|
||||
uv pip install -r requirements.txt
|
||||
```
|
||||
|
||||
@@ -73,8 +79,7 @@ uv pip install -r requirements.txt
|
||||
|
||||
Get into the example folder
|
||||
```bash
|
||||
cd vllm_omni
|
||||
cd examples/offline_inference/qwen2_5_omni
|
||||
cd examples/offline_inference/qwen_2_5_omni
|
||||
```
|
||||
Modify PYTHONPATH in run.sh as your path of vllm_omni. Then run.
|
||||
```bash
|
||||
|
||||
@@ -2,6 +2,8 @@
|
||||
|
||||
## 🛠️ Installation
|
||||
|
||||
### Installation of vLLM
|
||||
|
||||
Use Docker to keep consistent basic environment (Optional, Recommended)
|
||||
```bash
|
||||
docker run --gpus all --ipc=host --network=host -v $source_dir:$container_dir --rm --name $container_name -it nvcr.io/nvidia/pytorch:25.01-py3 bash
|
||||
@@ -24,17 +26,24 @@ Set up environment variables to get pre-built wheels. If there are internet prob
|
||||
export VLLM_COMMIT=808a7b69df479b6b3a16181711cac7ca28a9b941
|
||||
export VLLM_PRECOMPILED_WHEEL_LOCATION=https://wheels.vllm.ai/${VLLM_COMMIT}/vllm-1.0.0.dev-cp38-abi3-manylinux1_x86_64.whl
|
||||
```
|
||||
Install vllm with commend below.
|
||||
Install vllm with command below.
|
||||
```bash
|
||||
uv pip install --editable .
|
||||
```
|
||||
|
||||
## Run examples
|
||||
### Installation of vLLM-omni
|
||||
Install additional requirements for vllm-omni
|
||||
```bash
|
||||
git clone https://github.com/vllm-project/vllm-omni.git
|
||||
cd vllm_omni
|
||||
uv pip install -r requirements.txt
|
||||
```
|
||||
|
||||
## Run examples (Qwen2.5-omni)
|
||||
|
||||
Get into the example folder
|
||||
```bash
|
||||
cd vllm_omni
|
||||
cd examples/offline_inference/qwen2_5_omni
|
||||
cd examples/offline_inference/qwen_2_5_omni
|
||||
```
|
||||
Modify PYTHONPATH in run.sh as your path of vllm_omni. Then run.
|
||||
```bash
|
||||
|
||||
Reference in new issue
Block a user