Skip to content

[release/2.12] Skip flaky test_reentrant_parent_error_on_cpu - #3521

Merged
pragupta merged 1 commit into
release/2.12from
dnikolaev/skip_flaky-reentrant-parent-error-rel2.12
Jul 31, 2026
Merged

pragupta merged 1 commit into
release/2.12from
dnikolaev/skip_flaky-reentrant-parent-error-rel2.12

Conversation

@dnikolaev-amd

@dnikolaev-amd dnikolaev-amd commented Jul 30, 2026 •

Copy link
Copy Markdown

PyTorch does not today promise transactional backward. If backward() throws, .grad is generally undefined. The test asserts a strong rule: no leaf grads after a failed combined backward, including nested reentrant work. That is stricter than what engine behavior gives.

Track upstream pytorch#86735

Cherry-picked to release/2.11 branch via #3527

Cherry-picked to release/2.13 branch via #3528

PyTorch does not today promise transactional backward.
If backward() throws, .grad is generally undefined.
The test asserts a strong rule: no leaf grads after a failed
combined backward, including nested reentrant work. That is
stricter than what engine behavior gives.

Track upstream pytorch#86735.
@dnikolaev-amd
dnikolaev-amd requested a review from pragupta July 30, 2026 15:12
@pragupta
pragupta merged commit 3a69aea into release/2.12 Jul 31, 2026
@pragupta
pragupta deleted the dnikolaev/skip_flaky-reentrant-parent-error-rel2.12 branch July 31, 2026 13:48
@pragupta

pragupta commented Jul 31, 2026 •

Copy link
Copy Markdown
Collaborator

! cherry-pick --onto release/2.11 release/2.13

@pragupta
pragupta restored the dnikolaev/skip_flaky-reentrant-parent-error-rel2.12 branch July 31, 2026 13:52
rocm-repo-management-api-6 Bot added a commit that referenced this pull request Jul 31, 2026
Cherry-pick of #3521

Co-authored-by: Dmitry Nikolaev <[email protected]>
@dnikolaev-amd

Copy link
Copy Markdown
Author

!cherry-pick --onto release/2.11 release/2.13

@rocm-repo-management-api-6

Copy link
Copy Markdown

Created branch autogenerated/release/2.11_cherry-pick_pr-3521 and #3527

Created branch autogenerated/release/2.13_cherry-pick_pr-3521 and #3528

Comment processed by Build

@rocm-repo-management-api-6

Copy link
Copy Markdown

Nothing to cherry-pick onto the release/2.11 branch

Can't perform the cherry-pick keyword: unexpected error

Comment processed by Build

pablo-garay pushed a commit that referenced this pull request Aug 24, 2026
Cherry-pick of #3521

Co-authored-by: Dmitry Nikolaev <[email protected]>
(cherry picked from commit d0fcdf9)
jithunnair-amd pushed a commit that referenced this pull request Aug 25, 2026
Cherry-pick of #3521

Co-authored-by: Dmitry Nikolaev <[email protected]>
(cherry picked from commit d0fcdf9)
jithunnair-amd pushed a commit that referenced this pull request Aug 27, 2026
Cherry-pick of #3521

Co-authored-by: Dmitry Nikolaev <[email protected]>
(cherry picked from commit d0fcdf9)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants