Make nv-grouped-gemm truly optional - #2980
Closed
CodersAcademy006 wants to merge 7 commits into
Closed
Conversation
yaox12
approved these changes
Jan 22, 2026
Contributor
Author
Contributor
Author
|
@yaox12 also is there any other issues i can work on? Thank You. |
- Move nv-grouped-gemm from dev/lts extras to new moe extra - Users can now install megatron-core[dev] without build failures - Add comprehensive error messages with installation instructions - Update README with MoE dependencies documentation This resolves the installation failure when nv-grouped-gemm cannot build due to missing CUTLASS headers. Users who need MoE with grouped GEMM can now explicitly install it with megatron-core[moe], while others can install dev/lts extras without encountering build errors. Fixes NVIDIA#2541
CodersAcademy006
force-pushed
the
fix/optional-nv-grouped-gemm-2541
branch
from
March 5, 2026 04:46
c92bccc to
4207a86
Compare
Member
|
Plan to fully remove |
Member
|
Close this PR as #3770 is merged. |
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.
Fixes #2541
Summary
Makes the nv-grouped-gemm dependency truly optional by adding proper fallback handling when the package is not installed.
Changes
Testing
This PR was previously opened against the fork repository by mistake. Now correctly targeting the upstream NVIDIA/Megatron-LM repository.