-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix fake_initialize_model_parallel for MoE models
* Make the use of RankGenerator consistent with recent Mcore changes !1940 ( NVIDIA/Megatron-LM@7f22e21) - use ep=1 for decoder_rank_generator, making it treat EP as part of DP - define a new expert_decoder_rank_generator to handle EP groups/ranks only Signed-off-by: Guyue Huang <[email protected]>
- Loading branch information
Showing
1 changed file
with
23 additions
and
4 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