Skip to content

WIP: ensure 'torch' CUDA wheels are installed in CI, remove unused dependencies#5453

Draft
jameslamb wants to merge 3 commits intorapidsai:mainfrom
jameslamb:remove-torch-reqs
Draft

WIP: ensure 'torch' CUDA wheels are installed in CI, remove unused dependencies#5453
jameslamb wants to merge 3 commits intorapidsai:mainfrom
jameslamb:remove-torch-reqs

Conversation

@jameslamb
Copy link
Member

@jameslamb jameslamb commented Mar 5, 2026

Contributes to rapidsai/build-planning#257

  • ensures that when torch is installed in wheels CI, it's always a CUDA variant
  • removes unused test dependencies ogb, pydantic, torchdata, and torchmetrics

Notes for Reviewers

How does this help with testing against a mix of CTKs?

torch CUDA wheels tightly pin to nvidia-{thing} wheels and soon, cuda-toolkit (see rapidsai/build-planning#255).

Forcing the use of CUDA torch wheels ensures we'll catch dependency conflicts in CI. Without this, pip could silently fall back to CPU-only torch from pypi.org.

How did you test these changes?

I've been thoroughly testing these exact script + dependencies.yaml changes using RMM's PyTorch tests in rapidsai/rmm#2270

@jameslamb jameslamb added improvement Improvement / enhancement to an existing function non-breaking Non-breaking change labels Mar 5, 2026
@copy-pr-bot
Copy link

copy-pr-bot bot commented Mar 5, 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
Member Author

/ok to test

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.

1 participant