Skip to content

Conversation

…lts in unwanted graph break resumption

[ghstack-poisoned]
@pytorch-bot
Copy link

pytorch-bot bot commented Oct 29, 2025

🔗 Helpful Links

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

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

✅ No Failures

As of commit faa392b with merge base df71b70 (image):
💚 Looks good so far! There are no failures yet. 💚

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

Copy link
Contributor

@Lucaskabela Lucaskabela left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor though on improving this debuggability

or self.error_on_graph_break
or self.is_tracing_resume_prologue
):
raise
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we raise e here for error visibility?

Copy link
Member Author

@williamwen42 williamwen42 Oct 30, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think re-raise is standard Python practice? It's done below.

@williamwen42
Copy link
Member Author

@pytorchbot merge

@pytorch-bot pytorch-bot bot added the ciflow/trunk Trigger trunk jobs on your pull request label Oct 30, 2025
@pytorchmergebot
Copy link
Collaborator

Merge started

Your change will be merged once all checks pass (ETA 0-4 Hours).

Learn more about merging in the wiki.

Questions? Feedback? Please reach out to the PyTorch DevX Team

Advanced Debugging
Check the merge workflow status
here

@pytorchmergebot
Copy link
Collaborator

The merge job was canceled or timed out. This most often happen if two merge requests were issued for the same PR, or if merge job was waiting for more than 6 hours for tests to finish. In later case, please do not hesitate to reissue the merge command
For more information see pytorch-bot wiki.

@williamwen42
Copy link
Member Author

@pytorchbot merge

@pytorchmergebot
Copy link
Collaborator

Merge started

Your change will be merged once all checks pass (ETA 0-4 Hours).

Learn more about merging in the wiki.

Questions? Feedback? Please reach out to the PyTorch DevX Team

Advanced Debugging
Check the merge workflow status
here

@williamwen42
Copy link
Member Author

@pytorchbot rebase

@pytorchmergebot
Copy link
Collaborator

@pytorchbot started a rebase job onto refs/remotes/origin/viable/strict. Check the current status here

[ghstack-poisoned]
pytorchmergebot pushed a commit that referenced this pull request Oct 31, 2025
…lts in unwanted graph break resumption

ghstack-source-id: 9676e4f
Pull Request resolved: #166586
@pytorchmergebot
Copy link
Collaborator

Successfully rebased gh/williamwen42/322/orig onto refs/remotes/origin/viable/strict, please pull locally before adding more changes (for example, via ghstack checkout https://github.com/pytorch/pytorch/pull/166586)

@williamwen42
Copy link
Member Author

@pytorchbot merge

@pytorchmergebot
Copy link
Collaborator

The merge job was canceled or timed out. This most often happen if two merge requests were issued for the same PR, or if merge job was waiting for more than 6 hours for tests to finish. In later case, please do not hesitate to reissue the merge command
For more information see pytorch-bot wiki.

@pytorchmergebot
Copy link
Collaborator

Merge started

Your change will be merged once all checks pass (ETA 0-4 Hours).

Learn more about merging in the wiki.

Questions? Feedback? Please reach out to the PyTorch DevX Team

Advanced Debugging
Check the merge workflow status
here

pytorchmergebot pushed a commit that referenced this pull request Oct 31, 2025
BoyuanFeng pushed a commit that referenced this pull request Oct 31, 2025
…lts in unwanted graph break resumption (#166586)

Fixes #166589

Pull Request resolved: #166586
Approved by: https://github.com/Lucaskabela
ghstack dependencies: #166476, #166477
BoyuanFeng pushed a commit that referenced this pull request Oct 31, 2025
@Lucaskabela
Copy link
Contributor

@pytorchbot cherry-pick --onto release/2.9 --fixes "error in new nested graphbreak feature (#166589)" -c fixnewfeature

@Lucaskabela Lucaskabela added this to the 2.9.1 milestone Nov 4, 2025
@pytorchbot
Copy link
Collaborator

Cherry picking #166586

Command git -C /home/runner/work/pytorch/pytorch cherry-pick -x 267d0197bfca0232488d51dd1ff735d619adc2cf returned non-zero exit code 1

Auto-merging test/dynamo/test_decorators.py
Auto-merging torch/_dynamo/symbolic_convert.py
CONFLICT (content): Merge conflict in torch/_dynamo/symbolic_convert.py
error: could not apply 267d0197bfc... [dynamo] fix error_on_graph_break bug where non-empty checkpoint results in unwanted graph break resumption (#166586)
hint: After resolving the conflicts, mark them with
hint: "git add/rm <pathspec>", then run
hint: "git cherry-pick --continue".
hint: You can instead skip this commit with "git cherry-pick --skip".
hint: To abort and get back to the state before "git cherry-pick",
hint: run "git cherry-pick --abort".
hint: Disable this message with "git config set advice.mergeConflict false"
Details for Dev Infra team Raised by workflow job

Lucaskabela pushed a commit that referenced this pull request Nov 4, 2025
…lts in unwanted graph break resumption (#166586)

Fixes #166589

Pull Request resolved: #166586
Approved by: https://github.com/Lucaskabela
ghstack dependencies: #166476, #166477

(cherry picked from commit 267d019)
Lucaskabela pushed a commit that referenced this pull request Nov 4, 2025
…lts in unwanted graph break resumption (#166586)

Fixes #166589

Pull Request resolved: #166586
Approved by: https://github.com/Lucaskabela
ghstack dependencies: #166476, #166477

(cherry picked from commit 267d019)
etaf pushed a commit to etaf/pytorch-inductor-xpu that referenced this pull request Nov 4, 2025
etaf pushed a commit to etaf/pytorch-inductor-xpu that referenced this pull request Nov 4, 2025
atalman pushed a commit that referenced this pull request Nov 5, 2025
…lts in unwanted graph break resumption (#166925)

[dynamo] fix error_on_graph_break bug where non-empty checkpoint results in unwanted graph break resumption (#166586)

Fixes #166589

Pull Request resolved: #166586
Approved by: https://github.com/Lucaskabela
ghstack dependencies: #166476, #166477

(cherry picked from commit 267d019)

Co-authored-by: William Wen <[email protected]>
Khanaksahu pushed a commit to Khanaksahu/pytorch that referenced this pull request Nov 17, 2025
…lts in unwanted graph break resumption

ghstack-source-id: 407b722
Pull Request resolved: pytorch/pytorch#166586
@github-actions github-actions bot deleted the gh/williamwen42/322/head branch December 4, 2025 02:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants