Skip to content

ci: linux-arm64 CUDA 13.3 build for DGX Spark (GB10) - #64

Merged
worthant merged 1 commit into
masterfrom
feat/linux-arm64-cuda-dgx-spark
Aug 5, 2026
Merged

worthant merged 1 commit into
masterfrom
feat/linux-arm64-cuda-dgx-spark

Conversation

@worthant

@worthant worthant commented Aug 5, 2026

Copy link
Copy Markdown

Adds a linux-arm64-cuda-13.3 job to dev-build.yml and release-turboquant.yml, so llama-turboquant-linux-arm64-cuda-13.3.{tar.gz,zip} ships in dev-latest and in every stable release. Target: NVIDIA DGX Spark (GB10, sm_121, DGX OS 7 = Ubuntu 24.04, aarch64).

Built natively on the free ubuntu-24.04-arm GitHub runner — no cross-compilation, no self-hosted runner.

What differs from the x64 CUDA job

  • CUDA repo: repos/ubuntu2404/sbsa/. The arm64 repo of the same distro is Jetson/L4T and carries no CUDA 13 packages; cccl also lost its cuda- prefix in 13.3 (cccl-13-3).
  • GCC 14 for host and as CMAKE_CUDA_HOST_COMPILER: GGML_CPU_ALL_VARIANTS emits armv9.2+sme CPU variants that 24.04's default GCC 13 cannot assemble (same workaround as the upstream arm64 job in build-cpu.yml).
  • Arch list 90-virtual;121-real: GB10 is sm_121. A Hopper PTX floor keeps the other arm64 NVIDIA machines (GH200 sm_90, GB200 sm_100, Thor sm_110) working via first-run JIT without doubling compile time on a 4-core runner.
  • Arch guard: cuobjdump --list-elf libggml-cuda.so | grep sm_121 fails the job rather than shipping an archive with no GB10 SASS.
  • cudart/cublas bundling reads targets/sbsa-linux/lib if lib64 is missing.

Release notes table and the EXPECTED/needs lists in both publish jobs are updated.

Validation

dev-build.yml runs on PRs into master, so this PR's own checks build the arm64 archive. Final validation is running the artifact on real DGX Spark hardware.

Adds a `linux-arm64-cuda-13.3` job to both the dev and the release
pipeline, so `llama-turboquant-linux-arm64-cuda-13.3.{tar.gz,zip}` ships
in every dev-latest and stable release.

Built natively on the free `ubuntu-24.04-arm` runner (no cross-compile).
Notes on the pieces that differ from the x64 CUDA job:

- CUDA comes from the arm64-SBSA repo. The `arm64` repo of the same
  distro is Jetson/L4T and carries no CUDA 13 packages, and `cccl` lost
  its `cuda-` prefix in 13.3.
- GCC 14 is installed for both host and nvcc host compiler:
  GGML_CPU_ALL_VARIANTS emits armv9.2+sme CPU variants that the 24.04
  default GCC 13 cannot assemble.
- Arch list is `90-virtual;121-real`: GB10 (DGX Spark) is sm_121, and a
  Hopper PTX floor keeps GH200/GB200/Thor working via JIT without
  doubling compile time on a 4-core runner.
- `cuobjdump --list-elf | grep sm_121` guards the arch list, so an
  archive without GB10 SASS fails the job instead of shipping.
@github-actions github-actions Bot added the devops label Aug 5, 2026
@worthant
worthant merged commit 25a4512 into master Aug 5, 2026
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant