Add CUDA 13.0 Support by matthewdouglas · Pull Request #1761 · bitsandbytes-foundation/bitsandbytes

This PR is based on #1735.

  • Enables build support for CUDA 13.0, while retaining backward compatibility down to the new minimum CUDA 11.8.
  • Adds CUDA 13 build and packaging to workflows for Linux x86-64, Linux aarch64, and Windows x86-64
    • Linux builds use CUDA Toolkit 13.0.1, while Windows will use 13.0.0.
  • Adds torch==2.9.0+cu128 configuration to nightly tests.
  • Updates documentation.

The CUDA 13 build cannot be run with our current CI runners until drivers are upgraded. Until then, I've validated on an RTX 4090 workstation, with the RC PyTorch 2.9+cu130.