PyTorch 2.13 + CUDA 13.2.1 + NCCL 2.30 base image for DGX Spark / GB10 (SM121), arm64, from source.
713
Custom PyTorch + CUDA + NCCL base image for the NVIDIA DGX Spark / ASUS Ascent GX10 (GB10, SM121, arm64).
This is the base layer used by
xomoxcc/dgx-spark-sglang.
It exists because the upstream
scitrera/dgx-spark-pytorch-dev:2.10.0-v2-cu131
fallback (PyTorch 2.10 / CUDA 13.1) is ~45 % slower end-to-end on GB10
than a 2.12+ / CUDA 13.2.1 build, due to nvcc codegen + cuBLAS/cuDNN
regressions across that toolchain delta.
scripts/build_pytorch_base_image.sh and
scripts/patches/pytorch-2.13.0-dev-v1.recipe)sm_120 + sm_121. This is the
version SGLang pins upstream, unchanged from v0.5.18 through v0.5.19, so the
same base serves both dgx-spark-sglang tags. The lineage also carries the 2.12 bump's
cuBLAS Blackwell 32-MiB workspaces (PyTorch PR #175344),
a direct GB10 winNVIDIA/nccl at v2.30.7-1. (Earlier builds
pinned the zyang-dev/nccl dgxspark-3node-ring fork at 2.29.7-1; reviewing
that fork's diff showed its sole patch is a default-off subnet-aware-routing
feature — a verified no-op on our single-/24 switched QSFP fabric — so we
track upstream now and lose nothing.) Note: the NCCL 2.30.x NVLS path has a
regression that can hang high-expert-count MoE weight loads on GB10/RoCE
(NVIDIA/nccl#2167); set
NCCL_NVLS_ENABLE=0 at runtime (free on these non-NVLink systems)scitrera/cuda-containers pytorch_builder stage
(Dockerfile.base) with our recipe pinned in the build script| Tag | Notes |
|---|---|
2.13.0-v1-cu132 | PyTorch 2.13.0 + CUDA 13.2.1 + torchvision 0.28.0 + NCCL 2.30.7, arm64 (current) |
2.12.0-v1-cu132 | PyTorch 2.12.0 + CUDA 13.2.1 + torchvision 0.27.0 + NCCL 2.30.7, arm64 (previous) |
2.11.0-v1-cu132 | PyTorch 2.11.0 + CUDA 13.2.0 + NCCL 2.30.4, arm64 (older, rollback) |
linux/arm64 only — there is no x86_64 variant and the kernels are not useful
on non-GB10 hardware.
dgx-spark-sglang builds sgl-kernel from source and that compile picks up
PyTorch + CUDA headers from BASE_IMAGE. Pinning the base image avoids:
If you don't need to rebuild sgl-kernel yourself, you probably want the
ready-to-run xomoxcc/dgx-spark-sglang
images directly.
Built and exercised on a private 4-node DGX Spark cluster. Published in case someone else has the same hardware and wants to skip the 3-5 h cold rebuild. No commercial support; tags may be retagged or removed without notice. Open an issue on the GitHub repo if something is broken.
Content type
Image
Digest
sha256:5a1411239…
Size
12.4 GB
Last updated
22 days ago
docker pull xomoxcc/dgx-spark-pytorch-dev:2.13.0-v1-cu132