Add Python 3.10 Support for PyTorch Builds#2422
Merged
Merged
Conversation
3ee5cb2 to
af5ae5c
Compare
af5ae5c to
e3f34de
Compare
Contributor
|
#2449 Linked issue for adding support for python 3.10 to support all the pytorch version. |
ScottTodd
approved these changes
Dec 5, 2025
Comment on lines
89
to
+90
| matrix: | ||
| python_version: ["3.11", "3.12", "3.13"] | ||
| python_version: ["3.10", "3.11", "3.12", "3.13"] |
Member
There was a problem hiding this comment.
This will increase our testing surface area. I've started some discussions about whether we always want to run tests on all python versions or if we can choose a subset of python versions to run (regular) tests for.
It's about 20-120 minutes of test time per python version, per GPU family, per PyTorch version. That's with our current set of tests, and we might expand the set of tests later.
- Updated the supported Python versions in RELEASES.md and external-builds/pytorch/README.md to include Python 3.10. - Modified GitHub workflows for portable Linux and Windows PyTorch wheels to reflect the updated Python version matrix. This change ensures compatibility with Python 3.10 across relevant documentation and CI configurations.
e3f34de to
be021d6
Compare
rponnuru5
pushed a commit
that referenced
this pull request
Dec 9, 2025
## Motivation Extends PyTorch build support to include Python 3.10, enabling compatibility for users who require Python 3.10 in their environments. ## Technical Details - Updated GitHub workflows (`release_portable_linux_pytorch_wheels.yml`, `release_windows_pytorch_wheels.yml`) to include Python 3.10 in the build matrix - Updated documentation (`RELEASES.md`, `external-builds/pytorch/README.md`) to reflect Python 3.10+ support - No changes needed for manylinux build configuration (already supports cp310) or CMake (minimum Python 3.9) ## Test Plan CI/CD pipelines will be build and test PyTorch wheels for Python 3.10 alongside existing versions (3.11, 3.12, 3.13). https://github.com/ROCm/TheRock/actions/runs/19939030860 https://github.com/ROCm/TheRock/actions/runs/19939030860/job/57171706110 ## Test Result https://github.com/ROCm/TheRock/actions/runs/19939030860 https://github.com/ROCm/TheRock/actions/runs/19939030860/job/57171706110 ## Submission Checklist - [x] Look over the contributing guidelines at https://github.com/ROCm/ROCm/blob/develop/CONTRIBUTING.md#pull-requests.
ScottTodd
added a commit
that referenced
this pull request
Dec 16, 2025
This reverts commit 772ec30.
subodh-dubey-amd
pushed a commit
that referenced
this pull request
Dec 16, 2025
This reverts commit 772ec30.
subodh-dubey-amd
pushed a commit
that referenced
this pull request
Dec 16, 2025
3 tasks
benrichard-amd
pushed a commit
to benrichard-amd/TheRock
that referenced
this pull request
Jan 5, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation
Extends PyTorch build support to include Python 3.10, enabling compatibility for users who require Python 3.10 in their environments.
Technical Details
release_portable_linux_pytorch_wheels.yml,release_windows_pytorch_wheels.yml) to include Python 3.10 in the build matrixRELEASES.md,external-builds/pytorch/README.md) to reflect Python 3.10+ supportTest Plan
CI/CD pipelines will be build and test PyTorch wheels for Python 3.10 alongside existing versions (3.11, 3.12, 3.13).
https://github.com/ROCm/TheRock/actions/runs/19939030860
https://github.com/ROCm/TheRock/actions/runs/19939030860/job/57171706110
Test Result
https://github.com/ROCm/TheRock/actions/runs/19939030860
https://github.com/ROCm/TheRock/actions/runs/19939030860/job/57171706110
Submission Checklist