-
Couldn't load subscription status.
- Fork 53
Support PyTorch 2.7 and CUDA 12.8 #442
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
This reverts commit 0af3667.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR updates the supported PyTorch and CUDA versions to include PyTorch 2.7.0 and CUDA 12.8. Key changes include:
- Updated documentation in README.md to include the new version options.
- Modified CI workflows (nightly, install, cpp_testing, building) to include the new version matrix.
- Adjusted GitHub Action defaults in setup/action.yml and refactored the MKL configuration in cpp_testing.yml.
Reviewed Changes
Copilot reviewed 7 out of 12 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| README.md | Updated supported version lists for PyTorch and CUDA. |
| CHANGELOG.md | Revised changelog entries to reflect the new support; note potential version inconsistency. |
| .github/workflows/nightly.yml | Expanded version matrix to include PyTorch 2.7.0 and CUDA cu128. |
| .github/workflows/install.yml | Updated CUDA version in the matrix from cu124 to cu128. |
| .github/workflows/cpp_testing.yml | Added conditional block for MKL configuration based on CXX11 ABI. |
| .github/workflows/building.yml | Matrix updated to test with PyTorch 2.7.0 and the new CUDA version. |
| .github/actions/setup/action.yml | Updated default versions and replaced the free disk space command with a third-party action. |
Files not reviewed (5)
- .github/workflows/cuda/Linux-env.sh: Language not supported
- .github/workflows/cuda/Linux.sh: Language not supported
- .github/workflows/cuda/Windows-env.sh: Language not supported
- .github/workflows/cuda/Windows.sh: Language not supported
- CMakeLists.txt: Language not supported
Fixes Request wheels for PyTorch 2.7 pytorch_geometric#10250.
Fixes Support CUDA 12.8, RTX 50xx gpus pytorch_geometric#10142.
Skips testing with MKL support due to their pre-built releases built with pre C++11 ABI, which is incompatible with the default PyTorch 2.7 distributions.
In nightly workflow, temporily disables a few PyTorch versions that are not used as often according to https://pepy.tech/projects/torch: