Skip to content

[sync] Update FLOPs calculation for hybrid MoE and latent MoE#2120

Merged
yaoyu-33 merged 4 commits intoNVIDIA-NeMo:mainfrom
ananthsub:sync-2198-2296
Jan 29, 2026
Merged

[sync] Update FLOPs calculation for hybrid MoE and latent MoE#2120
yaoyu-33 merged 4 commits intoNVIDIA-NeMo:mainfrom
ananthsub:sync-2198-2296

Conversation

@ananthsub
Copy link
Copy Markdown
Contributor

@ananthsub ananthsub commented Jan 29, 2026

What does this PR do ?

Sync with changes from:

Changelog

  • Update FLOPs calculation for hybrid MoE and latent MoE

GitHub Actions CI

See the CI sectionin the Contributing doc for how to trigger the CI. A Nvidia developer will need to approve and trigger the CI for external contributors.

Before your PR is "Ready for review"

Pre checks:

  • Make sure you read and followed Contributor guidelines
  • Did you write any new necessary tests?
  • Did you add or update any necessary documentation?
  • Does the PR affect components that are optional to install? (Ex: Numba, Pynini, Apex etc)
    • Reviewer: Does the PR have correct import guards for all optional libraries?

If you haven't finished some of the above items you can still open "Draft" PR.

Additional Information

  • Related to # (issue)

Summary by CodeRabbit

  • New Features

    • Enabled floating-point operations (FLOPs) calculation support for Mixture-of-Experts models and hybrid model configurations.
  • Tests

    • Added comprehensive test suite covering MoE FLOP calculations, including latent compression and activation function scaling scenarios.

✏️ Tip: You can customize this high-level summary in your review settings.

Signed-off-by: Ananth Subramaniam <ansubramania@nvidia.com>
Signed-off-by: Ananth Subramaniam <ansubramania@nvidia.com>
@copy-pr-bot
Copy link
Copy Markdown

copy-pr-bot bot commented Jan 29, 2026

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.

@ananthsub
Copy link
Copy Markdown
Contributor Author

/ok to test c09ba77

@liding-nv
Copy link
Copy Markdown
Contributor

lgtm

@yaoyu-33 yaoyu-33 disabled auto-merge January 29, 2026 21:33
@yaoyu-33 yaoyu-33 enabled auto-merge (squash) January 29, 2026 21:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants