Repository navigation
Add 3.15 triton wheel build - #184829
Closed
atalman wants to merge 1 commit into
Closed
Add 3.15 triton wheel build#184829atalman wants to merge 1 commit into
atalman wants to merge 1 commit into
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/184829
Note: Links to docs will display an error until the docs builds have been completed. ⏳ No Failures, 3 PendingAs of commit 5910910 with merge base 73a9615 ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
malfet
approved these changes
May 22, 2026
Summary: Adds Python 3.15 and 3.15t (free-threaded) to the triton wheel build matrix for both Linux and Windows, mirroring PR pytorch#159261 which added 3.14 and 3.14t. Includes the corresponding PYTHON_EXECUTABLE case branches pointing at /opt/python/cp315-cp315 and /opt/python/cp315-cp315t. Test Plan: Triggered by `.github/workflows/build-triton-wheel.yml` via PR / nightly schedule.
Collaborator
Author
|
@pytorchmergebot merge -f "lint and triton build look good" |
Collaborator
Merge startedYour change will be merged immediately since you used the force (-f) flag, bypassing any CI checks (ETA: 1-5 minutes). Please use Learn more about merging in the wiki. Questions? Feedback? Please reach out to the PyTorch DevX Team |
This was referenced May 22, 2026
pytorchmergebot
pushed a commit
that referenced
this pull request
May 22, 2026
## Summary Skip XPU manywheel builds for Python 3.15 / 3.15t in the same way #184600 skipped ROCm. Triton XPU 3.15 wheel builds are currently broken (see the exclusion in `.github/workflows/build-triton-wheel.yml`); without working triton-xpu, manywheel XPU 3.15 builds cannot link triton and fail. ## Change `.github/scripts/generate_binary_build_matrix.py` — adds 8 lines mirroring the ROCm skip block: ```py # TODO: Re-enable XPU for python 3.15 once the triton XPU 3.15 # wheel build is fixed (tracked in #184901). Triton XPU is # currently skipped for 3.15/3.15t in build-triton-wheel.yml. if arch_version in XPU_ARCHES and ( python_version == "3.15" or python_version == "3.15t" ): continue ``` ## Notes The generated workflow YAML (`generated-linux-binary-manywheel-nightly.yml`) will need regenerating to drop the `manywheel-py3_15-xpu` / `manywheel-py3_15t-xpu` entries — that's 44 lines removed, fully derived from this script change via: ```bash python .github/scripts/generate_ci_workflows.py ``` Will follow up with the regen commit, or happy for a maintainer to push it on this branch. ## References - Umbrella: #184352 (Python 3.15 support for PyTorch) - Tracking: #184901 (XPU triton 3.15 build failure) - Related: #184829 (triton 3.15 wheel build that skipped XPU) - Precedent: #184600 (ROCm 3.15 skip) Pull Request resolved: #184906 Approved by: https://github.com/albanD, https://github.com/malfet
pytorchmergebot
pushed a commit
to khushi-411/pytorch
that referenced
this pull request
May 24, 2026
Summary: Adds Python 3.15 and 3.15t (free-threaded) to the triton wheel build matrix for both Linux and Windows, mirroring PR pytorch#159261 which added 3.14 and 3.14t. Includes the corresponding PYTHON_EXECUTABLE case branches pointing at /opt/python/cp315-cp315 and /opt/python/cp315-cp315t. Test Plan: Triggered by `.github/workflows/build-triton-wheel.yml` via PR / nightly schedule. Pull Request resolved: pytorch#184829 Approved by: https://github.com/malfet
pytorchmergebot
pushed a commit
to khushi-411/pytorch
that referenced
this pull request
May 24, 2026
## Summary Skip XPU manywheel builds for Python 3.15 / 3.15t in the same way pytorch#184600 skipped ROCm. Triton XPU 3.15 wheel builds are currently broken (see the exclusion in `.github/workflows/build-triton-wheel.yml`); without working triton-xpu, manywheel XPU 3.15 builds cannot link triton and fail. ## Change `.github/scripts/generate_binary_build_matrix.py` — adds 8 lines mirroring the ROCm skip block: ```py # TODO: Re-enable XPU for python 3.15 once the triton XPU 3.15 # wheel build is fixed (tracked in pytorch#184901). Triton XPU is # currently skipped for 3.15/3.15t in build-triton-wheel.yml. if arch_version in XPU_ARCHES and ( python_version == "3.15" or python_version == "3.15t" ): continue ``` ## Notes The generated workflow YAML (`generated-linux-binary-manywheel-nightly.yml`) will need regenerating to drop the `manywheel-py3_15-xpu` / `manywheel-py3_15t-xpu` entries — that's 44 lines removed, fully derived from this script change via: ```bash python .github/scripts/generate_ci_workflows.py ``` Will follow up with the regen commit, or happy for a maintainer to push it on this branch. ## References - Umbrella: pytorch#184352 (Python 3.15 support for PyTorch) - Tracking: pytorch#184901 (XPU triton 3.15 build failure) - Related: pytorch#184829 (triton 3.15 wheel build that skipped XPU) - Precedent: pytorch#184600 (ROCm 3.15 skip) Pull Request resolved: pytorch#184906 Approved by: https://github.com/albanD, https://github.com/malfet
pytorchmergebot
pushed a commit
to chuanqi129/pytorch
that referenced
this pull request
May 27, 2026
The XPU triton 3.15 wheel build issue (tracked in pytorch#184901) has been fixed. Remove the exclusion added in pytorch#184829 and the manywheel skip added in pytorch#184906 so that XPU Python 3.15/3.15t builds run again. Changes: - .github/workflows/build-triton-wheel.yml: remove exclude block for xpu+3.15/3.15t - .github/scripts/generate_binary_build_matrix.py: remove XPU 3.15 skip - Regenerated generated-linux-binary-manywheel-nightly.yml Test Plan: CI will validate via build-triton-wheel.yml and manywheel nightly. Authored by Claude.
chuanqi129
added a commit
to chuanqi129/pytorch
that referenced
this pull request
Jun 2, 2026
The XPU triton 3.15 wheel build issue (tracked in pytorch#184901) has been fixed. Remove the exclusion added in pytorch#184829 and the manywheel skip added in pytorch#184906 so that XPU Python 3.15/3.15t builds run again. Changes: - .github/workflows/build-triton-wheel.yml: remove exclude block for xpu+3.15/3.15t - .github/scripts/generate_binary_build_matrix.py: remove XPU 3.15 skip - Regenerated generated-linux-binary-manywheel-nightly.yml Test Plan: CI will validate via build-triton-wheel.yml and manywheel nightly. Authored by Claude.
pytorchmergebot
pushed a commit
that referenced
this pull request
Jun 2, 2026
## Summary Re-enable XPU triton wheel builds and manywheel builds for Python 3.15/3.15t on Linux. fixes #184901 This reverts the XPU-specific exclusions added in #184829 and #184906. ## Changes - `.github/workflows/build-triton-wheel.yml`: remove `exclude` block for xpu + 3.15/3.15t - `.github/scripts/generate_binary_build_matrix.py`: remove XPU 3.15 skip block - Regenerated `generated-linux-binary-manywheel-nightly.yml` to re-add `manywheel-py3_15-xpu` / `manywheel-py3_15t-xpu` entries ## Test Plan CI will validate via `build-triton-wheel.yml` and manywheel nightly workflows. Pull Request resolved: #185094 Approved by: https://github.com/Skylion007, https://github.com/EikanWang
gplutop7
pushed a commit
to gplutop7/pytorch
that referenced
this pull request
Jul 15, 2026
Summary: Adds Python 3.15 and 3.15t (free-threaded) to the triton wheel build matrix for both Linux and Windows, mirroring PR pytorch#159261 which added 3.14 and 3.14t. Includes the corresponding PYTHON_EXECUTABLE case branches pointing at /opt/python/cp315-cp315 and /opt/python/cp315-cp315t. Test Plan: Triggered by `.github/workflows/build-triton-wheel.yml` via PR / nightly schedule. Pull Request resolved: pytorch#184829 Approved by: https://github.com/malfet
gplutop7
pushed a commit
to gplutop7/pytorch
that referenced
this pull request
Jul 15, 2026
## Summary Skip XPU manywheel builds for Python 3.15 / 3.15t in the same way pytorch#184600 skipped ROCm. Triton XPU 3.15 wheel builds are currently broken (see the exclusion in `.github/workflows/build-triton-wheel.yml`); without working triton-xpu, manywheel XPU 3.15 builds cannot link triton and fail. ## Change `.github/scripts/generate_binary_build_matrix.py` — adds 8 lines mirroring the ROCm skip block: ```py # TODO: Re-enable XPU for python 3.15 once the triton XPU 3.15 # wheel build is fixed (tracked in pytorch#184901). Triton XPU is # currently skipped for 3.15/3.15t in build-triton-wheel.yml. if arch_version in XPU_ARCHES and ( python_version == "3.15" or python_version == "3.15t" ): continue ``` ## Notes The generated workflow YAML (`generated-linux-binary-manywheel-nightly.yml`) will need regenerating to drop the `manywheel-py3_15-xpu` / `manywheel-py3_15t-xpu` entries — that's 44 lines removed, fully derived from this script change via: ```bash python .github/scripts/generate_ci_workflows.py ``` Will follow up with the regen commit, or happy for a maintainer to push it on this branch. ## References - Umbrella: pytorch#184352 (Python 3.15 support for PyTorch) - Tracking: pytorch#184901 (XPU triton 3.15 build failure) - Related: pytorch#184829 (triton 3.15 wheel build that skipped XPU) - Precedent: pytorch#184600 (ROCm 3.15 skip) Pull Request resolved: pytorch#184906 Approved by: https://github.com/albanD, https://github.com/malfet
gplutop7
pushed a commit
to gplutop7/pytorch
that referenced
this pull request
Jul 15, 2026
## Summary Re-enable XPU triton wheel builds and manywheel builds for Python 3.15/3.15t on Linux. fixes pytorch#184901 This reverts the XPU-specific exclusions added in pytorch#184829 and pytorch#184906. ## Changes - `.github/workflows/build-triton-wheel.yml`: remove `exclude` block for xpu + 3.15/3.15t - `.github/scripts/generate_binary_build_matrix.py`: remove XPU 3.15 skip block - Regenerated `generated-linux-binary-manywheel-nightly.yml` to re-add `manywheel-py3_15-xpu` / `manywheel-py3_15t-xpu` entries ## Test Plan CI will validate via `build-triton-wheel.yml` and manywheel nightly workflows. Pull Request resolved: pytorch#185094 Approved by: https://github.com/Skylion007, https://github.com/EikanWang
aws-kingrj
pushed a commit
to amazon-contributing/upstream-to-pytorch
that referenced
this pull request
Jul 29, 2026
Summary: Adds Python 3.15 and 3.15t (free-threaded) to the triton wheel build matrix for both Linux and Windows, mirroring PR pytorch#159261 which added 3.14 and 3.14t. Includes the corresponding PYTHON_EXECUTABLE case branches pointing at /opt/python/cp315-cp315 and /opt/python/cp315-cp315t. Test Plan: Triggered by `.github/workflows/build-triton-wheel.yml` via PR / nightly schedule. Pull Request resolved: pytorch#184829 Approved by: https://github.com/malfet
aws-kingrj
pushed a commit
to amazon-contributing/upstream-to-pytorch
that referenced
this pull request
Jul 29, 2026
## Summary Skip XPU manywheel builds for Python 3.15 / 3.15t in the same way pytorch#184600 skipped ROCm. Triton XPU 3.15 wheel builds are currently broken (see the exclusion in `.github/workflows/build-triton-wheel.yml`); without working triton-xpu, manywheel XPU 3.15 builds cannot link triton and fail. ## Change `.github/scripts/generate_binary_build_matrix.py` — adds 8 lines mirroring the ROCm skip block: ```py # TODO: Re-enable XPU for python 3.15 once the triton XPU 3.15 # wheel build is fixed (tracked in pytorch#184901). Triton XPU is # currently skipped for 3.15/3.15t in build-triton-wheel.yml. if arch_version in XPU_ARCHES and ( python_version == "3.15" or python_version == "3.15t" ): continue ``` ## Notes The generated workflow YAML (`generated-linux-binary-manywheel-nightly.yml`) will need regenerating to drop the `manywheel-py3_15-xpu` / `manywheel-py3_15t-xpu` entries — that's 44 lines removed, fully derived from this script change via: ```bash python .github/scripts/generate_ci_workflows.py ``` Will follow up with the regen commit, or happy for a maintainer to push it on this branch. ## References - Umbrella: pytorch#184352 (Python 3.15 support for PyTorch) - Tracking: pytorch#184901 (XPU triton 3.15 build failure) - Related: pytorch#184829 (triton 3.15 wheel build that skipped XPU) - Precedent: pytorch#184600 (ROCm 3.15 skip) Pull Request resolved: pytorch#184906 Approved by: https://github.com/albanD, https://github.com/malfet
aws-kingrj
pushed a commit
to amazon-contributing/upstream-to-pytorch
that referenced
this pull request
Jul 29, 2026
## Summary Re-enable XPU triton wheel builds and manywheel builds for Python 3.15/3.15t on Linux. fixes pytorch#184901 This reverts the XPU-specific exclusions added in pytorch#184829 and pytorch#184906. ## Changes - `.github/workflows/build-triton-wheel.yml`: remove `exclude` block for xpu + 3.15/3.15t - `.github/scripts/generate_binary_build_matrix.py`: remove XPU 3.15 skip block - Regenerated `generated-linux-binary-manywheel-nightly.yml` to re-add `manywheel-py3_15-xpu` / `manywheel-py3_15t-xpu` entries ## Test Plan CI will validate via `build-triton-wheel.yml` and manywheel nightly workflows. Pull Request resolved: pytorch#185094 Approved by: https://github.com/Skylion007, https://github.com/EikanWang
60 of 63 tasks
TroyGarden
added a commit
to TroyGarden/torchrec
that referenced
this pull request
Sep 24, 2026
Summary: - TorchRec's CUDA unit-test workflow exercises Python 3.15 and 3.15 free-threaded environments, but pip install torch does not install Triton for them. - The PyTorch 2.15 nightly wheel carries a Triton requirement guarded by platform_system == Linux and python_version < 3.15. Matching cp315 and cp315t Triton wheels are available on the PyTorch nightly index, but the environment marker prevents pip from selecting them. - This became a visible TorchRec failure after PyTorch PR #178393 (D121221950) enabled Dynamo on Python 3.15 by moving the unsupported-version boundary from 3.15 to 3.16. Before that change, is_dynamo_supported returned false and the CUDA Graph test was skipped. - The failing test does not import Triton directly. It calls DLRM.compile_dense_path, which wraps the dense, interaction, and over architectures with torch.compile in reduce-overhead mode. With no explicit backend, torch.compile selects Inductor. During the first compiled CUDA forward, Inductor calls has_triton and raises TritonMissing when no usable installation is present. - Install Triton directly from the selected CUDA package index for workflow entries whose matrix Python tag is py315 or newer. - Remove the Python 3.15 version exclusions from the TensorDict and Triton test suites. Keep their CUDA availability guards and conditional imports so CPU jobs continue to collect safely. References: - PyTorch Dynamo 3.15 support: pytorch/pytorch#178393 - Internal mirror: https://www.internalfb.com/diff/D121221950 - Original Python 3.15 Triton packaging exclusion: pytorch/pytorch#185560 - Python 3.15 Triton wheel build: pytorch/pytorch#184829 - Failing call chain: https://www.internalfb.com/code/fbsource/fbcode/torchrec/models/tests/test_cuda_graph.py?lines=112-114 https://www.internalfb.com/code/fbsource/fbcode/torchrec/models/dlrm.py?lines=573-608 https://www.internalfb.com/code/fbsource/fbcode/caffe2/torch/_inductor/scheduler.py?lines=11612-11630 Differential Revision: D121621735
TroyGarden
added a commit
to TroyGarden/torchrec
that referenced
this pull request
Sep 24, 2026
Summary: - TorchRec's CUDA unit-test workflow exercises Python 3.15 and 3.15 free-threaded environments, but pip install torch does not install Triton for them. - The PyTorch 2.15 nightly wheel carries a Triton requirement guarded by platform_system == Linux and python_version < 3.15. Matching cp315 and cp315t Triton wheels are available on the PyTorch nightly index, but the environment marker prevents pip from selecting them. - This became a visible TorchRec failure after PyTorch PR #178393 (D121221950) enabled Dynamo on Python 3.15 by moving the unsupported-version boundary from 3.15 to 3.16. Before that change, is_dynamo_supported returned false and the CUDA Graph test was skipped. - The failing test does not import Triton directly. It calls DLRM.compile_dense_path, which wraps the dense, interaction, and over architectures with torch.compile in reduce-overhead mode. With no explicit backend, torch.compile selects Inductor. During the first compiled CUDA forward, Inductor calls has_triton and raises TritonMissing when no usable installation is present. - Install Triton for workflow entries whose matrix Python tag is py315 or newer. - Remove the Python 3.15 version exclusions from the TensorDict and Triton test suites. Keep their CUDA availability guards and conditional imports so CPU jobs continue to collect safely. References: - PyTorch Dynamo 3.15 support: pytorch/pytorch#178393 - Internal mirror: https://www.internalfb.com/diff/D121221950 - Original Python 3.15 Triton packaging exclusion: pytorch/pytorch#185560 - Python 3.15 Triton wheel build: pytorch/pytorch#184829 - Failing call chain: https://www.internalfb.com/code/fbsource/fbcode/torchrec/models/tests/test_cuda_graph.py?lines=112-114 https://www.internalfb.com/code/fbsource/fbcode/torchrec/models/dlrm.py?lines=573-608 https://www.internalfb.com/code/fbsource/fbcode/caffe2/torch/_inductor/scheduler.py?lines=11612-11630 Differential Revision: D121621735
TroyGarden
added a commit
to TroyGarden/torchrec
that referenced
this pull request
Sep 24, 2026
Summary: - TorchRec's CUDA unit-test workflow exercises Python 3.15 and 3.15 free-threaded environments, but pip install torch does not install Triton for them. - The PyTorch 2.15 nightly wheel carries a Triton requirement guarded by platform_system == Linux and python_version < 3.15. Matching cp315 and cp315t Triton wheels are available on the PyTorch nightly index, but the environment marker prevents pip from selecting them. - This became a visible TorchRec failure after PyTorch PR #178393 (D121221950) enabled Dynamo on Python 3.15 by moving the unsupported-version boundary from 3.15 to 3.16. Before that change, is_dynamo_supported returned false and the CUDA Graph test was skipped. - The failing test does not import Triton directly. It calls DLRM.compile_dense_path, which wraps the dense, interaction, and over architectures with torch.compile in reduce-overhead mode. With no explicit backend, torch.compile selects Inductor. During the first compiled CUDA forward, Inductor calls has_triton and raises TritonMissing when no usable installation is present. - Install the Triton 3.8.0+gitc01b6774 build matching the current PyTorch nightly for workflow entries whose matrix Python tag is py315 or newer. Fetch it from the PyTorch CUDA index and override its stale Requires-Python metadata gate with --ignore-requires-python. - Remove the Python 3.15 version exclusions from the TensorDict and Triton test suites. Keep their CUDA availability guards and conditional imports so CPU jobs continue to collect safely. References: - PyTorch Dynamo 3.15 support: pytorch/pytorch#178393 - Internal mirror: https://www.internalfb.com/diff/D121221950 - Original Python 3.15 Triton packaging exclusion: pytorch/pytorch#185560 - Python 3.15 Triton wheel build: pytorch/pytorch#184829 - Failing call chain: https://www.internalfb.com/code/fbsource/fbcode/torchrec/models/tests/test_cuda_graph.py?lines=112-114 https://www.internalfb.com/code/fbsource/fbcode/torchrec/models/dlrm.py?lines=573-608 https://www.internalfb.com/code/fbsource/fbcode/caffe2/torch/_inductor/scheduler.py?lines=11612-11630 Differential Revision: D121621735
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.
Summary:
Adds Python 3.15 and 3.15t (free-threaded) to the triton wheel build matrix for both Linux and Windows, mirroring PR #159261 which added 3.14 and 3.14t. Includes the corresponding PYTHON_EXECUTABLE case branches pointing at /opt/python/cp315-cp315 and /opt/python/cp315-cp315t.
Test Plan: Triggered by
.github/workflows/build-triton-wheel.ymlvia PR / nightly schedule.