Bump PyTorch pin to nightly dev20260726 - #21394
Conversation
This PR needs a
|
|
@claude [ci-fix-attempt 1/3] The Please:
Important constraints:
|
|
Claude finished @pytorchupdatebot's task in 6m 41s —— View job CI Fix — PyTorch pin bump (attempt 1/3)Root cause identified. PyTorch nightly Two ExecuTorch scripts build PyTorch from source this way, which accounts for essentially all the non-flaky failures:
Fix applied (committed locally): swap the removed entrypoint for the PyTorch-documented replacement --- a/.ci/docker/common/install_pytorch.sh
+++ b/.ci/docker/common/install_pytorch.sh
configure_pytorch_compiler
- # Then build and install PyTorch
- conda_run python setup.py bdist_wheel
+ # Then build and install PyTorch. `python setup.py bdist_wheel` was removed as
+ # a build entrypoint in torch 2.14; use the PEP 517 replacement instead.
+ pip_install build
+ conda_run python -m build --wheel --no-isolation
pip_install "$(echo dist/*.whl)"
--- a/.ci/scripts/utils.sh
+++ b/.ci/scripts/utils.sh
- pip install -r requirements-build.txt
+ pip install -r requirements-build.txt build
...
- USE_DISTRIBUTED=1 python setup.py bdist_wheel
+ # `python setup.py bdist_wheel` was removed as a build entrypoint in torch
+ # 2.14; use the PEP 517 replacement instead.
+ USE_DISTRIBUTED=1 python -m build --wheel --no-isolation
|
Summary
Automated weekly PyTorch pin bump.
NIGHTLY_VERSIONintorch_pin.pytodev20260726.ci/docker/ci_commit_pins/pytorch.txtto the corresponding nightly commit hashruntime/core/portable_type/c10/This PR was created automatically. If CI fails, Claude will attempt to fix issues (up to 3 attempts). If CI still fails, human review will be requested.
cc @jakeszwe