Skip to content

Reland torch-family pin centralization#19816

Open
JacobSzwejbka wants to merge 1 commit into
mainfrom
reland-torch-pin-centralization-main
Open

Reland torch-family pin centralization#19816
JacobSzwejbka wants to merge 1 commit into
mainfrom
reland-torch-pin-centralization-main

Conversation

@JacobSzwejbka
Copy link
Copy Markdown
Contributor

Summary

This relands the torch-family pin centralization from #19155 on top of latest main. The current main pin values are preserved while moving the torch, torchvision, torchaudio, and torchcodec specs plus the wheel channel into torch_pin.py.

The weekly pin bump workflow now updates only NIGHTLY_VERSION and only when CHANNEL == "nightly", so release/test pin files are not clobbered. Install scripts, Docker setup, QNN wheel testing, model E2E audio setup, and Moshi/Mimi requirements now read the centralized helpers.

This PR was authored with Claude.

Test Plan

python -m py_compile torch_pin.py install_requirements.py install_executorch.py .github/scripts/update_pytorch_pin.py .ci/scripts/tests/test_torch_pin.py

python -m black --config /dev/null --check torch_pin.py install_requirements.py install_executorch.py .github/scripts/update_pytorch_pin.py .ci/scripts/tests/test_torch_pin.py

bash -n .ci/docker/build.sh .ci/docker/common/install_pytorch.sh .ci/scripts/utils.sh .ci/scripts/test_model_e2e.sh .ci/scripts/test_wheel_package_qnn.sh examples/models/moshi/mimi/install_requirements.sh

git diff --check -- .ci/docker/build.sh .ci/docker/common/install_pytorch.sh .ci/docker/ubuntu/Dockerfile .ci/scripts/test_model_e2e.sh .ci/scripts/test_wheel_package_qnn.sh .ci/scripts/utils.sh .github/scripts/update_pytorch_pin.py .github/workflows/weekly-pytorch-pin-bump.yml examples/models/moshi/mimi/install_requirements.sh install_executorch.py install_requirements.py torch_pin.py .ci/scripts/tests/test_torch_pin.py

python -m pytest -q .ci/scripts/tests/test_torch_pin.py -o addopts=

lintrunner could not run locally because this environment is missing lintrunner_adapters; the commit hook failed at lintrunner init for the same reason, after the pin sync completed successfully.

@pytorch-bot
Copy link
Copy Markdown

pytorch-bot Bot commented May 27, 2026

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/19816

Note: Links to docs will display an error until the docs builds have been completed.

❗ 1 Active SEVs

There are 1 currently active SEVs. If your PR is affected, please view them below:

❌ 1 New Failure, 1 Cancelled Job, 3 Unrelated Failures, 1 Unclassified Failure

As of commit 98be870 with merge base 2f22959 (image):

NEW FAILURE - The following job has failed:

UNCLASSIFIED FAILURE - DrCI could not classify the following job because the workflow did not run on the merge base. The failure may be pre-existing on trunk or introduced by this PR:

  • Check Labels / Check labels (gh) (this job did not run on the merge base, so DrCI cannot tell whether the failure is pre-existing)
    RuntimeError: GraphQL query

CANCELLED JOB - The following job was cancelled. Please retry:

BROKEN TRUNK - The following jobs failed but were present on the merge base:

👉 Rebase onto the `viable/strict` branch to avoid these failures

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@pytorch-bot pytorch-bot Bot added the ci-no-td label May 27, 2026
@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label May 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci-no-td CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants