Scitrera's build of pytorch for NVIDIA DGX Spark. This is the heavier development image.
1.1K
https://github.com/scitrera/cuda-containers
This repository contains Dockerfiles and build recipes for CUDA-based containers optimized for NVIDIA DGX Spark systems, with a focus on vLLM, sglang, PyTorch, and multi-node inference workloads.
The primary goal of this project is to provide stable, well-versioned, prebuilt images that work out-of-the-box on DGX Spark (Blackwell-ready), while still being suitable as base images for custom builds.
The official NVIDIA images tend to run too far behind the latest releases. Other community images prioritize bleeding edge over versioning and stability.
The goal of this repo is to provide a stable, well-versioned, prebuilt images that work out-of-the-box on DGX Spark (Blackwell-ready).
The main architectural difference from other builds (e.g. eugr's repo (link below) -- which is pretty much the community standard) is:
If you need the absolute latest vLLM features from git right now, I still strongly recommend: https://github.com/eugr/spark-vllm-docker
For sglang, the officially provided container is not continuously updated. I assume that might change in the near future as sglang gets better SM121 support -- but in the meantime, Scitrera will, on a best effort basis, maintain sglang images similar to our vLLM images.
All vLLM images:
-tp) and multi-node inferencescitrera/dgx-spark-vllm:0.16.0-t4
scitrera/dgx-spark-vllm:0.16.0-t5
scitrera/dgx-spark-vllm:0.15.1-t4
scitrera/dgx-spark-vllm:0.15.1-t5
scitrera/dgx-spark-vllm:0.15.0-t4
scitrera/dgx-spark-vllm:0.15.0-t5
scitrera/dgx-spark-vllm:0.14.1-t4
scitrera/dgx-spark-vllm:0.14.1-t5
scitrera/dgx-spark-vllm:0.14.0-t4
scitrera/dgx-spark-vllm:0.14.0-t5
is_deepseek_mla() for GLM-4.7-Flash-tp4 on a 4-node DGX Spark clusterscitrera/dgx-spark-vllm:0.13.0-t4
SGLang images are also optimized for DGX Spark and provide an alternative high-performance inference runtime.
scitrera/dgx-spark-sglang:0.5.8-t4
scitrera/dgx-spark-sglang:0.5.8-t5
If you want to build your own inference stack:
scitrera/dgx-spark-pytorch-dev:2.10.0-v2-cu131
nvidia/cuda:13.1.1-devel-ubuntu24.04scitrera/dgx-spark-pytorch-dev:2.10.0-cu131
nvidia/cuda:13.1.0-devel-ubuntu24.04This is the recommended base image if you want to:
Tags follow this pattern for vLLM and SGLang containers:
<version>-t<transformers-major>
Examples:
0.13.0-t4 → vLLM 0.13.0 + Transformers 4.x0.5.8-t5 → SGLang 0.5.8 + Transformers 5.xdocker run \
--privileged \
--gpus all \
-it --rm \
--network host --ipc=host \
-v ~/.cache/huggingface:/root/.cache/huggingface \
scitrera/dgx-spark-vllm:0.16.0-t4 \
vllm serve \
Qwen/Qwen2.5-7B-Instruct \
--gpu-memory-utilization 0.4
docker run \
--privileged \
--gpus all \
-it --rm \
--network host --ipc=host \
-v ~/.cache/huggingface:/root/.cache/huggingface \
scitrera/dgx-spark-sglang:0.5.8-t4 \
sglang serve \
--model-path Qwen/Qwen2.5-7B-Instruct \
--mem-fraction-static 0.4
Major component versions are embedded as Docker labels.
docker inspect scitrera/dgx-spark-vllm:0.14.0rc2-t4 \
--format '{{json .Config.Labels}}' | jq
Example output:
{
"dev.scitrera.cuda_version": "13.1.0",
"dev.scitrera.flashinfer_version": "0.6.1",
"dev.scitrera.nccl_version": "2.28.9-1",
"dev.scitrera.torch_version": "2.10.0-rc6",
"dev.scitrera.transformers_version": "4.57.5",
"dev.scitrera.triton_version": "3.5.1",
"dev.scitrera.vllm_version": "0.14.0rc2"
}
This work is inspired by and complementary to:
This project is not affiliated with NVIDIA. This project is sponsored and maintained by scitrera.ai.
If you need the very latest vLLM feature added four hours ago, start with eugr's repo.
If you want stable, prebuilt images with predictable versioning, use the docker images built from this repo.
Content type
Image
Digest
sha256:07d87f7a1…
Size
9.5 GB
Last updated
3 months ago
docker pull scitrera/dgx-spark-pytorch-dev:2.12.0-v1-cu132