Skip to content

feat: add Docker support for NVIDIA RTX 5000 series (Blackwell / sm_120)#250

Open
ziobudda wants to merge 1 commit intoOpenBMB:mainfrom
ziobudda:feat/docker-rtx5xxx
Open

feat: add Docker support for NVIDIA RTX 5000 series (Blackwell / sm_120)#250
ziobudda wants to merge 1 commit intoOpenBMB:mainfrom
ziobudda:feat/docker-rtx5xxx

Conversation

@ziobudda
Copy link
Copy Markdown

Summary

  • Adds Dockerfile based on nvidia/cuda:13.0.1-cudnn-devel-ubuntu22.04 with native sm_120 (Blackwell) support
  • Adds docker-compose.yml with GPU passthrough, named volume for model cache, and optional VOXCPM_MODEL_ID override
  • PyTorch is force-reinstalled from the cu130 index last, so the correct CUDA version always wins over transitive CPU deps pulled by packages like funasr

Motivation

CUDA 12.x does not ship Triton wheels with native sm_120 support, causing silent fallbacks or crashes on RTX 5000 series (Blackwell) GPUs. CUDA 13.0 resolves this and allows VoxCPM2 to run at full speed on RTX 5070/5080/5090.

Changes

File Description
Dockerfile Multi-step build: system deps, Python 3.11 venv, app install, cu130 PyTorch reinstall
docker-compose.yml Single-service compose with GPU reservation, port 8808, cache volume, env-var model override

Usage

docker compose up --build

Override the model:
VOXCPM_MODEL_ID=openbmb/VoxCPM2 docker compose up

Test plan

- docker compose build completes without errors on a host with nvidia-container-toolkit
- nvidia-smi inside the container shows the RTX 5xxx GPU
- App starts and responds on http://localhost:8808
- Model weights are cached in the named volume and survive docker compose restart

Adds Dockerfile and docker-compose.yml targeting CUDA 13.0 with native
sm_120 (Blackwell) support. PyTorch is force-reinstalled from the cu130
index to ensure the correct CUDA version wins over transitive CPU deps.
Model weights are cached in a named volume to survive container restarts.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant