Skip to content

chore: remove nv-grouped-gemm dependency - #3770

Merged
yaox12 merged 7 commits into
NVIDIA:mainfrom
liuyun7345:chore/remove-nv-grouped-gemm-dependency
Mar 20, 2026
Merged

chore: remove nv-grouped-gemm dependency#3770
yaox12 merged 7 commits into
NVIDIA:mainfrom
liuyun7345:chore/remove-nv-grouped-gemm-dependency

Conversation

@liuyun7345

Copy link
Copy Markdown
Contributor

What does this PR do?

Remove the nv-grouped-gemm package dependency since the deprecated
GroupedMLP was removed in PR #3410. The package is no longer used
anywhere in the codebase.

Changes

  • pyproject.toml: Remove nv-grouped-gemm from dev and lts
    optional dependencies, and from [tool.uv] no-build-isolation-package
  • docker/common/install_source_wheels.sh: Remove grouped_gemm
    wheel build and installation logic (including the reference to the
    non-existent build_groupedgemm.sh script)

Verification

  • No Python files in the codebase contain import grouped_gemm or
    from grouped_gemm — the package has zero runtime usage
  • TEGroupedMLP uses TransformerEngine's GroupedLinear internally,
    not nv-grouped-gemm
  • The --moe-grouped-gemm CLI flag and moe_grouped_gemm config
    field remain unchanged (they control TE's grouped GEMM, not the
    removed package)

Fixes #3711

The deprecated GroupedMLP was removed in PR NVIDIA#3410, so the
nv-grouped-gemm package is no longer needed.

Changes:
- Remove nv-grouped-gemm from dev and lts optional dependencies
- Remove nv-grouped-gemm from uv no-build-isolation-package list
- Remove grouped_gemm wheel build/install from Docker script

Fixes NVIDIA#3711

Made-with: Cursor
@liuyun7345
liuyun7345 requested a review from a team as a code owner March 10, 2026 10:12
@copy-pr-bot

copy-pr-bot Bot commented Mar 10, 2026

Copy link
Copy Markdown

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

@github-actions

Copy link
Copy Markdown
Contributor

This PR has been automatically converted to draft because all PRs must start as drafts.

When you are ready for review, click Ready for Review to begin the review process. This will:

  1. Add the oncall reviewer (optional reviewer)
  2. Add required review teams based on your changes

See the contribution guide for more details.

@svcnvidia-nemo-ci
svcnvidia-nemo-ci marked this pull request as draft March 10, 2026 10:12
@liuyun7345
liuyun7345 marked this pull request as ready for review March 10, 2026 14:07
@svcnvidia-nemo-ci
svcnvidia-nemo-ci requested a review from a team March 10, 2026 14:08
@yaox12

yaox12 commented Mar 12, 2026

Copy link
Copy Markdown
Member

/ok to test f6b7bd2

@svcnvidia-nemo-ci svcnvidia-nemo-ci added this to the Core 0.16 milestone Mar 12, 2026
@yaox12

yaox12 commented Mar 18, 2026

Copy link
Copy Markdown
Member

/ok to test e0b9957

@yaox12 yaox12 added complexity: low needs-follow-up Issue needs follow-up labels Mar 18, 2026
@yaox12
yaox12 enabled auto-merge March 18, 2026 16:07
@chtruong814 chtruong814 removed the needs-follow-up Issue needs follow-up label Mar 18, 2026
@yaox12

yaox12 commented Mar 18, 2026

Copy link
Copy Markdown
Member

/ok to test 2d92a86

@svcnvidia-nemo-ci svcnvidia-nemo-ci added the Approved All necessary approvals have been made label Mar 19, 2026
@ko3n1g

ko3n1g commented Mar 19, 2026

Copy link
Copy Markdown
Contributor

/ok to test 91e5fcf

@yaox12

yaox12 commented Mar 19, 2026

Copy link
Copy Markdown
Member

/ok to test 1ac8fa5

@yaox12
yaox12 added this pull request to the merge queue Mar 19, 2026
@svcnvidia-nemo-ci

Copy link
Copy Markdown
Contributor

🔄 Merge queue validation started!

You can track the progress here: https://github.com/NVIDIA/Megatron-LM/actions/runs/23322436422

Merged via the queue into NVIDIA:main with commit 40dce4e Mar 20, 2026
55 checks passed
yangbofun pushed a commit to xlm-research/Megatron-LM that referenced this pull request May 22, 2026
Co-authored-by: Xin Yao <xiny@nvidia.com>
Co-authored-by: oliver könig <okoenig@nvidia.com>
yhgalaxy pushed a commit to yhgalaxy/Megatron-LM that referenced this pull request Jun 17, 2026
Co-authored-by: Xin Yao <xiny@nvidia.com>
Co-authored-by: oliver könig <okoenig@nvidia.com>
Signed-off-by: yhgalaxy <yhgalaxy@outlook.com>
jon-barker pushed a commit to jon-barker/Megatron-LM that referenced this pull request Jul 10, 2026
Co-authored-by: Xin Yao <xiny@nvidia.com>
Co-authored-by: oliver könig <okoenig@nvidia.com>
Signed-off-by: Jon Barker <jbarker@aws-cmh-slurm-1-vscode-02.cm.cluster>
terminator123 pushed a commit to 021ai/Megatron-LM that referenced this pull request Aug 3, 2026
Co-authored-by: Xin Yao <xiny@nvidia.com>
Co-authored-by: oliver könig <okoenig@nvidia.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Approved All necessary approvals have been made community-request complexity: low

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remove the nv-grouped-gemm dependency

5 participants