VLM 配方需额外安装 vlm 与 vlm-media extra,否则报 qwen_vl_utils 未安装;CUDA 相关依赖(Transformer Engine、Mamba、bitsandbytes)需单独选装 cuda 或 cuda_source extra;多节点训练需自行复制并修改 slurm.sub 中的集群配置。
Automodel
NVIDIA-NeMoApache-2.0活跃维护基于 PyTorch 原生分布式训练的 LLM/VLM 训练库,开箱即用兼容 Hugging Face,方便微调 Llama、Gemma、GLM 等主流大模型。
🚀 Pytorch Distributed native training library for LLMs/VLMs with OOTB Hugging Face support
uv venv
uv sync --frozen
uv run python -c "import nemo_automodel; print('NeMo AutoModel ready')"README 未给出具体显存要求;示例通过 docker run --gpus all 在 GPU 上运行,并支持多节点 SLURM 集群,未说明 CPU 运行方式。
NVIDIA 出品的 PyTorch 原生分布式训练库,开箱即用微调 Hugging Face 上的 LLM 与 VLM
基于 PyTorch 原生分布式训练的 LLM/VLM 训练库,开箱即用兼容 Hugging Face,方便微调 Llama、Gemma、GLM 等主流大模型。
核心能力
- 用 YAML 配方一键启动 SFT、PEFT、预训练任务
- 原生支持 FSDP2、专家并行、流水线并行与上下文并行
- 直接加载 Hugging Face 模型与公开数据集,无需 token
- 提供 LoRA 等参数高效微调配方,降低显存占用
- 支持 EAGLE-4 投机解码草稿模型训练与导出
容易踩的坑
- v0.7.0NVIDIA NeMo-Automodel 0.7.0最新正式版2026-10-21 · 2026-10-21 23:48 UTC
NeMo AutoModel 26.10 Release Notes
Highlights
- Expanded model coverage. New training paths for DeepSeek-V4.1-Flash, GLM-5.3-Flash, Qwen3.8-Flash-Next, MiMo-V2.5-Pro and MiMo-V2.6, and additional vision-language models.
- More MoE training options. Mixture-of-Kittens (MoK) BF16 and MXFP8 experts, compact HybridEP routing, and MXFP4-resident DeepSeek-V4-Flash experts for LoRA.
- Speculative and discrete-diffusion training. DFlash 2, additional Kimi K3 and DeepSeek-V4.1 draft-training paths, streaming EAGLE-3 feature components, I-DLM training, and SCDD training and sampling.
- Text-to-image fine-tuning. HunyuanImage-3.0 with expert parallelism and Qwen-Image-2.1 with full-parameter and LoRA recipes.
- Training and integration improvements. Native FlashAttention-4, explicit packing contracts, weighted domain mixtures, lower-memory checkpoint loading, and public registration of custom model architectures.
New and Expanded Model Support
LLM and MoE
- DeepSeek-V4.1-Flash: Native model and checkpoint conversion, attention and expert LoRA, packed SFT and context parallelism, H100-80GB recipes, and MedPix vision SFT. The release includes the CP8 gradient-synchronization fix. (model guide, #3855, #3872, #3879, #3962, #4221)
- GLM-5.3-Flash: Native hybrid KDA/DSA model, vision processing, distributed checkpoint loading, and packed context-parallel training. The MedPix recipe uses EP72/CP2 on 72 H100 GPUs; sparse attention combines FlashMLA forward with cuDNN backward. TP, PP, video training, and full-model single-GPU loading are outside this model's supported path. GLM-5.2 and GLM-5.3 also gain cuDNN DSA training backends. (model guide, #3699, #3127, #3747)
- Qwen3.8: Adds 27B fine-tuning recipes and native Flash-Next language-only training with a sharded Engram embedding table, sparse QSA attention, packed sequences, and contiguous context parallelism. Flash-Next's QSA indexers remain frozen; its checkpoint MTP head is not loaded. TP and PP are disabled in the documented Flash-Next configurations. (model guide, #3560, #3690)
- MiMo: Adds MiMo-V2.5-Pro, MiMo-V2.6, and MiMo-V2.6-Pro support. The MiMo-V2.6-Pro-RL recipes cover packed 64K Tulu3 text, MedPix full fine-tuning, and MedPix LoRA on GB200. Keep expert-parallel groups within an NVLink domain. (recipe guide, #2514, #3992, #4054)
- Additional architectures: Dense Nemotron-H Nano 4B, a Laguna XS 2.1
training recipe, and encoder-decoder fine-tuning through
NeMoAutoModelForSeq2SeqLM, including a T5-small SQuAD example. The seq2seq path does not wire up CP, TP, PP, or sequen
- v0.6.0NVIDIA NeMo-Automodel 0.6.02026-08-26 · 2026-08-26 17:54 UTC
查看更新说明
Highlights
- Frontier-scale MoE and multimodal models. Train Moonshot AI's Kimi K3 (2.8T/104B active), Thinking Machines Lab's Inkling (975B/41B active), MiniMax AI's MiniMax-M3 VL (428B/22B active), Poolside's Laguna, and Zhipu AI's GLM-5.2.
- Long-context training. Shard packed multi-document sequences with block-diagonal variable-length context parallelism, and shard vision towers by frame to remove the redundant vision compute of a CP fold; recipes reach 128K tokens at EP8/CP32.
- New attention and kernel backends. Select FlashAttention 3 and 4, MagiAttention, FFPA for headdim=512 layers, QuACK linear/RMSNorm/RoPE kernels, and scoped partial CUDA graphs for MoE.
- Resilient checkpointing. Checkpoint on preemption signals, write to
msc://cloud directories, consolidate async saves in the background, bound checkpoint retention, and resume past an interrupted save. - Diffusion. Fine-tune and generate with LTX-2.3 joint video+audio and Qwen-Image-Edit-2511, and run context parallelism through the diffusers
ContextParallelConfigAPI.
New Hardware and Precision Support
- FP8 draft training. Extends the SFT recipes' top-level
fp8:block to every speculative recipe, swapping the draft'snn.Linearlayers to torchaoFloat8Linearon SM89 and newer, withemulate: truefor older GPUs. (#2963) - Quantized checkpoint ingestion. Dequantizes MXFP4 dequantization for Kimi K3 and MXFP8 dequantization for MiniMax-M3 for BF16 training, keeps Kimi-K2.5-VL LoRA keys out of INT4 quantization on save, and fixes a TileLang
boolx8backward codegen failure on the DeepSeek-V4 path. (#3259, #3295, #3467)
New and Expanded Model Support
LLM and MoE
- Moonshot AI: Kimi K3 (2.8T / 104B-active MoE) — text-only HellaSwag full SFT at EP32/PP8 on 256 GB200 GPUs. (docs, #3259, #3283)
- Zhipu AI: GLM-5.2 (MoE with IndexShare DSA) — HellaSwag and Tulu-3 4K at EP64/PP4, Tulu-3 32K at CP8/EP64/PP4, LoRA at EP128; selectable TileLang DSA kernels. (docs, #2633, #2691, #2695, #3222)
- Poolside: Laguna S 2.1 (118B / ~8B-active MoE) — HellaSwag full SFT at EP16. (docs, #3148)
- DeepSeek: DeepSeek-V4 Flash (MoE) — Tulu-3 SFT at CP8/PP4/EP32 and [pretraining](https://github.com/NVIDIA-NeMo/Automod
- v0.5.0NVIDIA NeMo-Automodel 0.5.02026-07-02 · 2026-07-02 19:58 UTC
查看更新说明
Release Notes
-
Highlights
- Blackwell and FP8 support. Run DeepSeek-V4 with TileLang kernels, train MoE models with MXFP8 on GB200, and use context parallelism for Qwen3.5/3.6 MoE VLM. More details in our performance summary
- Agent SFT. Train Qwen2.5-3B on multi-turn, function-calling ChatML or ShareGPT data with full-SFT and LoRA recipes. The data adapter preserves tool calls, tool responses, and optional reasoning_content.
- Speculative decoding. Train EAGLE 1/2/3/3.1, P-EAGLE, and DFlash drafts for Llama, Phi, Qwen3, Qwen3-MoE, GPT-OSS, and Nemotron Nano targets.
- dLLM. Train DFlash drafts and fine-tune LLaDA2 or Nemotron-Labs-Diffusion with the new discrete-diffusion workflows.
- Diffusion. Fine-tune and generate with FLUX.2-dev, Qwen-Image, and Wan 2.2 T2V-A14B; update FLUX, Hunyuan, and Wan 2.1 recipes for LoRA and throughput.
-
New Hardware and Precision Support
- GB200 MXFP8 MoE. Adds Transformer Engine MXFP8 grouped-expert training for Qwen3-MoE-30B, GPT-OSS-120B, and Qwen3-MoE-235B, and standardizes the bf16 expert backend on Transformer Engine grouped linear layers.
-
New and Expanded Model Support
-
LLM and MoE
- DeepSeek-V4 Flash & Pro. Adds a native model, checkpoint adapter, HellaSwag full-SFT and LoRA recipes, a packed-sequence recipe, and large-scale TileLang PP/EP recipes. The implementation covers hash routing, hyper-connections, sparse/compressed attention, FP4/FP8 checkpoint loading, and multi-token prediction.
- ERNIE 4.5. Adds HellaSwag recipes for the 0.3B dense and 21B-A3B MoE checkpoints.
- MiMo-V2-Flash. Adds a HellaSwag fine-tuning recipe and a native model implementation with checkpoint conversion.
- Ling 2.0. Adds Mini, Flash, and 1T model paths with SFT, LoRA, HellaSwag, SQuAD, and pipeline-parallel recipes.
- Hy3-preview. Adds a 295B MoE DeepEP fine-tuning and LoRA recipe, with model-specific expert-bias handling.
- Hy-MT2-30B-A3B. Adds a supervised fine-tuning recipe and native model support.
- MiniMax-M2.7. Adds pipeline-parallel full-SFT and LoRA recipes.
- Falcon-H1. Adds 0.5B, 1.5B, and 7B full-SFT recipes, plus 7B and 34B PEFT recipes.
- MiniCPM5-1B. Adds full-SFT and PEFT recipes.
- Nemotron-3-Ultra-550B-A55B. Adds a 128-GPU throughput benchmark and a 128-GPU full-SFT recipe using a real router, THD sequence packing, and a repeated MTP head.
- Qwen3.5/3.6 dense and MoE. Adds 27B dense and 35B-A3B VLM SFT/LoRA recipes, a 35B EP8/CP2 long-context recipe, MTP support, and a native dense Qwen3.5 backbone that keeps its SSM-gate parameters in fp32.
-
VLM
- Qwen3.6 VLM. Adds 27B dense and 35B-A3B SFT/LoRA recipes, including a 4K MedPix EP8/CP2 recipe for the MoE model.
- Mistral Medium 3.5. Adds a 128B MedPix full-finetuning recipe and a matching LoRA recipe.
- LLaVA-OneVision 1.5. Adds a 4B full-finetuning recipe and an 8B LoRA recipe.
- VLM QLoRA. Enables the existing quantization: config block for VLM finetuning, including BitsAndBytes 4-bit NF4 base weights with LoRA adapters.
- VLM knowledge distillation. Adds a Qwen3.5-VL 9B-to-4B KD recipe with a chunked KD loss, frozen vision/audio towers, and separate CE/KD metrics.
- Step-3.7-Flash. Adds support for Stepfun AI’s MoE VLM model Step-3.7-Flash with SFT and LoRa recipes using EP + PP across 16 nodes.
-
Omni and Multimodal
- Bagel. Adds the Bagel model, dataset, pretraining recipe, finetuning recipe, EMA support, checkpoint adapter, and distributed initialization. The one-node examples use token budgets validated for parity runs.
- Qwen2.5-Omni ASR. Adds AMI and multi-language SFT recipes for the 3B and 7B checkpoints.
- Qwen3-Omni ASR. Adds AMI and multi-language audio SFT recipes.
- Nemotron-Omni vision. Adds a dynamic-resolution image path aligned with
-
- v0.4.0NVIDIA NeMo-Automodel 0.4.02026-04-28 · 2026-04-28 20:04 UTC
查看更新说明
Release Notes
-
Highlights
- Expanded VLM line-up: Gemma 4, Mistral 4, Qwen3.5 VL
- Diffusion and discrete-diffusion LLM (new tracks)
- NeMo Retriever – bi-encoder + cross-encoder / reranker
- Knowledge Distillation scaled to TP > 1 and PP (Sepehr Sameni)
- MoE infrastructure deepening – UCCL-EP, HybridEP, grouped_mm
- SkyPilot launcher backend (Aditya Saxena, community)
- End-to-end checkpoint + convergence robustness framework
-
Model Support – newly supported families in r0.4.0
- LLM
- GLM 5 (#1372)
- GLM 5.1 (#1720)
- MiniMax M2.5 (#1280)
- VLM / OMNI
- Gemma 4 family – 2B, 4B, 31B, 26B-A4B MoE (#1658, #1660, #1731)
- Mistral Small 4 (#1556)
- Qwen3.5 VL dense – 4B, 9B (#1427)
- Qwen3.5 VL MoE – 35B (#1373)
- Diffusion
- Flux T2I, Hunyuan T2V, Wan 2.1 T2V (see "Diffusion" section)
- Discrete diffusion LLM
- LLaDA (see "Discrete Diffusion LLM" section)
- LLM
-
Diffusion – new track in r0.4.0
- HuggingFace Diffuser integration
- r0.4.0 ships full pretrain / finetune / generate pipelines with LoRA support for diffusion models (T2V, T2I)
- Wan integrated with multi-resolution DataLoader (#1475)
- Inference utility for diffusion (#1491)
- LoRA for diffusion (#1653, Linnan Wang)
- Diffusion processor registry (#1379)
- Models / recipes shipped
- Flux T2I – pretrain, SFT, LoRA, generate
- Hunyuan T2V – SFT, LoRA, generate
- Wan 2.1 T2V – pretrain, SFT, LoRA, generate
- Documentation guides for dataset preprocessing and finetuning.
-
Discrete Diffusion LLM (dLLM) – new track in r0.4.0
- Discrete diffusion LLM SFT support added (#1665)
- LLaDA SFT recipe (#1672)
- dLLM generation pipeline (#1692)
-
NeMo Retriever (bi-encoder + cross-encoder)
- Refactored cross-encoder / reranker training loop (new in r0.4.0) — (#1449).
- Bi-encoder datasets can be loaded directly from the HuggingFace Hub (#1380)
- Bi-encoder masking + consistent attn_implementation default (#1349)
- Resolve retrieval dataset corpus paths relative to training file (#1367)
- Docs: docs/guides/retrieval/finetune.md
-
Knowledge Distillation — Sepehr Sameni
- Enable TP > 1 in KD (#1297)
- TP-aware KDLoss with distributed softmax + T² scaling (#1499)
- Pipeline-parallelism support for KD (#1500)
-
Parallelism / Performance / Train-loop
- FSDP2
- FSDP2 weight prefetching + async TP optimization (#1711)
- Context Parallel
- Qwen3.5 dense & MoE CP (#1710, #1560 — alexchiu / Zhaopeng Qiu)
- Mamba CP for hybrid Nemotron v3 (#1441)
- 3D mRoPE position_ids sharding under CP (#1482)
- CP attention-mask hooks for dense / non-TE (#1470)
- Pipeline Parallel
- PP shape-inference optimization + pp_seq_len field in PipelineConfig (#1195, #1390)
- Variable length for PP (#1689 – Zhiqi Li & Hemil Desai)
- Activation checkpointing
- Gradient_checkpointing overhead reduction i[n transformers 5.3 (#1621 — Yuki Huang)
- MoE infrastructure
- UCCL-EP alternative dispatcher (#1635 – Zhiqi Li & Hemil Desai)
- HybridEP (#1333, #1666)
- DeepEP-on-H100 RDMA fallback detection (#1275 — Piotr Żelasko)
- torch._grouped_mm expert backend (#1228)
- TE FusedAdam QuantizedTensor compatibility patch (#1417)
- MoE LoRA rank scaling + torch_mm path (#1300, #1392)
- Expert / diversity metrics (#1232, #1506), top-k utilization (#1418)
- Packed sequences for MoE with EP+PP (#1685)
- FlashOptim integration (#1492)
- Scheduler-driven python GC (#1391)
- fp32 RMSNorm backend + cast_model_to_dtype for improved stability (#1493)
- Native Comet ML experiment tracking (#1411, Logan Vegna, community)
- Added .generate() with KV-cache for Nemotron v3 (#1332, Piotr Żelasko)
- Added output_hidden_states for NemotronHForCausalLM (#1386, Desh Raj)
- FSDP2
-
Launcher & CLI
- SkyP
-
- v0.3.0NVIDIA NeMo-Automodel 0.3.02026-03-02 · 2026-03-02 18:57 UTC
查看更新说明
Release Notes
- Hugging Face Transformers v5
- Upgraded to Transformers v5 with a new device-mesh-only model initialization API
- Drop-in API compatibility:
NeMoAutoModelForCausalLM,NeMoAutoModelForImageTextToText,NeMoAutoModelForSequenceClassification,NeMoAutoTokenizermirror the standard TransformersAuto*APIs
- Model Support
- LLM
- DeepSeek V3.2
- Step 3.5 Flash
- MiniMax M2
- Nemotron-3-Nano v3 (30B-A3B)
- Nemotron Flash 1B
- GLM 4.7, GLM 4.7 Flash
- Devstral-Small-2-24B
- FunctionGemma (tool-calling)
- Ministral3 (3B, 8B, 14B)
- VLM & OMNI
- Kimi-VL-A3B
- Kimi K2.5 VL
- Nemotron Parse v1.1
- Qwen3 VL MoE (30B, 235B)
- Ministral3 VLM (3B, 8B, 14B)
- Embedding & Retrieval
- NeMo Biencoder training pipeline with Llama-Embed-Nemotron-8B support
- Hard negative mining for retrieval training
- LLM
- PEFT
- DoRA (Weight-Decomposed Low-Rank Adaptation)
- LoRA for MoE models (DeepSeek MoE, Qwen MoE)
- LoRA support for Biencoder
- Parallelism
- Pipeline parallelism for VLMs
- GroupedExpertsTE backend (prerequisite for MoE FP8)
- TE RoPE fusion for custom MoE models
- Norm fusion and RoPE cache for dense models
- Dataset support for
- VLM multi-turn chat
- Inline text dataset format for retrieval
- Databricks DeltaLake streaming dataset
- Parquet file support for Megatron dataset preprocessing
- xLAM tool-calling dataset
- Answer-only masking in ColumnMappedDataset
- Checkpointing & logging
- Streaming safetensors writer for reduced peak memory during checkpoint saving
- Explicit
restore_fromfor checkpoint loading (replaces auto-loading behavior) - Checkpoint custom model code files alongside weights
- Configurable remote logging frequency via
step_scheduler
- Optimizers
- Dion optimizer (Muon/orthogonal family)
- Performance
- Faster FP8 dequant kernels for DeepSeek V3
- Meta device initialization enabled by default for reduced peak memory during model setup
- Combine projection refactor for dense models
- SDPA as default attention backend when FlashAttention is unavailable
- Misc Infrastructure
- Databricks integration (DeltaLake datasets, Unity Catalog checkpointing, DBFS consolidation)
- Nsys profiling support with model layer name scoping
- Environment variable dereferencing in YAML configs
- Improved import time
- Resolved from 0.2.0
- MoE perf regression with DeepSeek V3 (resolved via faster FP8 dequant kernels and GroupedExpertsTE backend)
- PEFT (LoRA) support for MoE models (now available)
- Validation for packed sequences with TE attention (fixed)
- Validation support for pipeline parallelism (added)
- Known Issues
- Qwen3-next unsupported on blackwell due to FLA lacking support.
- TransformerEngine’s Fused Adam is not working with DTensor, resolved in the upcoming version.
- LoRA with TE backend is not supported
Community Contributions
- We gratefully acknowledge the following contributions from the OSS community:
- @onel (Andrei Onel) – Founder of @askmanu, Dublin
- docs: Add documentation for the new ChatDataset class (#990)
- docs: Added MLflow guide (#1045)
- docs: Created guide for quantization aware training (#1088)
- docs: Documentation update for release 0.2.0 (#1041)
- docs: Update docs/guides/dataset-overview.md (#1145)
- @ooooo-create – Community contributor (PaddlePaddle ecosystem)
- fix: Add DeepEP fallback logic and tests (#1000)
- fix: respect trust_remote_code when building AutoConfig (#1007)
- @Sparlitu – Community contributor
- fix: leave num_epochs unset if max_steps is specified (#1107)
- @yuhezhang-ai (Yuhe Zhang) – Engineer at Polarr
- feat: Support LoRA for custom MoEs (#1010)
- fix: sequence classification metric and training bugs #780 (#841)
- @therealnaveenkam
- @onel (Andrei Onel) – Founder of @askmanu, Dublin
- Hugging Face Transformers v5
用户点评
登录用户的真实使用记录,可按版本和硬件筛选还没有人点评。第一个说出真实体验的人最有价值。
🚀 NeMo AutoModel
📖 Documentation • 🔥 Ready-to-Use Recipes • 💡 Examples • Model Coverage • Performance • 🤝 Contributing
📣 News and Discussions
-
[11/04/2026]REINFORCE-Zero We added a train-inference consistency skill: the trainer calls the rollout engine's own kernels, so its logprobs match vLLM's bitwise and the train-inference mismatch is exactly 0 (
mismatch0,vllm_kl0). labs-molt has the end-to-end implementation and an example. It follows REINFORCE-Zero by @hijkzzz: with aligned kernels, asynchronous RL stays stable with plain importance sampling, no clipping. -
[11/01/2026]Muown optimizer We now support the Muown optimizer for dense and MoE models with FSDP2 and expert parallelism. Check out the Qwen3-30B-A3B recipe.
-
[10/29/2026]Mistral Large 4 Fine-tune Mistral AI's 1T-A52B multimodal MoE model with expert, pipeline, and context parallelism. See the model card. Explore the MedPix SFT and 128K long-context packed SFT recipes.
-
[10/25/2026]Nanbeige4.3-33B Fine-tune Nanbeige's dense 33B agentic model on 128K packed sequences with context parallelism. See the model card. Explore the 128K SFT CP16 and 128K LoRA CP8 recipes.
-
[10/23/2026]NVIDIA Nemotron 3.5 Bolt Fine-tune NVIDIA-Nemotron-3.5-Bolt-E4B-4GB-BF16 with the MedPix full-parameter SFT and MedPix LoRA recipes, and NVIDIA-Nemotron-3.5-Bolt-74B-A9B-BF16 with the CORD-v2 LoRA recipe. See the E4B and 74B-A9B model coverage pages.
-
[10/23/2026]MiniMax-M3.1-Flash We now support fine-tuning MiniMax AI's MoE vision-language model, loading its NVFP4 and MXFP8 checkpoint directly. Check out the MedPix SFT EP128 recipe and the model coverage page.
-
[10/21/2026]Flint Fine-tune Recursive's 39.8B-A2.5B MoE model with expert and context parallelism. See the model card. Explore the SFT, LoRA, 128K packed TE, and 128K packed MagiAttention (H100) recipes.
-
[10/21/2026]EAGLE-4 We now support training EAGLE-4 drafters: the EAGLE-3.1 draft with a sliding-window layer and a low-rank candidate head over the full vocabulary, trained in two stages and exported to the
LlamaForCausalLMEagle4serving layout, many thanks to @Khazic. Check out the Qwen3-8B draft and candidate-head recipes and the speculative decoding overview. -
[10/16/2026]Beam-1.0-501B-A23B We now support LoRA and full-parameter fine-tuning for Reflection AI's 501B-A23B sparse MoE with mixed sliding-window and full attention, using FSDP2, expert parallelism, and packed sequences. Check out the Tulu3 LoRA EP8 and Tulu3 SFT EP64 8-node recipes and the model coverage page.
-
[10/15/2026]Muse Spark Open Fine-tune Meta's MoE model with expert, pipeline, and context parallelism. See the model card. Explore the image-text SFT, LoRA, and 128K long-context packed SFT recipes.
-
[10/15/2026]NVIDIA Nemotron 3.5 Super VL Fine-tune the 120B-A12B vision-language model with CORD-v2 SFT, CORD-v2 PEFT (LoRA), 256K packed SFT (GB200). See the CORD-v2 tutorial for data preparation, training, and evaluation.
-
[10/14/2026]Step-5-Preview-BF16 We now support StepFun's 600B-A27B sliding-window and sparse-attention MoE with FSDP2, expert, pipeline and context parallelism. Check out the model coverage page and the Tulu3 SFT, LoRA, and 128K long-context CP32 recipes.
-
[10/12/2026]FLUX 3 Image Klein Base We added text-to-image and image-editing LoRA fine-tuning for Black Forest Labs' base image model. See the T2I LoRA recipe and model guide for checkpoint setup and the 100-step validation scope.
-
[10/04/2026]HunyuanImage-3.0 We now support text-to-image full fine-tuning and LoRA for Tencent's 80B-A13B MoE multimodal decoder with FSDP2 and expert parallelism, many thanks to @Khazic. Check out the full fine-tuning and LoRA recipes and the model coverage page.
-
[09/28/2026]Qwen-Image-2.1 We now support text-to-image full fine-tuning and LoRA for Qwen's 7B single-stream DiT conditioned on Qwen3-VL. Check out the full fine-tuning and LoRA recipes and the model coverage page.
-
[09/26/2026]MiMo-V2.5-Pro We now support full-parameter fine-tuning for Xiaomi's hybrid full and sliding-window attention Mixture-of-Experts model from its FP8 checkpoint. Check out the HellaSwag PP18/EP8 recipe and model coverage page.
-
[09/22/2026]MiMo-V2.6-Flash-RL We now support full-parameter fine-tuning for Xiaomi's multimodal Mixture-of-Experts model with expert, pipeline, and context parallelism. Check out the packed Tulu3 EP64/CP2 recipe, non-packed MedPix EP64 recipe, and model coverage page.
-
[09/11/2026]DeepSeek-V4.1-Flash We now support SFT and LoRA for DeepSeek's causal encoder/decoder backbone with CSA2, single-pass mHC, and Engram, many thanks to @Khazic. Check out the HellaSwag EP64 16-node recipe and model coverage page.
-
[08/29/2026]GLM-5.3 We now support full-parameter fine-tuning of Z.ai's GLM-5.3 with cuDNN DSA and HybridEP. Check out the EP64/PP4 recipe and model coverage page.
-
[08/28/2026]Ox Alpha / GLM-5.3-Flash We now support fine-tuning Z.ai's 320B-A18B hybrid-attention MoE VLM with packed CP and EP. Check out the MedPix EP72/CP2 recipe and model coverage page.
-
[08/26/2026]Qwen3.8-Flash-Next We now support full-parameter fine-tuning for the 180B hybrid-attention Engram MoE with FlexAttention sparse QSA, packed (THD) sequences, and model-owned context parallelism. Check out the HellaSwag EP64 recipe and model coverage page.
-
[08/21/2026]DFlash 2 We now support training DFlash 2 drafters: the DFlash block-diffusion backbone plus a two-tap dynamic convolution and a pairwise path selector for higher acceptance lengths. Check out the Qwen3-8B recipe and the speculative decoding overview.
-
[08/14/2026]Qwen3.8-27B We now support full-parameter SFT and LoRA fine-tuning for Qwen's dense 27B vision-language model. Check out the SFT and LoRA recipes, fine-tuning guide, and model coverage page.
-
[08/12/2026]Qwen3.8-2.4T-A95B We now support full-parameter fine-tuning for
Qwen/Qwen3.8-2.4T-A95Bcheckpoints. Check out the HellaSwag EP32/PP8 recipe and model coverage page. -
[08/12/2026]North Micro Vision We now support LoRA fine-tuning for Cohere Labs' 2.4B-parameter native-resolution vision-language model. Check out the RDR recipe and model coverage page.
-
[08/10/2026]MuseGlimmer We now support SFT/LoRA the dense 30B MuseGlimmer vision-language model, including TP/CP packed sequence recipes. Check out the recipes and model coverage page.
-
[08/08/2026]Nemotron 3.5 Lightning We now support LoRA fine-tuning for NVIDIA's 30B-A3B hybrid MoE model with multi-token prediction. Check out the HellaSwag recipe and model coverage page.
-
[07/30/2026]Inkling-Small We now support full-parameter fine-tuning for the 276B-parameter, 12B-active Inkling-Small model on 64 H100 GPUs. Check out the MedPix EP64 recipe and model coverage page.
-
[07/29/2026]Kimi K3 We now support full-parameter fine-tuning for Moonshot AI's 2.8T-parameter MoE model on NVIDIA GB200. Check out the HellaSwag EP32/PP8 recipe on 256 GB200.
-
[07/21/2026]Laguna S 2.1 We now support finetuning Poolside's 118B-A8B Laguna S 2.1 MoE model. Check out our HellaSwag EP16 recipe.
-
[07/18/2026]Inkling VLM MoE We now support finetuning Inkling. Check out our MedPix recipe.
-
[06/27/2026] Speculative decoding in NeMo AutoModel Train target-aligned drafters end to end: EAGLE-1/2/3, P-EAGLE, DFlash, and DeepSeek's newly released DSpark. Huge thanks to @Khazic for the speculative decoding stack and @kashif for DSpark support.
-
[06/21/2026]GLM-5.2 We now support finetuning
zai-org/GLM-5.2with IndexShare DSA, optional TileLang sparse kernels, and long-context CP recipes. Check out our 32K long-context recipe and model coverage page. -
[06/15/2026]DiffusionGemma. We now support fine-tuning the
google/diffusiongemma-26B-A4B-itmodel. Check out our recipe and guide. -
[06/12/2026]MiniMax M3 We now support finetuning MiniMax's MiniMax-M3. Check out our recipe and guide.
-
[06/04/2026]Nemotron-3 Ultra We now support finetuning NVIDIA's Nemotron 3 Ultra 550B A55B. Check out our recipe and guide.
-
[06/03/2026]Gemma 4 12B We now support finetuning the dense
google/gemma-4-12Bmodel. Check out our recipe. -
[05/27/2026]Step-3.7-Flash We added model coverage for Stepfun AI's 198B-A13B MoE vision-language model, targeting image/video agentic developer workflows with a 256k context language backbone and 1.8B ViT vision tower. See the model coverage page.
-
[05/19/2026]Ling 2.0 We now support finetuning the inclusionAI Ling 2.0 MoE family (
inclusionAI/Ling-mini-2.0,inclusionAI/Ling-flash-2.0, andinclusionAI/Ling-1T), thanks to @Hayden727. Check out our recipes. -
[05/17/2026]ERNIE 4.5 and MiMo-V2-Flash We now support finetuning
baidu/ERNIE-4.5-0.3B-PT,baidu/ERNIE-4.5-21B-A3B-PT, andXiaomiMiMo/MiMo-V2-Flash. Check out our ERNIE dense recipe, ERNIE MoE recipe, and MiMo recipe. -
[04/29/2026]Mistral Medium 3.5 We now support finetuning Mistral AI's 128B FP8-native VLM Mistral Medium 3.5. Check out our recipe and guide.
-
[04/28/2026]Nemotron-3-Nano-Omni We now support finetuning
nvidia/Nemotron-3-Nano-Omni-30B-A3B-Reasoning-BF16, NVIDIA's 30B-A3B omnimodal MoE (text · image · audio) with NemotronH hybrid Mamba+Attention backbone. Check out our SFT recipe, LoRA recipe, and guide. -
[04/28/2026]Hy3-preview We now support finetuning
tencent/Hy3-preview, thanks to @Khazic. Check out our recipe. -
[04/25/2026]DeepSeek V4 Flash We now support finetuning
deepseek-ai/DeepSeek-V4-Flash, thanks to @Khazic. Check out our recipe and guide. -
[04/22/2026]Qwen3.6-27B We now support finetuning
Qwen/Qwen3.6-27B. Check out our recipe. -
[04/20/2026]Qwen-Image We now support finetuning
Qwen/Qwen-Image, thanks to @harshareddy832. Check out our recipe. -
[04/16/2026]Qwen3.6 MoE We now support finetuning
Qwen/Qwen3.6-35B-A3B. Check out our recipe. -
[04/16/2026]LLaVA-OneVision-1.5 We now support finetuning
lmms-lab/LLaVA-OneVision-1.5-4B-Instruct, thanks to @vgauraha62. Check out our recipe. -
[04/12/2026]MiniMax-M2.7 We now support finetuning
MiniMaxAI/MiniMax-M2.7. Check out our recipe. -
[04/07/2026]GLM-5.1 We now support finetuning
zai-org/GLM-5.1. GLM-5.1 is Zhipu AI's latest open-source MoE model featuring MLA + DeepSeek Sparse Attention. Check out our recipe and discussion. -
[04/02/2026]Gemma 4 We support fine-tuning for Gemma4 (2B, 4B, 31B, 26BA4B)! Check out our recipes.
-
[03/30/2026]NeMo AutoModel ships with agent-friendly skills in skills/ to help you with common development tasks (e.g., running a recipe, model onboarding, development) across the repo. We welcome PRs that improve existing skills or add new ones.
-
[03/16/2026]Mistral Small 4 We support fine-tuning for Mistral4 119B! Check out our recipe.
-
[03/11/2026]Nemotron Super v3 We support fine-tuning for
nvidia/NVIDIA-Nemotron-3-Super-120B-A12B-BF16. Check out our recipe. -
[03/11/2026]GLM-5 We now support finetuning
zai-org/GLM-5. Check out our recipe. -
[03/02/2026]Qwen3.5 small models We support finetuning for Qwen3.5 small models 0.8B, 2B, 4B (recipe) and 9B (recipe)
-
[02/16/2026]Qwen3.5 MoE We support finetuning for
Qwen/Qwen3.5-397B-A17B(recipe) andQwen/Qwen3.5-35B-A3B(recipe)
- [02/13/2026] MiniMax-M2.5 We support finetuning for
MiniMaxAI/MiniMax-M2.5. Checkout our recipe - [02/11/2026] GLM-4.7-Flash We now support finetuning GLM-4.7-Flash. Checkout our packed sequence recipe
- [02/09/2026] MiniMax-M2 We support finetuning for
MiniMaxAI/MiniMax-M2. Checkout our recipe - [02/06/2026] Qwen3 VL 235B We support finetuning for
Qwen/Qwen3-VL-235B-A22B-Instruct. Checkout our recipe - [02/06/2026] GLM4.7 We now support finetuning GLM4.7. Checkout our recipe
- [02/06/2026] Step3.5-flash is out! Finetune it with our finetune recipe
- [02/05/2026] DeepSeek-V3.2 is out! Checkout out the finetune recipe!
- [02/04/2026] Kimi K2.5 VL is out! Finetune it with NeMo AutoModel
- [01/30/2026] Kimi VL We support fine-tuning for
moonshotai/Kimi-VL-A3B-Instruct. Check out our recipe. - [01/12/2026] Nemotron Flash We support fine-tuning for
nvidia/Nemotron-Flash-1B. Check out our recipe. - [01/12/2026] Nemotron Parse We support fine-tuning
nvidia/NVIDIA-Nemotron-Parse-v1.1(recipe, tutorial and try on Brev). - [01/07/2026] Devstral-Small We support fine-tuning for
mistralai/Devstral-Small-2-24B-Instruct-2512. Check out our recipe. - [12/18/2025] FunctionGemma is out! Finetune it with NeMo AutoModel!
- [12/15/2025] NVIDIA-Nemotron-3-Nano-30B-A3B is out! Finetune it with NeMo AutoModel!
- [11/6/2025] Accelerating Large-Scale Mixture-of-Experts Training in PyTorch
- [10/6/2025] Enabling PyTorch Native Pipeline Parallelism for 🤗 Hugging Face Transformer Models
- [9/22/2025] Fine-tune Hugging Face Models Instantly with Day-0 Support with NVIDIA NeMo AutoModel
- [9/18/2025] 🚀 NeMo Framework Now Supports Google Gemma 3n: Efficient Multimodal Fine-tuning Made Simple
Overview
Nemo AutoModel is a Pytorch DTensor‑native SPMD open-source training library under NVIDIA NeMo Framework, designed to streamline and scale training and finetuning for LLMs, VLMs, diffusion models, and retrieval models. Designed for flexibility, reproducibility, and scale, NeMo AutoModel enables both small-scale experiments and massive multi-GPU, multi-node deployments for fast experimentation in research and production environments.
What you can expect:
- Hackable with a modular design that allows easy integration, customization, and quick research prototypes.
- Minimal ceremony: YAML-driven recipes; override any field using CLI.
- High performance and flexibility with custom kernels and DTensor support.
- Seamless integration with Hugging Face for day-0 model support, ease of use, and wide range of supported models.
- Efficient resource management using Kubernetes and Slurm, enabling scalable and flexible deployment across configurations.
- Documentation with step-by-step guides and runnable examples.
Why PyTorch Distributed and SPMD
- One program, any scale: The same training script runs on 1 GPU or 1000+ by changing the mesh.
- PyTorch Distributed native: Partition model/optimizer states with
DeviceMesh+ placements (Shard,Replicate). - SPMD first: Parallelism is configuration. No model rewrites when scaling up or changing strategy.
- Decoupled concerns: Model code stays pure PyTorch; parallel strategy lives in config.
- Composability: Mix tensor, sequence, and data parallel by editing placements.
- Portability: Fewer bespoke abstractions; easier to reason about failure modes and restarts.
Table of Contents
- Feature Roadmap
- Getting Started
- LLM
- VLM
- Supported Models
- Performance
- Interoperability
- Contributing
- License
TL;DR: SPMD turns “how to parallelize” into a runtime layout choice, not a code fork.
Feature Roadmap
✅ Implemented on main | 🔜 Planned
For released features, see the release notes. Docker examples target the 26.10 container.
High-throughput scalable training
- ✅ PyTorch DTensor-native SPMD training Same training script can scale from 1 GPU to large multi-node jobs by changing the device mesh/config.
- ✅ Composable Parallelism - PyTorch native FSDP2, HSDP, TP, CP, SP and PP for distributed training.
- ✅ Optimized kernels - Uses NVIDIA-oriented kernel paths such as Transformer Engine, DeepEP, FlexAttn, TorchSDPA, fused attention, rotary embeddings, Triton, and optional kernel patches.
- ✅ MoE acceleration - Includes MoE routing and DeepEP integration, plus expert-parallel configurations used in DeepSeek, Qwen MoE, GPT-OSS, and Nemotron MoE benchmarks.
- ✅ FP8 and mixed precision - FP8 support with torchao and Transformer Engine.
- ✅ MXFP8 MoE training - Transformer Engine and torchao MXFP8 grouped-expert training on GB200.
- ✅ Activation checkpointing - Trades recomputation for lower activation memory, especially useful with FSDP and memory-efficient losses.
- ✅ Memory-efficient loss - Linear-Cut / fused linear cross entropy avoids materializing full logits for the loss, reducing output-layer memory pressure.
- ✅ Sequence packing - Packs variable-length examples together to reduce padding compute and improve GPU utilization.
- ✅ FlashAttention packed-sequence support - Packed masks can feed variable-length FlashAttention paths using per-document cu_seqlens.
- ✅ DCP - Supports PyTorch DCP and SafeTensors, sharded and consolidated layouts, merge/reshard utilities, and Hugging Face-compatible outputs.
- ✅ Async checkpointing - Can write checkpoints in the background to reduce training stalls caused by I/O.
- ✅ Dion, Muon, and Muown optimizers - Distributed optimizer integrations with typed recipe configuration.
- ✅ Environment Support - SLURM, interactive, SkyPilot, and Kubernetes (via SkyPilot) launchers.
SOTA algorithms
- ✅ Pre-training - Support for model pre-training, including DeepSeekV3.
- ✅ Learning Algorithms - SFT (Supervised Fine-Tuning), PEFT (LoRA, QLoRA), and QAT (Quantization-Aware Training).
- ✅ Knowledge distillation - Support for knowledge distillation with LLMs.
- ✅ VLM knowledge distillation - Chunked KD loss and a Qwen3.5-VL teacher-student recipe.
- ✅ Speculative decoding training - Train target-aligned EAGLE-1/2/3/4, P-EAGLE, DFlash, DFlash 2, and DSpark drafters for faster verified generation.
Model Coverage and 🤗 Ecosystem compatibility
- ✅ Transformers v5 🤗 - Built on latest transformers with device-mesh driven parallelism.
- ✅ 🤗 HuggingFace Integration - Works with dense models (e.g., Qwen, Llama3, etc) and large MoEs (e.g., DSv3, DSv4).
- ✅ VLM - Finetuning for VLMs (Qwen2.5/3/3.5/3.6 VL, Gemma-3/3n/4 VL, Mistral 3.5/4, LLaVA-OneVision-1.5, Kimi-VL, etc.).
- ✅ Omnimodal - Finetuning for omnimodal MoE models (Nemotron-3-Nano-Omni, Qwen3-Omni).
- ✅ Diffusion - Pretraining and LoRA finetuning for image/video diffusion models (Qwen-Image, Qwen-Image-2.1, FLUX, FLUX 3 Image Klein Base, Wan2.1, Wan2.2-T2V-A14B, Hunyuan).
- ✅ dLLM - Discrete diffusion LM finetuning (LLaDA, LLaDA2, Nemotron-Labs-Diffusion, DiffusionGemma).
- ✅ Retrieval - Bi-encoder and cross-encoder training with in-batch negative sampling.
- ✅ Extended MoE support - GPT-OSS, Kimi K3, Qwen3 / Qwen3.5 / Qwen3.6 MoE, Qwen-next, MiniMax-M2.x, GLM-4.7 / GLM-5 / GLM-5.1 / GLM-5.2 / GLM-5.3 / GLM-5.3-Flash, DeepSeek V3.2 / V4 / V4-Flash, ERNIE 4.5, MiMo-V2-Flash / MiMo-V2.5-Pro, Ling 2.0, Hy3-preview.
Agentic Development and UX
- ✅ Agent-friendly skills - Curated
skills/for common dev tasks (recipe runs, model onboarding, CI).
Planned
- 🔜 Unified Engine API and recipes - Introduce a common engine and consolidate the LLM and VLM recipe paths.
- 🔜 Composable component configuration - Complete the typed config and
.build()refactor across data and remaining components. - 🔜 Packed long-context training with CP - Combine THD sequence packing with context parallelism, including DeepSeek V4 coverage.
- 🔜 Kernel and runtime upgrades - Add partial CUDA graphs, evaluate FlashAttention 3/4, and upgrade to DeepEP v2.
- 🔜 Multimodal retrieval - Expand vision-language retrieval datasets and models and improve retriever performance.
- 🔜 Convergence and regression testing - Add automated loss, evaluation, and performance gates to NeMo CI.
- 🔜 Transformers 5.12 alignment - Upgrade the Transformers integration and restore affected model parity coverage.
- 🔜 Recipe consistency - Align diffusion recipes with the shared AutoModel recipe and configuration patterns.
Getting Started
Run a 10-step Qwen3-0.6B fine-tuning example on two GPUs with the container:
mkdir -p checkpoints
docker run --gpus all -it --rm --shm-size=8g \
-v "$PWD/checkpoints:/opt/Automodel/checkpoints" \
nvcr.io/nvidia/nemo-automodel:26.10.00 \
automodel /opt/Automodel/examples/llm_finetune/qwen/qwen3_0p6b_hellaswag.yaml \
--nproc-per-node 2 \
--step_scheduler.max_steps 10
The model and HellaSwag dataset are public; no Hugging Face token is required. Checkpoints are saved to the mounted checkpoints directory.
For source installation, use uv for reproducible Python environments.
# Setup environment before running any recipes
uv venv
# Choose ONE:
uv sync --frozen # LLM recipes (default)
# uv sync --frozen --extra vlm --extra vlm-media # VLM recipes (Qwen/Mistral/Omni need vlm-media for video/vision; fixes: ImportError: qwen_vl_utils is not installed)
# uv sync --frozen --extra cuda # Optional CUDA deps (e.g., Transformer Engine, Mamba SSM)
# uv sync --frozen --extra cuda_source # Optional bitsandbytes dependency
# uv sync --frozen --extra all # Most optional deps (includes `vlm` and `cuda`; NOTE: excludes media — add --extra media for video/image decode)
# uv sync --frozen --all-extras # Everything (includes `fa`, `moe`, `media`, etc.)
# One-off runs (examples):
# uv run --extra vlm <command>
# uv run --extra cuda <command>
uv run python -c "import nemo_automodel; print('NeMo AutoModel ready')"
Run a Recipe
All recipes are launched via the automodel CLI (or its short alias am). Each YAML config specifies the recipe class and all training parameters:
# LLM example: multi-GPU fine-tuning of Qwen3-0.6B with FSDP2 (no HF token required)
automodel examples/llm_finetune/qwen/qwen3_0p6b_hellaswag.yaml --nproc-per-node 8
# VLM example: single-GPU fine-tuning (Gemma-3-VL) with LoRA
automodel examples/vlm_finetune/gemma3/gemma3_vl_4b_cord_v2_peft.yaml
# Both commands also work with uv run:
uv run automodel examples/llm_finetune/qwen/qwen3_0p6b_hellaswag.yaml --nproc-per-node 8
[!TIP] NeMo-Run submission: The
cliextra adds NeMo Run to the base package:uv pip install "nemo-automodel[cli]". It is additive; the base package still installs its core training dependencies, including PyTorch.
LLM Pre-training
LLM Pre-training Single Node
We provide an example SFT experiment using the FineWeb dataset with a nano-GPT model, ideal for quick experimentation on a single node.
automodel examples/llm_pretrain/nanogpt_pretrain.yaml --nproc-per-node 8
LLM Supervised Fine-Tuning (SFT)
We provide an example SFT experiment using the HellaSwag dataset.
LLM SFT Single Node
The default SFT configuration is set to run on a single GPU. To start the experiment:
automodel examples/llm_finetune/qwen/qwen3_0p6b_hellaswag.yaml
This fine-tunes Qwen3-0.6B on HellaSwag using a single GPU. The model and dataset are public; no Hugging Face token is required.
To use multiple GPUs on a single node, add the --nproc-per-node argument:
automodel examples/llm_finetune/qwen/qwen3_0p6b_hellaswag.yaml --nproc-per-node 8
LLM SFT Multi Node
To launch on a SLURM cluster, copy the reference sbatch script and adapt it to your cluster:
cp slurm.sub my_cluster.sub
# Edit my_cluster.sub — change CONFIG, #SBATCH directives, container, mounts, etc.
sbatch my_cluster.sub
All cluster-specific settings (nodes, GPUs, partition, container, mounts) live in your sbatch script.
NeMo-Run (nemo_run:) sections are also supported -- see our
cluster guide for details.
LLM Parameter-Efficient Fine-Tuning (PEFT)
We provide a PEFT example using the HellaSwag dataset.
LLM PEFT Single Node
# Memory-efficient SFT with LoRA
automodel examples/llm_finetune/qwen/qwen3_0p6b_hellaswag_peft.yaml
# Override any YAML parameter via the command line:
automodel examples/llm_finetune/qwen/qwen3_0p6b_hellaswag_peft.yaml \
--step_scheduler.local_batch_size 16
[!NOTE] Launching a multi-node PEFT example uses the same
sbatch slurm.subworkflow as the SFT case above.
VLM Supervised Fine-Tuning (SFT)
We provide a VLM SFT example using Qwen2.5-VL for end-to-end fine-tuning on image-text data.
VLM SFT Single Node
# Qwen2.5-VL on 8 GPUs
automodel examples/vlm_finetune/qwen2_5/qwen2_5_vl_3b_rdr.yaml --nproc-per-node 8
VLM Parameter-Efficient Fine-Tuning (PEFT)
We provide a VLM PEFT (LoRA) example for memory-efficient adaptation with Gemma3 VLM.
VLM PEFT Single Node
# Gemma-3-VL PEFT on 8 GPUs
automodel examples/vlm_finetune/gemma3/gemma3_vl_4b_medpix_peft.yaml --nproc-per-node 8
Supported Models
NeMo AutoModel provides native support for a wide range of models available on the Hugging Face Hub, enabling efficient fine-tuning for various domains. Below is a small sample of ready-to-use families (train as-is or swap any compatible 🤗 causal LM), you can specify nearly any LLM/VLM model available on 🤗 hub: