-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Initialize distributed environment in convert_hf_mixtral_to_nemo.py.
Why do we need this instead of just running it with python3? `get_tensor_and_expert_parallel_world_size` requires a distributed environment and is called when initializing Mixtral's MoE layers. Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com>
- Loading branch information
Showing
1 changed file
with
17 additions
and
6 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