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

$2 Trillion: Countdown to AI's Largest IPO in History

The countdown for the largest IPO in AI history, a potential $2 trillion listing for Anthropic, is underway for October. The staggering valuation, reportedly projected by several investors, contrasts with the company's own internal restraint on setting a public target. Founded five years ago by former OpenAI core members, Anthropic's growth has been meteoric. Annual recurring revenue (ARR) surged from ~$9B in late 2025 to $47B by May 2026, with Q2 2026 revenue of $11.5B marking a 14x year-over-year increase. Bank valuations are even based on internal 2028 revenue forecasts of $190-200B. A key growth driver is Claude Code, its AI coding assistant. Its ARR quintupled in five months to $2.5B by February 2026, now constituting nearly 20% of total revenue. Surveys indicate Anthropic commands roughly 40% of enterprise LLM spending, doubling OpenAI's share in programming-specific use. However, alongside this explosive growth, reports detail significant internal cultural strife. Critics describe a divisive "priesthood" of PhD executives, led by CEO Dario Amodei, who promote a "save humanity" narrative that some employees find cult-like and alienating. This has reportedly created a demoralized workforce and a covert "underground network" of dissent among engineers torn between lucrative pre-IPO equity and a toxic work environment. Anthropic now faces a pivotal paradox: pursuing its mission of "safe" AI requires immense capital for compute, yet that capital demands relentless commercial growth. As it approaches its historic IPO, the company must navigate intense regulatory scrutiny, soaring operational costs, and internal tensions—any of which could destabilize its post-listing trajectory, much like SpaceX's significant post-IPO stock drop. The stage is set for a defining moment in tech history.

marsbitHá 3h

$2 Trillion: Countdown to AI's Largest IPO in History

marsbitHá 3h

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.

活动图片