-
Notifications
You must be signed in to change notification settings - Fork 236
Provide pre-built wheels for PyTorch 2.13.0 #1357
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
Changes from all commits
a2906b5
9a59de0
e3ed586
5abe737
2c665f5
7217fe7
c5d04cb
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -386,10 +386,18 @@ def generate_build_matrix( | |
| else ["12.6.2", "13.0.1", "13.2.0"] | ||
| ), | ||
| }, | ||
| "2.13.0": { | ||
| "python-version": ["3.10", "3.11", "3.12", "3.13", "3.14", "3.15"], | ||
| "cuda": ( | ||
| ["12.6", "13.0", "13.2"] # default 13.0 | ||
| if not for_windows | ||
| else ["12.6.2", "13.0.1", "13.2.0"] | ||
| ), | ||
| }, | ||
| # https://github.com/Jimver/cuda-toolkit/blob/master/src/links/windows-links.ts | ||
| } | ||
| if test_only_latest_torch: | ||
| latest = "2.12.1" | ||
| latest = "2.13.0" | ||
| matrix = {latest: matrix[latest]} | ||
|
|
||
| if for_windows or for_macos: | ||
|
|
@@ -405,6 +413,9 @@ def generate_build_matrix( | |
| if "1.13.1" in matrix: | ||
| matrix["1.13.1"]["python-version"].remove("3.11") | ||
|
|
||
| if "2.13.0" in matrix: | ||
| matrix["2.13.0"]["python-version"].remove("3.15") | ||
|
Comment on lines
+416
to
+417
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. |
||
|
|
||
| excluded_python_versions = ["3.6", "3.7"] | ||
|
|
||
| enabled_torch_versions = ["1.10.0"] | ||
|
|
@@ -484,6 +495,7 @@ def generate_build_matrix( | |
| "2.11.0": ["7.1", "7.2"], | ||
| "2.12.0": ["7.1", "7.2"], | ||
| "2.12.1": ["7.1", "7.2"], | ||
| "2.13.0": ["7.1", "7.2"], | ||
| } | ||
| if torch in rocm_versions_map: | ||
| rocm_list = rocm_versions_map[torch] | ||
|
|
||
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -153,7 +153,9 @@ def build_extension(self, ext: setuptools.extension.Extension): | |||||
| major, minor = get_pytorch_version().split(".")[:2] | ||||||
| major = int(major) | ||||||
| minor = int(minor) | ||||||
| if major > 2 or (major == 2 and minor >= 1): | ||||||
| if major > 2 or (major == 2 and minor >= 13): | ||||||
| extra_cmake_args += f" -DCMAKE_CXX_STANDARD=20 " | ||||||
| elif major > 2 or (major == 2 and minor >= 1): | ||||||
|
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. The condition You can simplify this to only check for
Suggested change
|
||||||
| extra_cmake_args += f" -DCMAKE_CXX_STANDARD=17 " | ||||||
|
|
||||||
| if cmake_args == "": | ||||||
|
|
||||||
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.
Python 3.15 is not yet released, and there are no official stable releases, docker images, or PyTorch wheels available for it. Including
"3.15"in the build matrix will cause the CI workflow to fail when attempting to set up the environment or install PyTorch for Python 3.15.Please remove
"3.15"from the list of supported Python versions.