Skip to content

Added Nemotron-V3 support to benchmark.py and improved MFU on SQuAD#1308

Open
ethanhharrison wants to merge 3 commits intoNVIDIA-NeMo:mainfrom
ethanhharrison:a1_nemotron_improvements
Open

Added Nemotron-V3 support to benchmark.py and improved MFU on SQuAD#1308
ethanhharrison wants to merge 3 commits intoNVIDIA-NeMo:mainfrom
ethanhharrison:a1_nemotron_improvements

Conversation

@ethanhharrison
Copy link

What does this PR do ?

Improves the MFU of Nemotron V3 Nano on the SQuAD finetuning task. Also allows for Nemotron V3 Nano support for the benchmark.py script.

Changelog

Removed the checks for sequence length and local batch size in benchmark.py which cause models other than Mixtral-8x7B to crash.

Increased the local batch size and EP for the Nemotron V3 Nano SQuAD finetuning config.

Added settings for the benchmark to Nemotron V3 Nano's config.

ZhiyuLi-Nvidia and others added 3 commits January 22, 2026 09:01
Signed-off-by: Zhiyu Li <zhiyul@NVIDIA.com>

perf lab

Signed-off-by: Zhiyu Li <zhiyul@NVIDIA.com>

perf lab (ep)

Signed-off-by: Zhiyu Li <zhiyul@NVIDIA.com>

better rope cache

Signed-off-by: Zhiyu Li <zhiyul@NVIDIA.com>

arithmetic intensity lab

arithmetic intensity lab fix

arithmetic intensity lab fix

arithmetic intensity lab fix

arithmetic intensity lab fix

Revert "arithmetic intensity lab fix"

This reverts commit b9a2c57.

arithmetic intensity lab fix

arithmetic intensity answer

Signed-off-by: Zhiyu Li <zhiyul@NVIDIA.com>

mixtral perf lab

mixtral perf lab

mixtral perf lab fix

mixtral perf lab fix

mixtral perf lab fix

mixtral perf lab fix

update grade_assignment

update lab

update

Signed-off-by: Zhiyu Li <zhiyul@nvidia.com>

arithmetic intensity answer

Signed-off-by: Zhiyu Li <zhiyul@NVIDIA.com>

remove reference

remove reference

Signed-off-by: Zhiyu Li <zhiyul@NVIDIA.com>
@copy-pr-bot
Copy link

copy-pr-bot bot commented Feb 17, 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.

@ethanhharrison ethanhharrison changed the title A1 nemotron improvements Added Nemotron-V3 support to benchmark.py and improved MFU on SQuAD f… Feb 17, 2026
@ethanhharrison ethanhharrison changed the title Added Nemotron-V3 support to benchmark.py and improved MFU on SQuAD f… Added Nemotron-V3 support to benchmark.py and improved MFU on SQuAD Feb 17, 2026
self.device_mesh = self._get_device_mesh()
# Always create the MoE mesh, even when ep_size == 1.
# This allows DeepEP to still initialize its EP process groups/dispatcher on a 1-way EP axis.
self.moe_mesh = self._get_moe_mesh()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a lot for the PR @ethanhharrison !

We recently refactored the distributed part a bit, so I was thinking it would be better to rebase this PR on latest main before we proceed with the review/CI. Please let me know what you think.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

Comments