Sign inSign up

ai/nemotron-3.5-lightning

Verified Publisher

By Docker

Updated 8 days ago

Artifact
0

10K+

ai/nemotron-3.5-lightning repository overview

Read our How to Run Nemotron 3.5 Guide!

Unsloth Dynamic 2.0 achieves superior accuracy & outperforms other leading quants.

  • You can now run Nemotron-3.5 in Unsloth with toggles for thinking.
  • See below for 2-bit Nemotron 3.5 call tools for 10mins straight inside of Unsloth:
  • nemotron in unsloth desktop

    NVIDIA-Nemotron-3.5-Lightning-30B-A3B-BF16

    Model Summary

    Total Parameters30B (3B active)
    ArchitectureMoE — Mamba-2 + MoE + Attention hybrid
    PrecisionBF16 (full-precision reference weights)
    Context LengthUp to 1M tokens (for single H100 deployment, we use 256K)
    Single-GPU Deployment1× H100 80GB (or 1× A100 80GB)
    Supported HardwareNVIDIA Blackwell (GB200, GeForce RTX 5090); NVIDIA Hopper (H100, H200); NVIDIA Ampere (A100)
    Supported LanguagesEnglish (and coding languages), Spanish, French, German, Italian, Japanese
    Speculative DecodingDSpark for Low Concurrency Data Centre Deployments — Read more below
    Reasoning ModeConfigurable on/off via chat template (enable_thinking=True/False)
    Recommended SamplingTemperature 1.0, Top_P 0.95
    Best ForCustomization — post-training (SFT, RL, distillation), domain adaptation, building quantized variants, and research/evaluation at full precision
    Looking to Deploy?For optimized inference, see NVIDIA-Nemotron-3.5-Lightning-30B-A3B-NVFP4
    LicenseOpenMDW License Agreement, version 1.1
    Release DateAugust 11, 2026

    Model Overview

    Model Developer: NVIDIA Corporation

    Model Dates: December 2025 - May 2026

    Data Freshness:

    • The pre-training data has a cutoff date of September 2025.
    • The post-training data has a cutoff date of May 2026.
    What is Nemotron?

    NVIDIA Nemotron™ is a family of open models with open weights, training data, and recipes, delivering leading efficiency and accuracy for building specialized AI agents.

    Description

    NVIDIA-Nemotron-3.5-Lightning-30B-A3B-BF16 is a large language model (LLM) trained by NVIDIA. This is the full-precision (BF16) release of Nemotron 3.5 Lightning — the reference weights of the model, intended primarily as the starting point for customization: post-training (SFT, RL, distillation), domain adaptation, and producing your own quantized or GGUF variants. For latency- and throughput-optimized inference, use the NVFP4 release instead.

    The model employs a hybrid Mixture-of-Experts architecture, utilizing interleaved Mamba-2 and MoE layers, along with select Attention layers. The Lightning 3.5 model is released alongside a number of speculative decoding methods for faster text generation. The model has 3B active parameters and 30B parameters in total.

    This model is ready for commercial use.

    Quick Start

    For running Nemotron 3.5 Lightning fast — with NVFP4 quantization, W4A16 for broad hardware coverage, and the DSpark recipe for DGX Spark — please see: NVIDIA-Nemotron-3.5-Lightning-30B-A3B-NVFP4

    To get quickly started on a single H100 you can use the following command.

    Grab the model:

    export MODEL_CKPT=nvidia/NVIDIA-Nemotron-3.5-Lightning-30B-A3B-BF16
    

    Run it with vLLM! (vLLM Nightly: vllm/vllm-openai:v0.27.1)

    vllm serve --model $MODEL_CKPT \
        --max-num-seqs 128 \
        --enable-prefix-caching \
        --async-scheduling \
        --mamba-backend flashinfer \
        --mamba-ssm-cache-dtype float16 \
        --enable-mamba-cache-stochastic-rounding \
        --mamba-cache-philox-rounds 5
    

    For more details on how to deploy and use the model — see the Quick Start Guide below!

    License/Terms of Use

    Governing Download Terms: Use of this model is governed by the OpenMDW-1.1 model license.

    Benchmarks

    Reasoning Benchmark Evaluations

    We evaluated our model on the following benchmarks:

    TaskNemotron-3.5-Lightning-30B-A3B-BF16Qwen 3.6 35B A3BGemma 4 26B A4BNemotron 3 NanoNemotron 3 SuperGPT-OSS 20B
    General Knowledge
    MMLU Pro81.9485.6385.2078.4683.8976.40
    AA-Omniscience17.5019.4722.1720.1526.6816.62
    Reasoning
    GPQA Diamond (no tools)75.4483.4079.6174.0578.6071.46
    HLE (text-only, no tools)11.7219.5617.4210.8920.3013.76
    SciCode32.6035.3340.2830.0835.1138.63
    Coding & Agentic
    SWE-bench Verified51.5670.1257.4034.0863.0852.44
    SWE-bench Multilingual39.3363.4043.4014.0749.8041.93
    Terminal-Bench 2.124.5844.3837.228.2939.6115.17
    PinchBench85.3788.0774.7066.1180.3657.20
    BrowseComp36.9748.7426.3013.7422.77
    τ³-bench (Banking)9.2810.5214.027.0112.37
    GDPval-AA-V28321015807473746
    Instruction Following
    IFBench (loose)71.8863.7177.2572.1771.9268.50
    Long Context
    AA-LCR52.0061.0657.5632.7558.4432.88

    Accuracy numbers measured by NVIDIA under a consistent harness (NeMo Gym / Nemo Evaluator SDK); they may differ from vendors' self-reported numbers.

    For reproducibility, the evaluation recipes, installation instructions, and commands for NVIDIA Nemotron 3.5 Lightning were collected and published in NeMo Gym. The reported results cover the release evaluation suite, including knowledge and reasoning, instruction following, coding, agentic, tool-use, and long-context. Most evaluations use NeMo Gym-native harnesses while a small subset, including SWE-Bench and Terminal-Bench, used NeMo Evaluator natively. The published recipes specify the benchmark-specific containers, prompts, inference parameters, parser configurations, and scoring settings used to produce the results.

    Agentic Coding Benchmarks

    Additional harness-level coding-agent results for SWE-Bench Verified and Terminal-Bench 2.1 are shown below.

    Agentic Coding Benchmarks

    Deployment Geography: Global
    Use Case

    NVIDIA-Nemotron-3.5-Lightning-30B-A3B-BF16 is the full-precision release of a general purpose reasoning and chat model, and is intended primarily for customization and post-training rather than direct production inference. It is intended to be used by developers who want to: post-train the model on their own data (SFT, RL via NeMo RL and NeMo Gym, or distillation), adapt it to a domain or task, produce quantized variants (NVFP4, W4A16, GGUF) for their own deployment targets, or run full-precision research and evaluation. English and coding languages are the primary languages, with Spanish, French, German, Italian, and Japanese also supported.

    For developers who want to deploy Lightning 3.5 directly — in AI agent systems, chatbots, RAG systems, and instruction-following applications — the NVFP4 release is the recommended path, with optimized recipes for data centre and DGX Spark deployments.

    Release Date

    Hugging Face — 08/11/2026

    Model Architecture

    • Architecture Type: Mixture-of-Experts Hybrid (Mamba + Transformer)
    • Network Architecture: Nemotron-3-Lightning + Multi-Token Prediction (MTP)
    • Number of model parameters: 30B Total / 3B Active

    Model Design

    The model was pre-trained with over 20T tokens and supports up to 1M context length. The pre-training phase used an NVFP4 recipe. The model includes Multi-Token Prediction (MTP) layers, which predict multiple future tokens to provide richer training signals.

    Training Methodology

    Stage 1: Pre-Training

    • NVIDIA-Nemotron-3.5-Lightning-30B-A3B-BF16 model was pre-trained using an NVFP4 recipe with crawled and synthetic code, math, science, and general knowledge data.
    • Software used for pre-training: Megatron-LM

    Stage 2: Continued Pre-Training for Multi-Token Prediction (MTP)

    • The model underwent a continued pre-training phase to train its Multi-Token Prediction (MTP) layers. In this stage, MTP heads learn to predict multiple future tokens, providing richer training signals to the base model. This phase aligns the MTP layers with the base model's distribution.

    Stage 3: Supervised Fine-Tuning

    • The model was further fine-tuned on synthetic code, math, science, tool calling, instruction following, structured outputs, and general knowledge data. This stage incorporated data designed to support long-range retrieval and multi-document aggregation.

    Stage 4: Reinforcement Learning

    • The model underwent multi-environment reinforcement learning using GRPO (Group Relative Policy Optimization) across math, code, science, instruction following, multi-step tool use, multi-turn conversations, and structured output environments. It utilized an asynchronous RL architecture that decouples training from inference and leverages MTP to accelerate rollout generation.
    • Software used for reinforcement learning: NeMo RL, NeMo Gym

    NVIDIA-Nemotron-3.5-Lightning-30B-A3B-BF16 is a result of the above work.

    Input

    • Input Type(s): Text
    • Input Format(s): String
    • Input Parameters: One-Dimensional (1D): Sequences
    • Other Properties Related to Input: Maximum context length up to 1M tokens. Supported languages include English, Spanish, French, German, Italian, and Japanese.

    Output

    • Output Type(s): Text
    • Output Format: String
    • Output Parameters: One-Dimensional (1D): Sequences
    • Other Properties Related to Output: Maximum context length up to 1M tokens

    Our AI models are designed and/or optimized to run on NVIDIA GPU-accelerated systems. By leveraging NVIDIA's hardware (e.g. GPU cores) and software frameworks (e.g., CUDA libraries), the model achieves faster training and inference times compared to CPU-only solutions.

    Software Integration

    • Runtime Engine(s): PyTorch
    • Supported Hardware Microarchitecture Compatibility: NVIDIA Ampere - A100; NVIDIA Blackwell; NVIDIA Hopper - H100-80GB
    • Preferred/Supported Operating System(s): Linux

    The integration of foundation and fine-tuned models into AI systems requires additional testing using use-case-specific data to ensure safe and effective deployment. Following the V-model methodology, iterative testing and validation at both unit and system levels are essential to mitigate risks, meet technical and functional requirements, and ensure compliance with safety and ethical standards before deployment.

    Model Version(s)

    • GA (08/11/2026)

    Quick Start Guide

    All deployment snippets below assume:

    export MODEL_CKPT=nvidia/NVIDIA-Nemotron-3.5-Lightning-30B-A3B-BF16
    

    And for DSpark:

    export DSPARK_CKPT=nvidia/NVIDIA-Nemotron-3.5-Lightning-30B-A3B-NVFP4-DSpark
    

    The BF16 recipes below cover vLLM. For TensorRT-LLM, SGLang, W4A16 (Blackwell / Hopper / Ampere from a single checkpoint), and DGX Spark (DSpark) recipes, see the NVFP4 card.

    Speculative Decoding Strategies

    Lightning 3.5 ships with two external draft models for speculative decoding as well as MTP (Multi-Token Prediction). While we currently recommend DSpark for all cases - your usecase may align with DFlash and MTP:

    • DSpark: A semi-autoregressive speculative-decoding drafter that proposes a whole block of candidate tokens in a single forward pass from a parallel backbone. This is recommended for DGX Spark, as well as low-concurrency data centre deployments.
    • DFlash: A speculative-decoding drafter that uses a lightweight block-diffusion model to generate an entire draft block in one forward pass.
    • MTP: A modeling technique that trains the network to predict several future tokens at each position instead of only the next one.
    vLLM
    • vLLM Nightly: vllm/vllm-openai:v0.27.1
    1x H100

    For max throughput deployments, use the following configuration, no speculative decoding strategy is best for this serving configuration, and due to memory constraints the Mamba cache dtype is set as FP16:

    vllm serve --model $MODEL_CKPT \
        --max-num-seqs 128 \
        --enable-prefix-caching \
        --async-scheduling \
        --mamba-backend flashinfer \
        --mamba-ssm-cache-dtype float16 \
        --enable-mamba-cache-stochastic-rounding \
        --mamba-cache-philox-rounds 5 \
        --reasoning-parser nemotron_v3 \
        --tool-call-parser qwen3_coder \
        --enable-auto-tool-choice
    
    8x H100

    For long-context, multi-GPU serving (TP8 with expert parallelism):

    VLLM_ALLOW_LONG_MAX_MODEL_LEN=1 vllm serve --model $MODEL_CKPT \
        --moe-backend flashinfer_cutlass \
        --mamba-backend flashinfer \
        --enable-prefix-caching \
        --mamba-cache-mode align \
        --max-model-len 1048576 \
        --enable-expert-parallel \
        --tensor-parallel-size 8 \
        --reasoning-parser nemotron_v3 \
        --tool-call-parser qwen3_coder \
        --enable-auto-tool-choice
    
    1x GB200
    VLLM_ALLOW_LONG_MAX_MODEL_LEN=1 vllm serve --model $MODEL_CKPT \
        --max-num-seqs 128 \
        --max-model-len 1048576 \
        --max-num-batched-tokens 10240 \
        --no-enable-prefix-caching \
        --async-scheduling \
        --speculative_config.model $DSPARK_CKPT \
        --speculative_config.num_speculative_tokens 5 \
        --mamba-backend flashinfer \
        --reasoning-parser nemotron_v3 \
        --tool-call-parser qwen3_coder \
        --enable-auto-tool-choice
    
    • Context Length: If you're memory-constrained — or want more KV-cache headroom at high concurrency — lower --max-model-len to match your workload and drop VLLM_ALLOW_LONG_MAX_MODEL_LEN=1.
    API Client

    The examples below use the OpenAI-compatible client and work with the serving backend above. Recommended sampling settings are Temperature 1.0 and Top_P 0.95.

    The vLLM snippets above register the model as nvidia/NVIDIA-Nemotron-3.5-Lightning-30B-A3B-BF16 via --served-model-name.

    from openai import OpenAI
    client = OpenAI(base_url="http://localhost:8000/v1", api_key="EMPTY")
    MODEL = "nvidia/NVIDIA-Nemotron-3.5-Lightning-30B-A3B-BF16"
    

    Lightning 3.5 exposes reasoning control through chat-template kwargs: thinking enabled (the default), thinking disabled for direct answers, and a runtime thinking budget.

    Reasoning ON / OFF and streaming examples: Click to expand!

    Reasoning ON (default)

    response = client.chat.completions.create(
        model=MODEL,
        messages=[{"role": "user", "content": "Write a haiku about GPUs"}],
        max_tokens=16000,
        temperature=1.0,
        top_p=0.95,
        extra_body={"chat_template_kwargs": {"enable_thinking": True}}
    )
    print(response.choices[0].message.content)
    

    Reasoning OFF

    response = client.chat.completions.create(
        model=MODEL,
        messages=[{"role": "user", "content": "What is the capital of Japan?"}],
        max_tokens=16000,
        temperature=1.0,
        top_p=0.95,
        extra_body={"chat_template_kwargs": {"enable_thinking": False}}
    )
    print(response.choices[0].message.content)
    

    Streaming

    stream = client.chat.completions.create(
        model=MODEL,
        messages=[{"role": "user", "content": "Explain speculative decoding in two sentences"}],
        max_tokens=16000,
        temperature=1.0,
        top_p=0.95,
        stream=True,
    )
    for chunk in stream:
        print(chunk.choices[0].delta.content or "", end="", flush=True)
    
    Tool Calling

    For vLLM, add the following to any serve command above:

        --enable-auto-tool-choice \
        --tool-call-parser qwen3_coder \
        --reasoning-parser nemotron_v3
    

    NOTE: For coding agents, add extra_body={"chat_template_kwargs": {"force_nonempty_content": True}} to the API call, as shown below.

    tools = [{
        "type": "function",
        "function": {
            "name": "get_weather",
            "description": "Get the current weather for a city",
            "parameters": {
                "type": "object",
                "properties": {"city": {"type": "string"}},
                "required": ["city"],
            },
        },
    }]
    
    response = client.chat.completions.create(
        model=MODEL,
        messages=[{"role": "user", "content": "What's the weather in Santa Clara?"}],
        tools=tools,
        max_tokens=16000,
        temperature=1.0,
        top_p=0.95,
        extra_body={"chat_template_kwargs": {"force_nonempty_content": True}},
    )
    print(response.choices[0].message.tool_calls)
    

    Training, Testing, and Evaluation Datasets

    Training

    Data Modality: Text Training Data Size: More than 20 Trillion Tokens Dataset partition: Training [100%], testing [0%], validation [0%] Time period for training data collection: 2013 to December 2025 Time period for testing data collection: 2013 to December 2025 Time period for validation data collection: 2013 to December 2025 Data Collection Method by dataset: Hybrid: Automated, Manually-Collected, Synthetic Labeling Method by dataset: Hybrid: Automated, Manually-Labeled, Synthetic

    NVIDIA-Nemotron-3.5-Lightning-30B-A3B-BF16 is pre-trained on a large corpus of high-quality curated and synthetically-generated data. It is trained in the English language, as well as 19 other spoken languages and 43 programming languages. Our sources cover a variety of document types such as: webpages, dialogue, articles, and other written materials. The corpus spans domains including legal, math, science, finance, and more. We also include a small portion of question-answering, and alignment style data to improve model accuracy. The model was pre-trained for more than 20 trillion tokens.

    The post-training corpus for NVIDIA-Nemotron-3.5-Lightning-30B-A3B-BF16 consists of high-quality curated and synthetically-generated data. Primary languages used for post-training include English, French, German, Italian, Japanese, Spanish, and Chinese.

    These datasets, such as FinePDFs, EssentialWeb, HotpotQA, SQuAD, and HelpSteer3, do not collectively or exhaustively represent all demographic groups (and proportionally therein). For instance, these datasets do not contain explicit mentions of demographic classes such as age, gender, or ethnicity in 64-99% of samples, depending on the source. In the subset where such terms are present, document-based datasets (FinePDFs and EssentialWeb) contain representational skews, such as references to "male" outnumbering those to "female", and mentions of "White" as the most frequent among ethnic identifiers (comprising 43-44% of ethnicity mentions). To mitigate these imbalances, we recommend considering evaluation techniques such as bias audits, fine-tuning with demographically balanced datasets, and mitigation strategies like counterfactual data augmentation to align with the desired model behavior. This evaluation used a 3,000-sample subset per dataset, identified as the optimal threshold for maximizing embedder accuracy.

    During post-training, we generate synthetic data by distilling trajectories, solutions, and translations from strong teacher models and agent systems, often grounded in real tasks or documents and aggressively filtered for quality. For math, code, and science, we start from curated problem sets and use open source permissive models such as GPT-OSS-120B to produce step-by-step reasoning traces, candidate solutions, best-of-n selection traces, and verified CUDA kernels. For long-context and science, we build synthetic QA and reasoning data by retrieving passages from long documents, generating MCQ/OpenQA questions and answers, and paraphrasing them into multiple prompt/response formats to ensure diversity. Across all pipelines we stack automated verification—compilers, numerical checks, language identification—to ensure our data is high quality.

    For all domains, we apply a unified data filtering pipeline to ensure that only high-quality, license-compliant, and verifiable samples are used for post-training. We first discard malformed examples using structural checks (e.g., missing tool definitions when tool calls are present). We then aggressively filter reasoning traces exhibiting pathological repetition, such as repeated n-grams within a sliding window or across the entire trajectory, which we found to be a strong indicator of malformed or low-quality reasoning. Finally, based on internal audits of synthetically generated datasets, we observed that some teacher models occasionally produce reasoning traces and final responses that implicitly align with specific political entities or promote nationalistic narratives. To mitiga

    …(truncated — see the full README on HuggingFace)

Tag summary

Content type

Unrecognized

Digest

sha256:4274993f0

Size

23.5 GB

Last updated

18 days ago

docker pull ai/nemotron-3.5-lightning

This week's pulls

Pulls:

2,278

Last week