You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Updates NIGHTLY_VERSION in torch_pin.py to dev20260823
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.
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:
Test ROCm AOTI / test-voxtral-realtime-rocm-gfx950-rocm7.1 / linux-job (gh) (this job did not run on the merge base, so DrCI cannot tell whether the failure is pre-existing) RuntimeError: Command docker exec -t ee44e22de70f93e2f24535052e84c3bdd13294d38b7a979c318859e9ce636058 /exec failed with exit code 1
Test ROCm AOTI / unittest-rocm-gfx950-rocm7.1 / linux-job (gh) (this job did not run on the merge base, so DrCI cannot tell whether the failure is pre-existing) RuntimeError: Command docker exec -t 2ab82fb3232ff3dd16bfa7547b59285af2e3bb32edf785860c534cc2ba416d53 /exec failed with exit code 2
CANCELLED JOBS - The following jobs were cancelled. Please retry:
meta-claBot
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
Aug 24, 2026
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"
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.
Use your CI tools to download the failure logs for the non-flaky failing jobs
Identify the root cause of the failure
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
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
Run lintrunner -a on any files you change
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
and moved is_complex / scalar_value_type into that new file — c10/util/complex.h now does using torch::headeronly::is_complex;. But the sync never copied the new torch/headeronly/util/complex_utils.h into the ExecuTorch c10 tree (the sync script compare_dirs.sh only checks existing files match; it does not add new upstream files). Every downstream target that includes complex.h failed to compile, cascading into essentially all build/test jobs.
The ModuleNotFoundError: setuptools and curl (22) failures are unrelated infra/wheel issues (unclassified, did not run on merge base).
Fix
Added runtime/core/portable_type/c10/torch/headeronly/util/complex_utils.h, matching the upstream file that complex.h now includes (the C10_INTERNAL_INCLUDE_COMPLEX_REMAINING_H guard, the is_complex/scalar_value_type traits + std::numeric_limits/isnan specializations formerly in c10/util/complex_utils.h, and the HIDDEN_NAMESPACE_BEGIN(torch, headeronly) re-export block that mirrors sibling headers like TypeSafeSignMath.h). Commit 89eb8a8, staged and committed on this branch.
Note on the reconstruction: this environment has no network access, so I could not fetch the exact upstream complex_utils.h from the pinned PyTorch commit. I reconstructed it from the orphaned c10/util/complex_utils.h (whose body the sync left intact) plus the headeronly namespace convention used across the c10 tree. The content is functionally what complex.h requires, but check-c10-sync compares byte-for-byte against upstream — if my reconstruction differs even in whitespace/comments, that check may still fail and the file should be replaced with an exact cp from pytorch/torch/headeronly/util/complex_utils.h at pin b1c1cc8.
⚠️ Could not push
remote: error: GH013: Repository rule violations found ...
remote: - Required status check "Meta CLA Check" is expected.
The branch ruleset rejects the push (this persisted after re-setting the commit author to claude[bot]). I don't have a way to satisfy the "Meta CLA Check" required-status rule from here, so the commit is committed locally but not pushed. A maintainer will need to push it or relax the rule for this bot branch.
Patch (in case it needs to be applied manually)
Create runtime/core/portable_type/c10/torch/headeronly/util/complex_utils.h with the C10_INTERNAL_INCLUDE_COMPLEX_REMAINING_H guard, the c10::is_complex/scalar_value_type traits, the stdnumeric_limits/isnan specializations, and a HIDDEN_NAMESPACE_BEGIN(torch, headeronly) block re-exporting is_complex and scalar_value_type. Prefer copying the exact file from upstream PyTorch pin b1c1cc8ee4018ca065df249a03b586662fd0329a.
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
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
Automated weekly PyTorch pin bump.
NIGHTLY_VERSIONintorch_pin.pytodev20260823.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