KEMBAR78
Enable CUDA 13.0 binaries · Issue #159779 · pytorch/pytorch · GitHub
Skip to content

Enable CUDA 13.0 binaries #159779

@tinglvv

Description

@tinglvv

🚀 The feature, motivation and pitch

CUDA 13.0 is released on 8/4, creating issue tracker for CUDA 13.0 binaries enablement.

CUDA 13.0 is a major upgrade over CUDA 12, benefits from upgrading in the nightlies binaries are mainly:

  1. CUDA 13.0 supports all NVIDIA architectures from Turing through Blackwell. Featuring sm_110 (Jetson Thor), sm_103 (B300/GB300), sm_121(DGX SPARK/DIGITS). Note: CUDA 12.9 first introduced sm_12x and sm_10x arch support, which will be compatible with sm_120 and sm_100 binaries respectively. Thor and SPARK now both on SBSA platforms.
  2. Binary size reduction from compression method change: Supporting --compress-mode flag for nvcc across all drivers of CUDA 13.X toolkits, enabling the possibility to use --compress-mode=size for significant size reduction (~71% less for CUDA Math APIs for example). Default will be --compress-mode=default which gives smaller binaries than LZ4 speed mode used in previous CUDA versions.
  3. New features to Math libraries: cuBLAS improvements, including implicit autotuning mode
  4. Arm platforms are now unified in CUDA Toolkit, enabling single-install and consistent builds across all Arm architectures.
  5. General CUDA code compilation performance https://docs.nvidia.com/cuda/cuda-toolkit-release-notes/index.html#id2

See https://developer.nvidia.com/blog/whats-new-and-important-in-cuda-toolkit-13-0/ for more comprehensive notes.

Update Plan

Feature Target Date
Linux and Linux aarch64 CD Nightly Aug 22, 2025
Enablement of CUDA 13.0 in PyTorch CI Aug 29, 2025
Windows CD Nightly Aug 29, 2025
Enable CUDA 13.0 in Ecosystem Libraries Aug 29, 2025
Removal of CUDA 12.9 Builds Aug 29, 2025

PRs

Linux builds CD nightly (x86, sbsa, libtorch)

  1. Almalinux docker --> Magma build
  1. Build addition
  1. Build size reduction
  1. 13.0.U2 upgrade

CUDA 13 CI

Windows CD nightly

  1. Add Windows AMI
  1. Add Windows build script

Alternatives

No response

Additional context

No response

cc @seemethere @malfet @atalman @ptrblck @msaroufim @eqy @jerryzh168 @nWEIdia

Metadata

Metadata

Assignees

Labels

enhancementNot as big of a feature, but technically not a bug. Should be easy to fixmodule: binariesAnything related to official binaries that we release to usersmodule: cudaRelated to torch.cuda, and CUDA support in generaloncall: relengIn support of CI and Release EngineeringtriagedThis issue has been looked at a team member, and triaged and prioritized into an appropriate module

Type

No type

Projects

Status

Done

Relationships

None yet

Development

No branches or pull requests

Issue actions