ComfyUI base image with CUDA runtime support
805
ls250824/run-x for that.ls250824/pytorch-cuda-ubuntu-runtime:09092026.pytorch/pytorch:2.10.0-cuda12.8-cudnn9-runtime image; do not install PyTorch or CUDA again in this image.b10218 and llama-cpp-python 0.3.34 as
separate installations so their shared libraries cannot override each other.| Component | Version |
|---|---|
| OS | Ubuntu 24.04 x86_64 |
| Python | 3.12.x |
| PyTorch | 2.10.0 |
| Torchvision | 0.25.0 |
| Torchaudio | 2.10.0 |
| CUDA | 12.8 |
| cuDNN | 9 |
| Triton | 3.6.0 |
| onnxruntime-gpu | 1.22.0 |
| ComfyUI | 0.36.0 |
| Native llama.cpp | b10218 |
| CodeServer | latest |
| Package | Version |
|---|---|
| flash_attn | 2.8.4 |
| llama-cpp-python | 0.3.34 |
| sageattention | 2.2.0 |
| torch_generic_nms | 0.1 |
The image downloads and installs it under /opt/llama.cpp. The included commands, such as llama-cli, llama-server, and llama-bench, are available through PATH.
The archive is built for CUDA 12.8 on Linux x86_64. Its binaries use an
embedded relative RPATH for the libraries in /opt/llama.cpp/lib.
llama-cpp-python continues to use its package-local libraries. Do not set
LD_LIBRARY_PATH=/opt/llama.cpp/lib or LLAMA_CPP_LIB_PATH globally and do
not add this directory to ld.so.conf.
| Architecture | Compute Capability | Native Build Target | Examples |
|---|---|---|---|
| Ampere | 8.6 | sm_86 | RTX 3090, RTX A5000, RTX A6000, A40 |
| Ada Lovelace | 8.9 | sm_89 | RTX 4090, RTX 6000 Ada, L40, L40S |
| Blackwell | 12.0 | sm_120 | RTX 5090, RTX PRO 6000 |
/constraints.txt)numpy<2
onnxruntime-gpu==1.22.*
onnxruntime==0
flash-attn==2.8.4
llama-cpp-python==0.3.34
sageattention==2.2.0
typer==0.21.1
click==8.*
huggingface_hub>=1.24.0
WORKDIR /ComfyUI
RUN --mount=type=cache,target=/root/.cache/pip \
python -m pip install --no-cache-dir --root-user-action ignore -c /constraints.txt \
matrix-nio \
-r manager_requirements.txt
export DOCKER_BUILDKIT=1
export COMPOSE_DOCKER_CLI_BUILD=1
Content type
Image
Digest
sha256:7426bfb96…
Size
7.3 GB
Last updated
3 days ago
docker pull ls250824/comfyui-runtime2:16092026