2025-12-11 17:42:05 +08:00
# --8<-- [start:requirements]
- GPU: Validated on gfx942 (It should be supported on the AMD GPUs that are supported by vLLM.)
# --8<-- [end:requirements]
# --8<-- [start:set-up-using-python]
vLLM-Omni current recommends the steps in under setup through Docker Images.
# --8<-- [start:pre-built-wheels]
# --8<-- [end:pre-built-wheels]
# --8<-- [start:build-wheel-from-source]
# --8<-- [end:build-wheel-from-source]
2025-12-21 12:51:37 +09:00
# --8<-- [start:build-docker]
#### Build docker image
```bash
DOCKER_BUILDKIT = 1 docker build -f docker/Dockerfile.rocm -t vllm-omni-rocm .
```
#### Launch the docker image
2026-01-21 22:39:45 +08:00
##### Launch with OpenAI API Server
2025-12-21 12:51:37 +09:00
```
2026-01-21 22:39:45 +08:00
docker run --rm \
--group-add=video \
--ipc=host \
--cap-add=SYS_PTRACE \
--security-opt seccomp=unconfined \
--device /dev/kfd \
--device /dev/dri \
-v ~/.cache/huggingface:/root/.cache/huggingface \
--env "HF_TOKEN=$HF_TOKEN" \
-p 8091:8091 \
--ipc=host \
vllm-omni-rocm \
--model Qwen/Qwen3-Omni-30B-A3B-Instruct --port 8091
```
##### Launch with interactive session for development
```
docker run --rm -it \
2025-12-21 12:51:37 +09:00
--network=host \
--group-add=video \
--ipc=host \
--cap-add=SYS_PTRACE \
--security-opt seccomp=unconfined \
--device /dev/kfd \
--device /dev/dri \
-v <path/to/model>:/app/model \
2026-01-21 22:39:45 +08:00
-v ~/.cache/huggingface:/root/.cache/huggingface \
--entrypoint bash \
vllm-omni-rocm
2025-12-21 12:51:37 +09:00
```
# --8<-- [end:build-docker]
2025-12-11 17:42:05 +08:00
# --8<-- [start:pre-built-images]
2026-01-07 17:06:48 +08:00
vLLM-Omni offers an official docker image for deployment. These images are built on top of vLLM docker images and available on Docker Hub as [vllm/vllm-omni-rocm ](https://hub.docker.com/r/vllm/vllm-omni-rocm/tags ). The version of vLLM-Omni indicates which release of vLLM it is based on.
#### Launch vLLM-Omni Server
Here's an example deployment command that has been verified on 2 x MI300's:
```bash
2026-01-21 22:39:45 +08:00
docker run --rm \
2026-01-07 17:06:48 +08:00
--group-add= video \
--ipc= host \
--cap-add= SYS_PTRACE \
--security-opt seccomp = unconfined \
--device /dev/kfd \
--device /dev/dri \
-v <path/to/model>:/app/model \
-v ~/.cache/huggingface:/root/.cache/huggingface \
--env "HF_TOKEN= $HF_TOKEN " \
2026-01-21 22:39:45 +08:00
-p 8091:8091 \
2026-01-23 11:37:54 +08:00
vllm/vllm-omni-rocm:v0.14.0rc1 \
2026-01-21 22:39:45 +08:00
--model Qwen/Qwen3-Omni-30B-A3B-Instruct --omni --port 8091
2026-01-07 17:06:48 +08:00
```
#### Launch an interactive terminal with prebuilt docker image.
If you want to run in dev environment you can launch the docker image as follows:
```bash
2026-01-21 22:39:45 +08:00
docker run --rm -it \
2026-01-07 17:06:48 +08:00
--network= host \
--group-add= video \
--ipc= host \
--cap-add= SYS_PTRACE \
--security-opt seccomp = unconfined \
--device /dev/kfd \
--device /dev/dri \
-v <path/to/model>:/app/model \
-v ~/.cache/huggingface:/root/.cache/huggingface \
--env "HF_TOKEN= $HF_TOKEN " \
2026-01-21 22:39:45 +08:00
--entrypoint bash \
2026-01-23 11:37:54 +08:00
vllm/vllm-omni-rocm:v0.14.0rc1
2026-01-07 17:06:48 +08:00
```
2025-12-11 17:42:05 +08:00
# --8<-- [end:pre-built-images]