-
Notifications
You must be signed in to change notification settings - Fork 376
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[JAX] Support SP + RoPE + GeLU (#602)
* Adding support of sequence parallelism Signed-off-by: Ming Huang <[email protected]> * Adding RoPE Signed-off-by: Ming Huang <[email protected]> * Fix wrong batch_logical_axes Signed-off-by: Ming Huang <[email protected]> * Rnaming FSDP outer env var Signed-off-by: Ming Huang <[email protected]> * Poring RoPE to Praxis layers. Signed-off-by: Ming Huang <[email protected]> * Porting GeLU + [FP8 Cast]. Signed-off-by: Ming Huang <[email protected]> * WAR to make XLA successfully match FP8 GEMM on FFN1 with GeLU. Signed-off-by: Ming Huang <[email protected]> * Allowing arbitrary dimension of NVShape for the workspace allocation Signed-off-by: Ming Huang <[email protected]> * Adding checkpoint_name to fused functions of mlp.py to get better perf with nn.scan. Signed-off-by: Ming Huang <[email protected]> * Modify with review feedback. Signed-off-by: Ming Huang <[email protected]> * Fix bugs Signed-off-by: Ming Huang <[email protected]> * Fix typo. Signed-off-by: Ming Huang <[email protected]> * Fixed for lint Signed-off-by: Ming Huang <[email protected]> * Follow review feedback to modify code. Signed-off-by: Ming Huang <[email protected]> * Fix typo. Signed-off-by: Ming Huang <[email protected]> * Port SP to Praxis Signed-off-by: Ming-Xu Huang <[email protected]> * Fix an issue when enabling both GQA and RoPE. Signed-off-by: Ming-Xu Huang <[email protected]> * Update docs Signed-off-by: Ming-Xu Huang <[email protected]> --------- Signed-off-by: Ming Huang <[email protected]> Signed-off-by: Ming-Xu Huang <[email protected]>
- Loading branch information
1 parent
29b0c9c
commit ce163f9
Showing
17 changed files
with
2,133 additions
and
370 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
Oops, something went wrong.