Skip to content

wheels CI: update to torch 2.10 for 'oldest' configuration#5485

Merged
jameslamb merged 1 commit intorapidsai:mainfrom
jameslamb:fix/torch-downloads
Apr 9, 2026
Merged

wheels CI: update to torch 2.10 for 'oldest' configuration#5485
jameslamb merged 1 commit intorapidsai:mainfrom
jameslamb:fix/torch-downloads

Conversation

@jameslamb
Copy link
Copy Markdown
Member

@jameslamb jameslamb commented Apr 8, 2026

Nightly wheel tests on the "oldest" configuration started failing yesterday, like this:

Collecting torch
  Downloading https://download-r2.pytorch.org/whl/cu129/torch-2.9.0%2Bcu129-cp311-cp311-manylinux_2_28_x86_64.whl.metadata (30 kB)
ERROR: THESE PACKAGES DO NOT MATCH THE HASHES FROM THE REQUIREMENTS FILE. If you have updated the package versions, please update the hashes. Otherwise, examine the package contents carefully; someone may have tampered with them.
    torch from https://download-r2.pytorch.org/whl/cu129/torch-2.9.0%2Bcu129-cp311-cp311-manylinux_2_28_x86_64.whl#sha256=78005065547658b8c3fd2dd4d68f34625b0543494c947001b5303d253b22da5f:
        Expected sha256 05df84ccec407908cb70f89d6c2675b8220661f23d7de0cf899f4401f8ab2798
             Got        2b0a3a5d37a8d7447e56e7e4e27280f881e805fbae79130fa8874bcfe6eae333

(build link)

This looks like an issue with the metadata on torch's index: pytorch/pytorch#145501 (comment)

For now, this proposes just testing against torch-2.10.0 for the "oldest" configuration, to get CI working again.

Notes for Reviewers

How I tested this

On an earlier commit, ran the full nightly matrix on release/26.04. Saw it pass: https://github.com/rapidsai/cugraph/actions/runs/24143566958/job/70480989274

This change isn't RAPIDS-branch-specific, so I'm confident this will resolve this issue in the nightlies.

@copy-pr-bot
Copy link
Copy Markdown

copy-pr-bot bot commented Apr 8, 2026

Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually.

Contributors can view more details about this message here.

@jameslamb
Copy link
Copy Markdown
Member Author

/ok to test

@jameslamb jameslamb added improvement Improvement / enhancement to an existing function non-breaking Non-breaking change labels Apr 8, 2026
Comment thread .github/workflows/pr.yaml Outdated
with:
build_type: pull-request
script: ci/test_wheel_cugraph.sh
wheel-tests-cugraph-nightly:
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Just doing this temporarily to test that this will actually fit the nightlies.

If this works and the PR's approved, I'll push a commit reverting this out, then admin-merge this to avoid needing to wait on another CI cycle.

@jameslamb jameslamb changed the title WIP: wheels CI: update to torch 2.10 for 'oldest' configuration wheels CI: update to torch 2.10 for 'oldest' configuration Apr 8, 2026
@jameslamb jameslamb marked this pull request as ready for review April 8, 2026 18:39
@jameslamb jameslamb requested review from a team as code owners April 8, 2026 18:39
@jameslamb
Copy link
Copy Markdown
Member Author

jameslamb commented Apr 8, 2026

Based on offline discussion... we'll re-target this to main. Don't strictly need this fix in 26.04 at this point. Moving it back to draft until that's done.

re-targeted to main

@jameslamb jameslamb marked this pull request as draft April 8, 2026 20:11
@jameslamb jameslamb changed the base branch from release/26.04 to main April 8, 2026 22:29
@jameslamb jameslamb force-pushed the fix/torch-downloads branch from f39f28c to 97ea8a6 Compare April 8, 2026 22:29
@jameslamb jameslamb marked this pull request as ready for review April 8, 2026 22:30
@jameslamb
Copy link
Copy Markdown
Member Author

Admin-merging this, the test failures are expected to be resolved in #5487

@jameslamb jameslamb merged commit 6ad9663 into rapidsai:main Apr 9, 2026
220 of 230 checks passed
@jameslamb jameslamb deleted the fix/torch-downloads branch April 9, 2026 14:51
@atalman
Copy link
Copy Markdown

atalman commented Apr 9, 2026

@jameslamb this should be fixed now. Please see: pytorch/pytorch#179821 (comment)

@jameslamb
Copy link
Copy Markdown
Member Author

Thank you! I'll get this reverted.

jameslamb added a commit to jameslamb/cugraph that referenced this pull request Apr 15, 2026
jameslamb added a commit that referenced this pull request Apr 17, 2026
…5485) (#5493)

Reverts #5485

We can now install `torch` 2.9 CUDA 12.9 wheels again, the issue on the
PyTorch `pip` index has been resolved:
pytorch/pytorch#179821 (comment)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

improvement Improvement / enhancement to an existing function non-breaking Non-breaking change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants