Skip to content

[CI] Align cuda-python with PyTorch cuda-bindings#19738

Merged
tqchen merged 1 commit into
apache:mainfrom
tlopex:fix-ci-cuda-python-pin-only
Jun 12, 2026
Merged

[CI] Align cuda-python with PyTorch cuda-bindings#19738
tqchen merged 1 commit into
apache:mainfrom
tlopex:fix-ci-cuda-python-pin-only

Conversation

@tlopex

@tlopex tlopex commented Jun 11, 2026

Copy link
Copy Markdown
Member

This updates the CI GPU Docker dependency pin for cuda-python from 12.8.0 to 12.9.4.

torch==2.10.0, installed later by ubuntu_install_onnx.sh, requires cuda-bindings==12.9.4 on Linux x86_64. However, cuda-python==12.8.0 constrains cuda-bindings to the 12.8.x series, leaving the CI Python CUDA dependency set inconsistent.

Using cuda-python==12.9.4 keeps the cuda-bindings requirement aligned with the PyTorch wheel already used in the CI image. This does not change the CUDA base image.

@tlopex tlopex changed the title [Ci] Align cuda-python with PyTorch cuda-bindings [CI] Align cuda-python with PyTorch cuda-bindings Jun 11, 2026

@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 updates the cuda-python package version to 12.9.4 in the Ubuntu installation script. However, this introduces a version mismatch with the CUDA base image (12.8.1) specified in the Dockerfile, which could lead to runtime compatibility issues. It is recommended to update the base image to a 12.9.x version to maintain consistency.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

Comment thread docker/install/ubuntu_install_cuda_python.sh
@tqchen tqchen merged commit a100bd3 into apache:main Jun 12, 2026
10 of 11 checks passed
MasterJH5574 pushed a commit to MasterJH5574/tvm that referenced this pull request Jun 15, 2026
This updates the CI GPU Docker dependency pin for `cuda-python` from
`12.8.0` to `12.9.4`.

`torch==2.10.0`, installed later by `ubuntu_install_onnx.sh`, requires
`cuda-bindings==12.9.4` on Linux x86_64. However, `cuda-python==12.8.0`
constrains `cuda-bindings` to the `12.8.x` series, leaving the CI Python
CUDA dependency set inconsistent.

Using `cuda-python==12.9.4` keeps the `cuda-bindings` requirement
aligned with the PyTorch wheel already used in the CI image. This does
not change the CUDA base image.

(cherry picked from commit a100bd3)
MasterJH5574 pushed a commit to MasterJH5574/tvm that referenced this pull request Jun 15, 2026
This updates the CI GPU Docker dependency pin for `cuda-python` from
`12.8.0` to `12.9.4`.

`torch==2.10.0`, installed later by `ubuntu_install_onnx.sh`, requires
`cuda-bindings==12.9.4` on Linux x86_64. However, `cuda-python==12.8.0`
constrains `cuda-bindings` to the `12.8.x` series, leaving the CI Python
CUDA dependency set inconsistent.

Using `cuda-python==12.9.4` keeps the `cuda-bindings` requirement
aligned with the PyTorch wheel already used in the CI image. This does
not change the CUDA base image.

(cherry picked from commit a100bd3)
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.

3 participants