NVIDIA's New Open-Source MoE: One Line of Import, Fine-Tuning Accelerated by 3.7x

marsbitPublicado em 2026-06-26Última atualização em 2026-06-26

Resumo

NVIDIA has open-sourced NeMo AutoModel, a tool designed to significantly accelerate the fine-tuning of Mixture-of-Experts (MoE) large language models. By adding just one import line to existing code based on Hugging Face Transformers v5, users can achieve a 3.4x to 3.7x increase in training throughput and reduce GPU memory usage by 29% to 32% without altering their API. The key innovations include Expert Parallelism (EP) to distribute expert weights across GPUs, lowering memory pressure; DeepEP to fuse computation and communication; and TransformerEngine kernels for accelerated core operations. Benchmarks on models like Qwen3-30B-A3B show training throughput per GPU jumping from 3075 to 11340 tokens per second. The solution also enables the fine-tuning of very large models, such as the 550B parameter Nemotron 3 Ultra, which would exceed memory limits with the standard Transformers v5. Code and benchmarks are available on GitHub.

One line of import, fine-tuning of MoE large models accelerated by 3.7x.

NVIDIA's latest research is now open source: NeMo AutoModel, designed specifically for large-scale building and fine-tuning of generative AI models.

Built on top of Hugging Face Transformers v5, NeMo AutoModel achieves faster fine-tuning of MoE models without changing the code API—just by adding one line of import.

Experiments show that, compared to the original Hugging Face Transformers v5, NVIDIA's NeMo AutoModel can achieve a 3.4-3.7x increase in training throughput and reduce GPU memory usage by 29%-32% during MoE fine-tuning.

On a single node with 8x H100 80GB GPUs, using Qwen3-30B-A3B as an example, NeMo AutoModel directly increased the TPS/GPU (tokens per second per GPU) from 3075 to 11340, achieving a 3.69x improvement.

Core Technology Explained

MoE has become the mainstream architecture for cutting-edge models, but MoE also introduces new challenges for efficient training:

Expert parallelism, communication fusion, kernel optimization... these complex engineering tasks require supporting infrastructure.

HuggingFace's Transformers v5 is currently a widely used "universal base" for MoE training. V5 enhanced native support for MoE, introducing MoE foundational capabilities such as expert backends, dynamic weight loading, and distributed execution.

This time, NVIDIA's approach is to build on the shoulders of predecessors, maintaining compatibility with the HuggingFace Transformers API, allowing users to achieve higher training throughput and lower memory usage in MoE fine-tuning without significant code changes.

Specifically, NeMo AutoModel adds Expert Parallelism (EP), DeepEP, and TransformerEngine on top of Transformers v5.

Expert Parallelism

Expert Parallelism technology is primarily used to reduce memory pressure.

EP distributes expert weights across multiple GPUs; each GPU no longer holds all expert parameters entirely, but only holds a portion of them.

For example, with ep_size=8 across 8 GPUs, expert weights are distributed across 8 GPUs, reducing the MoE memory footprint on each GPU to 1/8 of the original.

Experimental results show that for Qwen3, this technology can reduce peak memory from 68.2 GiB to 48.1 GiB, a 29% reduction.

For the Nemotron Nanomo model, memory usage dropped from 62.1 GiB to 42.5 GiB, a 32% reduction.

The freed-up space can be used to support larger batch sizes and longer sequences.

DeepEP

DeepEP achieves the fusion of computation and communication.

In the traditional approach, there is significant communication cost between token distribution and expert computation. DeepEP integrates the token distribution and composition operations into optimized GPU kernels, overlapping the communication process with expert computation.

TransformerEngine

The TransformerEngine kernel provides acceleration for various core operations.

This technology offers implementations for fused attention mechanisms, linear layers, RMSNorm, etc., accelerating not only MoE layers but also regular Transformer layers.

One Line of Import, 3x Speed Boost

In summary, for those already using Transformers v5, NVIDIA's NeMo AutoModel offers a seamless upgrade path:

Just add one line of import code to achieve a 3x speed boost in MoE fine-tuning.

On Qwen3-30B-A3B and Nemotron 3 Nano 30B-A3B, compared to Transformers v5, this solution achieves a 3.4-3.7x increase in training throughput while reducing memory consumption by 29%-32%.

NVIDIA also demonstrated the results of full-parameter fine-tuning for Nemotron 3 Ultra 550B A55B on 16 H100 nodes with 128 GPUs.

The TPS/GPU was 815, TFLOP/s/GPU was about 293, and peak memory was 58.2 GiB.

The reason for not comparing it with v5 here is that Transformers v5 would simply run out of memory at this scale ̄_(ツ)_/ ̄

If you're interested, NVIDIA has already placed the code, configurations, and benchmark scripts on GitHub: https://github.com/NVIDIA-NeMo/Automodel/tree/blog/transformers-v5-automodel/blog_experiments

The detailed usage guide is here: https://docs.nvidia.com/nemo/automodel/latest/get-started/hf-compatibility

This article is from the WeChat public account "Qubit," author: Yu Yang

Criptomoedas em alta

Perguntas relacionadas

QWhat is the key benefit of NVIDIA's newly open-sourced NeMo AutoModel for MoE model fine-tuning?

AThe key benefit is a significant performance improvement. NeMo AutoModel enables a 3.4-3.7x increase in training throughput and reduces GPU memory usage by 29-32% for MoE model fine-tuning, compared to the standard Hugging Face Transformers v5.

QHow does NeMo AutoModel achieve compatibility with existing Hugging Face Transformers v5 code?

ANeMo AutoModel achieves compatibility by maintaining the same API as Hugging Face Transformers v5. Users can integrate it into their existing code with minimal changes, often requiring only the addition of a single import statement to gain the performance benefits.

QWhat is Expert Parallelism (EP), and what problem does it solve?

AExpert Parallelism (EP) is a core technique in NeMo AutoModel that distributes the expert weights of a Mixture-of-Experts (MoE) model across multiple GPUs. This reduces the memory pressure on each individual GPU, as it no longer needs to hold all expert parameters. For example, on 8 GPUs, it can reduce MoE memory usage per GPU to about 1/8th of the original.

QWhat role does DeepEP play in the NeMo AutoModel architecture?

ADeepEP fuses computation with communication. It optimizes performance by integrating the token routing (distribution and combination) operations into optimized GPU kernels. This allows the communication process to overlap with expert computation, reducing traditional communication overhead and improving overall training efficiency.

QWhat results were demonstrated for the large-scale Nemotron 3 Ultra 550B model fine-tuning with NeMo AutoModel?

AFor the Nemotron 3 Ultra 550B A55B model fine-tuning on 128 H100 GPUs, NeMo AutoModel achieved a throughput of 815 tokens per second per GPU (TPS/GPU) and a peak memory usage of 58.2 GiB. The article notes that Transformers v5 could not handle this scale, as it would run out of memory.

Leituras Relacionadas

IPO Imminent, OpenAI Faces Major Personnel Upheaval

OpenAI, preparing for a potential IPO, is experiencing significant leadership turmoil. In mid-August 2026, longtime "GPU geek" Scott Gray quietly left, and within three days, Chief Operating Officer Brad Lightcap (8-year veteran) and Chief Revenue Officer Denise Dresser (8-month tenure) departed. This follows a broader exodus of at least 10 senior executives in 2026, including heads of product, safety, and ethics. Analysts view this as a strategic "surgery" to transform from a research lab into a sales-driven enterprise company before going public. Revenue now tilts toward enterprise clients, surpassing consumer income sooner than expected, with annualized revenue reaching $40 billion. The new CRO, Dali Rajic, is a veteran enterprise sales leader. Concurrently, OpenAI has disbanded independent safety teams like "Preparedness," which assessed catastrophic risks, integrating their functions into core research. Critics warn this removes dedicated "brakes" on AI development. The leadership vacuum raises questions about who is the clear second-in-command after former apps CEO Fidji Simo moved to an advisory role. Co-founder Greg Brockman appears to be consolidating power. As OpenAI races against rival Anthropic ($47B annualized revenue), it faces the dual challenge of commercial execution while managing the departure of foundational technical talent and ensuring responsible AI development remains a priority.

marsbitHá 1m

IPO Imminent, OpenAI Faces Major Personnel Upheaval

marsbitHá 1m

AI Can 'Have Moods Too'! New Research from USTC: Confusion and Anxiety Make AI Work Better

The article discusses research from the University of Science and Technology of China and Oxford, revealing that allowing AI to recognize and act upon simulated "internal emotions" can significantly improve its performance. The study demonstrates a coherent pairing between specific emotional states in AI agents and their subsequent skill choices. For instance, an agent feeling curious and desirous will search for products, while one feeling confused and tense will rephrase queries. This mirrors human decision-making influenced by emotions. Statistical validation showed a 76.5% semantic consistency in these pairings. Crucially, the research challenges the traditional view of AI errors as flaws to be eliminated. It found that "bad" emotions like confusion, tension, or frustration serve as useful metacognitive signals, indicating a mismatch between the current strategy and the environment. By responding to these signals, AI can proactively adjust before a failure occurs. This is particularly effective in complex tasks prone to failure. For example, in tasks like "heating an item" and "picking up two items," success rates surged from 9.6% to 56.9% and 4.4% to 31.3%, respectively, when using the emotion-driven skill selection method (EMOTION2SKILL). The AI's "nervous" state about a closed microwave, for instance, prompted it to check and open it first, preventing failure. The article also mentions related work from Tianjin University, which embeds emotional prediction into world models (Large Emotional World Model, LEWM), significantly improving prediction accuracy in human-centric environments. Removing emotional data was found to degrade performance even in unrelated logical reasoning tasks. These studies build on earlier findings, like those from Anthropic, that identifiable emotional representations exist within large language models (LLMs). The focus is shifting from philosophical debate about AI emotion to practically harnessing these internal states as functional signals to enhance AI robustness and capability.

marsbitHá 37m

AI Can 'Have Moods Too'! New Research from USTC: Confusion and Anxiety Make AI Work Better

marsbitHá 37m

Trading

Spot

Artigos em Destaque

Como comprar ONE

Bem-vindo à HTX.com!Tornámos a compra de Harmony (ONE) simples e conveniente.Segue o nosso guia passo a passo para iniciar a tua jornada no mundo das criptos.Passo 1: cria a tua conta HTXUtiliza o teu e-mail ou número de telefone para te inscreveres numa conta gratuita na HTX.Desfruta de um processo de inscrição sem complicações e desbloqueia todas as funcionalidades.Obter a minha contaPasso 2: vai para Comprar Cripto e escolhe o teu método de pagamentoCartão de crédito/débito: usa o teu visa ou mastercard para comprar Harmony (ONE) instantaneamente.Saldo: usa os fundos da tua conta HTX para transacionar sem problemas.Terceiros: adicionamos métodos de pagamento populares, como Google Pay e Apple Pay, para aumentar a conveniência.P2P: transaciona diretamente com outros utilizadores na HTX.Mercado de balcão (OTC): oferecemos serviços personalizados e taxas de câmbio competitivas para os traders.Passo 3: armazena teu Harmony (ONE)Depois de comprar o teu Harmony (ONE), armazena-o na tua conta HTX.Alternativamente, podes enviá-lo para outro lugar através de transferência blockchain ou usá-lo para transacionar outras criptomoedas.Passo 4: transaciona Harmony (ONE)Transaciona facilmente Harmony (ONE) no mercado à vista da HTX.Acede simplesmente à tua conta, seleciona o teu par de trading, executa as tuas transações e monitoriza em tempo real.Oferecemos uma experiência de fácil utilização tanto para principiantes como para traders experientes.

583 Visualizações TotaisPublicado em {updateTime}Atualizado em 2026.06.02

Como comprar ONE

Discussões

Bem-vindo à Comunidade HTX. Aqui, pode manter-se informado sobre os mais recentes desenvolvimentos da plataforma e obter acesso a análises profissionais de mercado. As opiniões dos utilizadores sobre o preço de ONE (ONE) são apresentadas abaixo.

活动图片