Skip to content

[dependencies] Upgrade to cuda 13 by default - #2040

Open
erictang000 wants to merge 1 commit into
NovaSky-AI:mainfrom
erictang000:eric/cuda-13
Open

[dependencies] Upgrade to cuda 13 by default#2040
erictang000 wants to merge 1 commit into
NovaSky-AI:mainfrom
erictang000:eric/cuda-13

Conversation

@erictang000

@erictang000 erictang000 commented Aug 14, 2026

Copy link
Copy Markdown
Collaborator

Upgrades SkyRL to use cuda 13 wheels (upgraded from cuda 12.8) for all dependencies.

Prereqs:

  • Upgrade ray to 2.57 which is the only ray version with slim cuda 13 image

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request upgrades the project's CUDA dependency from version 12.8 to 13.0 across Dockerfiles, CI configurations, package requirements, and documentation. However, two critical package resolution issues were identified: JAX does not publish a cuda13 extra on PyPI, and NVIDIA does not publish a nvidia-cudnn-cu13 package. Both of these changes will cause installation and Docker build failures and should be reverted to their cu12 equivalents.

Comment thread pyproject.toml
[project.optional-dependencies]
gpu = [
"jax[cuda12]>=0.7.2; sys_platform == 'linux'",
"jax[cuda13]>=0.7.2; sys_platform == 'linux'",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

high

JAX does not publish a cuda13 extra on PyPI. The correct extra name for installing CUDA-enabled JAX is cuda12 (or cuda12_pip), which is compatible with CUDA 13 runtimes via CUDA's forward compatibility. Using cuda13 will cause installation of the gpu extra to fail.

    "jax[cuda12]>=0.7.2; sys_platform == 'linux'",

# ---------- PyTorch + cuDNN (setup for transformer-engine) ----------
# PyTorch + cuDNN
RUN uv pip install --system --no-cache-dir "torch==2.11.0" "nvidia-cudnn-cu12>=9.3" && \
RUN uv pip install --system --no-cache-dir "torch==2.11.0" "nvidia-cudnn-cu13>=9.3" && \

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

high

NVIDIA does not publish a nvidia-cudnn-cu13 package on PyPI. The cuDNN 9.x libraries for CUDA 12 and 13 are distributed under the nvidia-cudnn-cu12 package name. Attempting to install nvidia-cudnn-cu13 will result in a package resolution error and break the Docker build.

RUN uv pip install --system --no-cache-dir "torch==2.11.0" "nvidia-cudnn-cu12>=9.3" && \

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant