Open
Conversation
Signed-off-by: Hemil Desai <hemild@nvidia.com>
Contributor
Author
|
/ok to test 8d0be12 |
Contributor
Author
|
/ok to test 6233747 |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Wandb - https://wandb.ai/Nemo-automodel/automodel-moe-dispatcher
This PR adds HybridEP support for MoE token dispatch and updates dependency/docker wiring needed to run it reliably.
Changelog
_HybridEPManagerinnemo_automodel/components/moe/megatron/token_dispatcher.py.moe_flex_dispatcher_backend("deepep"or"hybridep"), plus backend-specific SM settings.nemo_automodel/components/moe/megatron/fused_a2a.py:set_deepep_num_sms.BackendConfig.dispatchernow accepts"hybridep".dispatcher_num_sms."hybridep"as valid withte/gmmexperts.MoE,GroupedExpertsDeepEP, andGroupedExpertsTE.tests/unit_tests/moe/test_backend_config.pytests/unit_tests/moe/test_experts.pytests/unit_tests/moe/test_layers.pydeep_epto7febc6e25660af0f54d95dd781ecdcd62265ecca(v1.2.1+7febc6emetadata).nvidia-cudnn-cu12==9.19.0.56; sys_platform == 'linux'.uv.lockaccordingly.docker/common/update_pyproject_pytorch.shnow removes existingoverride-dependenciesand reinsertsdocker/common/uv-pytorch.tomlunder[tool.uv]to avoid duplicate/incorrect override blocks.Additional Information