Skip to content

Workaround for torch.compile limit when using fused backpass - #1523

Merged
dxqb merged 2 commits into
Nerogar:masterfrom
Koratahiu:fix_fused_compile_limit
Jun 14, 2026
Merged

dxqb merged 2 commits into
Nerogar:masterfrom
Koratahiu:fix_fused_compile_limit

Conversation

@Koratahiu

Copy link
Copy Markdown
Contributor

Workaround when using torch.compile and fused backpass which #1511 didn't cover.

Koratahiu and others added 2 commits June 14, 2026 21:07
Reference pytorch/pytorch#186537 at the two call sites that are only
necessary because of that bug (autograd worker thread checkpointing
forward, and the fused-backward grad hook).
@dxqb
dxqb merged commit 1dc962f into Nerogar:master Jun 14, 2026
1 check passed
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