Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FSDP] Refactor comm hooks directory
Pull Request resolved: #85496 Move FSDP comm hooks into FSDP folder, expose the reduced precision hooks in torch.distributed.fsdp.default_comm_hooks namespace ghstack-source-id: 168203289 Differential Revision: [D39743042](https://our.internmc.facebook.com/intern/diff/D39743042/)
- Loading branch information
1 parent
3805af4
commit 2b24328
Showing
6 changed files
with
37 additions
and
27 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 was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
|
||
from . import default_hooks | ||
|
||
LOW_PRECISION_HOOKS = [ | ||
default_hooks.fp16_compress_hook, | ||
default_hooks.bf16_compress_hook, | ||
] |
File renamed without changes.