-
Notifications
You must be signed in to change notification settings - Fork 305
build(pytorch): enable gfx1250 wheels for release/2.12 and nightly #6735
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
Merged
Merged
Changes from 3 commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
e7e09c7
build(pytorch): enable gfx1250 wheels for release/2.12
ethanwee1 2494185
build(pytorch): enable gfx1250 for release/2.12 and nightly
ethanwee1 0e999ed
ci(pytorch): allow optional PyTorch git origin on dev wheel builds
ethanwee1 eaaf5ff
review: limit PR to configure_pytorch_release_matrix.py change
ethanwee1 9af598d
Merge branch 'main' into users/ethanwee/enable-pytorch-2.12-gfx1250
ethanwee1 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -105,6 +105,46 @@ def test_filters_exact_unsupported_family(self): | |
| matrix_families = ";".join(row["amdgpu_families"] for row in matrix) | ||
| self.assertNotIn("gfx125X", matrix_families) | ||
|
Comment on lines
94
to
106
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think the existing tests were sufficient here. We don't need 40 lines of test code for a 2 line change just checking that config file has some values. |
||
|
|
||
| def test_release_2_12_includes_gfx125x(self): | ||
| matrix = m.generate_pytorch_matrix_for_release_type( | ||
| release_type="dev", | ||
| python_versions=["3.12"], | ||
| pytorch_git_refs=["release/2.12"], | ||
| amdgpu_families="gfx94X-dcgpu;gfx125X-dcgpu", | ||
| platform="linux", | ||
| ) | ||
|
|
||
| self.assertEqual( | ||
| matrix, | ||
| [ | ||
| { | ||
| "python_version": "3.12", | ||
| "pytorch_git_ref": "release/2.12", | ||
| "amdgpu_families": "gfx94X-dcgpu;gfx125X-dcgpu", | ||
| } | ||
| ], | ||
| ) | ||
|
|
||
| def test_nightly_includes_gfx125x(self): | ||
| matrix = m.generate_pytorch_matrix_for_release_type( | ||
| release_type="nightly", | ||
| python_versions=["3.12"], | ||
| pytorch_git_refs=["nightly"], | ||
| amdgpu_families="gfx94X-dcgpu;gfx125X-dcgpu", | ||
| platform="linux", | ||
| ) | ||
|
|
||
| self.assertEqual( | ||
| matrix, | ||
| [ | ||
| { | ||
| "python_version": "3.12", | ||
| "pytorch_git_ref": "nightly", | ||
| "amdgpu_families": "gfx94X-dcgpu;gfx125X-dcgpu", | ||
| } | ||
| ], | ||
| ) | ||
|
|
||
| def test_unknown_explicit_ref_keeps_families(self): | ||
| matrix = m.generate_pytorch_matrix_for_release_type( | ||
| release_type="dev", | ||
|
|
||
Oops, something went wrong.
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.
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.
The changes to this file could be moved to a separate PR. I'd also prefer to keep the Linux and Windows workflows in sync and not add inputs to only one or the other: https://github.com/ROCm/TheRock/blob/main/.github/workflows/multi_arch_build_windows_pytorch_wheels.yml