NVIDIA Nemotron Nano 2:一种准确高效、基于 Mamba-Transformer 混合架构的推理模型

NVIDIA Nemotron Nano 2: An Accurate and Efficient Hybrid Mamba-Transformer Reasoning Model

Akhiad Bercovich Akhiad Bercovich · · 2025-08-20 · arXiv:2508.14444 ↗ · 被引 68

打开互动全文版(逐段中英对照 + 图/公式 + 论文问答)→

摘要 · Abstract

我们介绍了 Nemotron-Nano-9B-v2,这是一种混合 Mamba-Transformer 语言模型,旨在提高推理工作负载的吞吐量,同时在与同等规模模型相比时达到最先进的准确性。Nemotron-Nano-9B-v2 基于 Nemotron-H 架构,其中常见的 Transformer 架构中的大部分自注意力层被替换为 Mamba-2 层,从而在生成长思维链(推理所需)时提高推理速度。我们通过首先在 20 万亿个 token 上使用 FP8 训练配方预训练一个 120 亿参数模型(Nemotron-Nano-12B-v2-Base)来创建 Nemotron-Nano-9B-v2。在对齐 Nemotron-Nano-12B-v2-Base 后,我们采用 Minitron 策略压缩和蒸馏模型,目标是在单个 NVIDIA A10G GPU(22 GiB 内存,bfloat16 精度)上实现高达 128k token 的推理。与现有类似规模的模型(例如 Qwen3-8B)相比,我们展示 Nemotron-Nano-9B-v2 在推理基准测试中达到了相当或更好的准确性,同时在推理设置(如 8k 输入和 16k 输出 token)中实现了高达 6 倍的推理吞吐量。我们将在 Hugging Face 上发布 Nemotron-Nano-9B-v2、Nemotron-Nano-12B-v2-Base 和 Nemotron-Nano-9B-v2-Base 检查点,以及我们大部分训练前和训练后数据集。

We introduce Nemotron-Nano-9B-v2, a hybrid Mamba-Transformer language model designed to increase throughput for reasoning workloads while achieving state-of-the-art accuracy compared to similarly-sized models. Nemotron-Nano-9B-v2 builds on the Nemotron-H architecture, in which the majority of the self-attention layers in the common Transformer architecture are replaced with Mamba-2 layers, to achieve improved inference speed when generating the long thinking traces needed for reasoning. We create Nemotron-Nano-9B-v2 by first pre-training a 12-billion-parameter model (Nemotron-Nano-12B-v2-Base) on 20 trillion tokens using an FP8 training recipe. After aligning Nemotron-Nano-12B-v2-Base, we employ the Minitron strategy to compress and distill the model with the goal of enabling inference on up to 128k tokens on a single NVIDIA A10G GPU (22GiB of memory, bfloat16 precision). Compared to existing similarly-sized models (e.g., Qwen3-8B), we show that Nemotron-Nano-9B-v2 achieves on-par or better accuracy on reasoning benchmarks while achieving up to 6x higher inference throughput in reasoning settings like 8k input and 16k output tokens. We are releasing Nemotron-Nano-9B-v2, Nemotron-Nano12B-v2-Base, and Nemotron-Nano-9B-v2-Base checkpoints along with the majority of our pre- and post-training datasets on Hugging Face.

核心贡献 · Key contributions

局限 · Limitations

论文章节 · Sections(共 28)

阅读逐段中英对照全文 →