Skip to content

Bump PyTorch pin to nightly dev20260607#20104

Open
pytorchupdatebot wants to merge 1 commit into
mainfrom
automated/pytorch-pin-bump-dev20260607
Open

Bump PyTorch pin to nightly dev20260607#20104
pytorchupdatebot wants to merge 1 commit into
mainfrom
automated/pytorch-pin-bump-dev20260607

Conversation

@pytorchupdatebot

Copy link
Copy Markdown
Collaborator

Summary

Automated weekly PyTorch pin bump.

  • Updates NIGHTLY_VERSION in torch_pin.py to dev20260607
  • Updates .ci/docker/ci_commit_pins/pytorch.txt to the corresponding nightly commit hash
  • Syncs c10 headers from PyTorch into runtime/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

@pytorch-bot

pytorch-bot Bot commented Jun 8, 2026

Copy link
Copy Markdown

🔗 Helpful Links

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

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

❌ 66 New Failures, 127 Cancelled Jobs, 5 Unclassified Failures

As of commit 641ad29 with merge base 968fff9 (image):

NEW FAILURES - The following jobs have failed:

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

CANCELLED JOBS - The following jobs were cancelled. Please retry:

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

@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 Jun 8, 2026
@github-actions

github-actions Bot commented Jun 8, 2026

Copy link
Copy Markdown

This PR needs a release notes: label

If your change should be included in the release notes (i.e. would users of this library care about this change?), please use a label starting with release notes:. This helps us keep track and include your important work in the next release notes.

To add a label, you can comment to pytorchbot, for example
@pytorchbot label "release notes: none"

For more information, see
https://github.com/pytorch/pytorch/wiki/PyTorch-AutoLabel-Bot#why-categorize-for-release-notes-and-how-does-it-work.

@pytorchupdatebot

Copy link
Copy Markdown
Collaborator Author

@claude [ci-fix-attempt 1/3]

The trunk CI workflow has failed on this automated PyTorch pin bump PR.
Failed run: https://github.com/pytorch/executorch/actions/runs/27131961889

Please:

  1. Read the Dr. CI comment on this PR for a summary of which jobs failed and whether they are flaky. Ignore failures marked as FLAKY.
  2. Use your CI tools to download the failure logs for the non-flaky failing jobs
  3. Identify the root cause of the failure
  4. If this is a build or test failure caused by PyTorch API changes, fix the ExecuTorch code to be compatible with the new PyTorch version
  5. If this is a c10 header sync issue, the headers have already been synced by the pin bump script — the issue is likely in ExecuTorch code that uses those headers
  6. Run lintrunner -a on any files you change
  7. Push your fix as a new commit to this PR branch

Important constraints:

  • Do NOT modify torch_pin.py or .ci/docker/ci_commit_pins/pytorch.txt — the pin itself is correct
  • Do NOT modify files under runtime/core/portable_type/c10/ unless the sync introduced a new API that ExecuTorch code needs to adapt to
  • Focus on fixing ExecuTorch code to be compatible with the new PyTorch APIs
  • If this is a major BC-breaking change that requires architectural discussion, say so clearly and stop — do not attempt a fix

@claude

claude Bot commented Jun 8, 2026

Copy link
Copy Markdown

Claude finished @pytorchupdatebot's task in 8m 1s —— View job


CI Fix Attempt (1/3)

Investigating CI failures from the PyTorch pin bump to dev20260607.

  • Analyze Dr. CI failure summary to identify non-flaky failures
  • Download and analyze CI logs for key failures
  • Identify root cause
  • Implement fix (if possible)

Root Cause Analysis

I've identified two separate upstream issues in this PyTorch nightly that are causing the CI failures:

Issue 1: aten.transpose.Dimname overload removed (affects ~50+ jobs)

Error: AttributeError: The underlying op of 'aten.transpose' has no overload name 'Dimname'

Location: torchao/quantization/pt2e/quantizer/port_metadata_pass.py:181

Impact: All jobs running quantization via convert_pt2e() fail — this includes xnnpack-quantization-delegation tests, test_target_recipes, QNN tests, and llama runner tests.

Root cause: PyTorch nightly dev20260607 removed the aten.transpose.Dimname overload from native_functions.yaml. The torchao package (installed as a dependency of torch) still references this overload in port_metadata_pass.py. This is a torchao bug that needs to be fixed upstream in pytorch/ao.

Issue 2: Docker build requires Clang 16+ (affects docker-builds)

Error: Clang-16 or newer is required to compile PyTorch, but found 12.0.1

Impact: All Docker image builds fail because PyTorch nightly now requires Clang 16+ to compile.

Root cause: The ExecuTorch CI Docker images ship with Clang 12, but PyTorch's new CMakeLists.txt now enforces a minimum of Clang 16.

Conclusion

Neither issue can be fixed by modifying ExecuTorch code:

  1. The Dimname error is inside torchao — a third-party package installed from pip as a transitive dependency of torch. ExecuTorch doesn't control this code. The fix needs to happen in pytorch/ao.

  2. The Clang version requirement is a PyTorch build infrastructure change that requires updating the Docker base images (Clang 12 → Clang 16+), which is a CI infra change, not a code change.

This is a major BC-breaking change that requires coordination with the PyTorch and torchao teams. The PyTorch nightly has broken compatibility with its own ecosystem (torchao), and additionally now requires Clang 16+ which the current CI infrastructure doesn't provide.

Recommended actions:

  • Wait for pytorch/ao to land a fix for the Dimname overload removal
  • Update Docker images to use Clang 16+ (separate infra PR)
  • Re-run the pin bump after both issues are resolved upstream

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci/pytorch-pin-bump 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