vLLM 0.20.0 compiled from source with full NVIDIA Blackwell support (RTX 5090 / sm_120).
Running vLLM on a Blackwell GPU using the official PyPI wheel fails immediately:
RuntimeError: CUDA error: no kernel image is available for execution on the device
The pre-built wheel does not include CUDA kernels for sm_120 (Blackwell architecture). The only solution is to compile vLLM from source with TORCH_CUDA_ARCH_LIST="12.0+PTX" — which takes 30–45 minutes and requires getting several dependency versions exactly right.
This image does all of that for you.
docker pull zainey4/vllm-blackwell:latest
# Verify it works on your GPU
docker run --gpus all --rm zainey4/vllm-blackwell:latest \
python -c "import vllm; print('vLLM', vllm.__version__, '— ready')"docker run --gpus all --rm \
-p 8000:8000 \
-e HF_TOKEN=your_hf_token \
-v hf-cache:/root/.cache/huggingface \
zainey4/vllm-blackwell:latest \
python -m vllm.entrypoints.openai.api_server \
--model meta-llama/Llama-3.2-3B-Instruct \
--dtype bfloat16Then query it:
curl http://localhost:8000/v1/chat/completions \
-H "Content-Type: application/json" \
-d '{
"model": "meta-llama/Llama-3.2-3B-Instruct",
"messages": [{"role": "user", "content": "Hello!"}]
}'FROM zainey4/vllm-blackwell:0.20.0-cu128
WORKDIR /app
COPY requirements.txt .
RUN pip install -r requirements.txt
COPY server.py .
CMD ["python", "server.py"]services:
llm:
image: zainey4/vllm-blackwell:latest
restart: unless-stopped
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: 1
capabilities: [gpu]
ports:
- "8000:8000"
environment:
- HF_TOKEN=${HF_TOKEN}
volumes:
- hf-cache:/root/.cache/huggingface
command: >
python -m vllm.entrypoints.openai.api_server
--model meta-llama/Llama-3.2-3B-Instruct
--dtype bfloat16
healthcheck:
test: ["CMD", "curl", "-sf", "http://localhost:8000/health"]
interval: 30s
start_period: 120s
volumes:
hf-cache:| Component | Version |
|---|---|
| vLLM | 0.20.0 |
| PyTorch | 2.9.1+cu128 |
| CUDA | 12.8.1 |
| Python | 3.10 |
| Ubuntu | 22.04 |
| Flash Attention | v2 |
CUDA architectures compiled: sm_80 sm_86 sm_89 sm_90 sm_120
| GPU | Architecture | Supported |
|---|---|---|
| RTX 5090 / 5080 | Blackwell (sm_120) | ✅ Tested |
| RTX 4090 / 4080 / 4070 | Ada Lovelace (sm_89) | ✅ |
| RTX 3090 / 3080 | Ampere (sm_86) | ✅ |
| A100 | Ampere (sm_80) | ✅ |
| H100 / H200 | Hopper (sm_90) | ✅ |
The following are set by default. Override them in your docker run command or compose file if needed.
| Variable | Default | Description |
|---|---|---|
VLLM_WORKER_MULTIPROC_METHOD |
spawn |
Required — CUDA cannot reinitialize in a forked subprocess |
VLLM_FLASH_ATTN_VERSION |
2 |
Flash Attention 3 is not yet supported on Blackwell |
If you want to build the image yourself:
git clone https://github.com/zaindroid/vllm-blackwell
cd vllm-blackwell
docker build -t vllm-blackwell:latest .Build time is 30–45 minutes on a machine with a fast internet connection. The compiler generates CUDA kernels for all supported architectures.
- Flash Attention 3 is not yet supported on Blackwell — FA2 is used automatically
- CUDA 12.8+ and driver 575+ are required on the host
- NVIDIA driver 575.64.03 or newer
- CUDA 12.8 or newer
- Docker with NVIDIA Container Toolkit
Bug reports, test results on other Blackwell GPUs, and pull requests are welcome. See CONTRIBUTING.md.
MIT — see LICENSE.
Maintainer: Zain Ul Haq — zainey4@gmail.com