NVIDIA-NeMo / NVIDIA-NeMo/Megatron-Bridge

[feature] Support SequentialMLP (non-fused MoE) AutoBridge Mappings for P0 models

Open
#5,145 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

area:model feature needs-triage
Dominant language
Python
Stars
921
Forks
506
Avg merge
1d 16h
Merged PRs (30d)
253

Description

User problem

By default when a new model is supported in AutoBridge, only GroupedLinear (moe_grouped_gemm=True) HF <-> Megatron mappings are added.

In ModelOpt Quantization / Pruning, we often need to use model initialized with non-fused MoE (moe_grouped_gemm=False) and need to submit a PR for enabling the mappings in per-model AutoBridge.

Requesting to have P0 important models already supported

  • NemotronH
  • Qwen3/3.5/3.6
  • GPT-OSS
  • DeepSeek
  • GLM

Some PRs already merged in the past regarding the same:

Desired outcome

Models can be imported from HF to Megatron with moe_grouped_gemm=False in the transformer_layer_spec / provider.

Alternatives considered

No response

Affected area

area:model

Urgency / use case

Important but not blocking

Extra context

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the related PRs #2358, #3628, #4499, #4706, and #5140 to understand the existing per-model AutoBridge mappings. Cover NemotronH, Qwen3/3.5/3.6, GPT-OSS, DeepSeek, and GLM so HF imports work with moe_grouped_gemm=False in the transformer_layer_spec or provider.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
machine-learning
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.