Skip to content

Conversation

@fmassa
Copy link
Contributor

@fmassa fmassa commented Oct 3, 2025

Instead of marking all all-gather nodes as must-recompute, we now only mark those that can be arbitrarily prefetched, i.e., for which all its recursive inputs are single-input operators and that leads to a graph input.

…t-recompute

Instead of marking all all-gather nodes as must-recompute, we now only mark those that can be arbitrarily prefetched, i.e., for which all its recursive inputs are single-input operators and that leads to a graph input.
@fmassa fmassa requested a review from wconstab October 3, 2025 09:52
@meta-cla meta-cla bot added the CLA Signed This label is managed by the Meta Open Source bot. label Oct 3, 2025
@fmassa fmassa changed the title Improve function to identify if an all-gather should be marked as mus… Improve function to identify if an all-gather should be marked as must-recompute Oct 3, 2025
@fmassa fmassa merged commit d16f016 into main Oct 3, 2025
6 checks passed
@fmassa fmassa deleted the fmassa/improve_fsdp_ac branch October 3, 2025 11:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Meta Open Source bot.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants