-
Notifications
You must be signed in to change notification settings - Fork 434
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PR #18773: [ReduceScatterCombiner] Provide option to not combine with…
…in while loop bodies. Imported from GitHub PR #18773 Same as #18772 but for reduce-scatters. Copying from #18772 This PR provides an option to disable combining reduce-scatters inside while loop bodies. It is set to true, so existing behavior is maintained. This option is provided as some strategies for FSDP may only want to coalesce collectives that are outside of a while loop. Collectives inside while loop are not coalesced, as we assume there is sufficient compute to overlap. Copybara import of the project: -- 9a7d247 by ptoulme-aws <[email protected]>: [ReduceScatterCombiner] Provide option to not combine within while loop bodies. Merging this change closes #18773 COPYBARA_INTEGRATE_REVIEW=#18773 from ptoulme-aws:reduce_scatter_combine_while 9a7d247 PiperOrigin-RevId: 694566690
- Loading branch information
1 parent
3e87afa
commit 22c2e04
Showing
3 changed files
with
66 additions
and
7 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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