-
Notifications
You must be signed in to change notification settings - Fork 363
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[JAX] Fix incorrect sharding when only enable FSDP and Mem Misaligned…
… in LN_BWD. (#379) * [JAX] Fix incorrect sharding when only enable FSDP. Signed-off-by: Ming Huang <[email protected]> * [JAX] Add WAR to memory misaligned issues of LN BWD. Signed-off-by: Ming Huang <[email protected]> * [JAX] Reuse sm_arch for avoiding duplicate code. Signed-off-by: Ming Huang <[email protected]> * [JAX] Support multiple sizes allocation in WorkspaceManager. Signed-off-by: Ming Huang <[email protected]> * [JAX] Use template and ariadic arguments to improve multple sizes allocator. Signed-off-by: Ming Huang <[email protected]> --------- Signed-off-by: Ming Huang <[email protected]>
- Loading branch information
1 parent
b8ba734
commit 3a63b13
Showing
5 changed files
with
44 additions
and
35 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
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