NVIDIA NeMo Automodel integrates with Hugging Face Diffusers for distributed video and image model fine-tuning
NVIDIA and Hugging Face have integrated NeMo Automodel with the Diffusers library, enabling distributed fine-tuning of video and image diffusion models without checkpoint conversion. The integration supports models including FLUX.1-dev (12B), Wan 2.1 (1.3B/14B), and HunyuanVideo (13B) with full fine-tuning and LoRA options.
NVIDIA NeMo Automodel integrates with Hugging Face Diffusers for distributed video and image model fine-tuning
NVIDIA and Hugging Face have integrated NeMo Automodel with the Diffusers library, enabling production-grade distributed training for diffusion models without checkpoint conversion. The integration, released under Apache 2.0, allows users to fine-tune any Diffusers-format model directly from the Hugging Face Hub.
Technical capabilities
NeMo Automodel is a PyTorch DTensor-native training library that uses Diffusers model classes for loading and pipelines for generation. The integration eliminates the need to convert checkpoints between training and inference formats—fine-tuned weights load directly into DiffusionPipeline.
The library implements multiple parallelism strategies as configuration options rather than code rewrites: FSDP2, tensor parallel, expert parallel, context parallel, and pipeline parallel. It includes memory-efficient sharding, latent caching, and multiresolution bucketing for training at scale.
Supported models
The integration ships with fine-tuning recipes for six model families:
- Wan 2.1 T2V: 1.3B (fits single 40GB A100) and 14B parameter versions for text-to-video
- Wan 2.2 T2V A14B: 27B total parameters (MoE), 14B active per step
- FLUX.1-dev: 12B parameters for text-to-image
- FLUX.2-dev: 32B parameters for text-to-image
- HunyuanVideo 1.5: 13B parameters for text-to-video
- Qwen-Image: 20B parameters (MMDiT) for text-to-image
All models except Wan 2.2 include LoRA recipe support for parameter-efficient fine-tuning.
Training workflow
The workflow consists of three steps:
-
Pre-encode dataset: Cache VAE latents and text embeddings using distributed preprocessing across GPUs. For the 78-image Rider-Waite tarot dataset example, preprocessing outputs .pt cache files and sharded metadata.
-
Launch training: Use existing YAML configs with command-line overrides for dataset-specific settings. The example fine-tunes FLUX.1-dev with eight-way FSDP2 and an effective batch size of 32.
-
Generate from checkpoint: Fine-tuned models load directly into Diffusers pipelines without conversion.
The library currently supports flow-matching models only, using flow matching as the training objective with latent-space training and multiresolution bucketed dataloading.
Installation and availability
NeMo Automodel is available via Docker container (nvcr.io/nvidia/nemo-automodel:26.06), pip install, or from source. The recommended installation includes PyTorch, TransformerEngine, and CUDA-compiled dependencies pre-built.
Multi-node orchestration currently works with SLURM, with Kubernetes support coming next. The team is also developing Pythonic recipe APIs as an alternative to YAML configuration.
What this means
This integration removes a significant friction point in diffusion model development. Previously, scaling training beyond single-node setups required custom code and checkpoint format conversions. By making distributed training a configuration choice rather than a code rewrite, NVIDIA and Hugging Face have made it practical for researchers to fine-tune models like HunyuanVideo (13B) and FLUX.2-dev (32B) that were previously out of reach for many teams. The direct Hub integration means fine-tuned models remain compatible with the existing Diffusers ecosystem, including quantization tools, LoRA adapters, and custom samplers.
Related Articles
NVIDIA open-sources three synthetic datasets and a DFlash2 speculator for Nemotron 3.5 Parse
NVIDIA is open-sourcing three synthetic training datasets used for Nemotron 3.5 Parse, plus a fine-tuning recipe and a DFlash2 speculator. NVIDIA reports DFlash2 raises throughput 7.62× at concurrency 1 and 1.52× at concurrency 512 on one H200.
NVIDIA Cosmos 3 Nano runs on GPUs with as little as 12 GB VRAM via Diffusers offloading package
NVIDIA published a tutorial for running Cosmos 3 Nano, its world foundation model for video generation, on GPUs with as little as 12 GB of VRAM. The Cosmos-Framework offloading package keeps weights in system RAM and moves them to the GPU as needed, and an FP8 checkpoint cuts memory further.
NVIDIA Kimodo becomes first AI motion model in Unreal Engine 5.9 Preview's guided animation framework
NVIDIA Kimodo is the first AI motion-generation model integrated into Unreal Engine 5.9 Preview's guided animation framework, letting animators generate motion in Sequencer from text prompts, spline paths and target poses. NVIDIA's November game developer roundup also covers In-Game Inferencing SDK 1.8, RTX Dynamic Illumination 3.2, RTX Path Tracing 1.9 and a new Real-Time BVH Viewer 1.0.
Microsoft Foundry adds optimizer loop for agents: insights GA, optimizer still in preview
At Ignite, Microsoft added a four-stage continuous improvement loop to Foundry that feeds traces, annotations, and evaluation scores into an agent optimizer. Production insights and multi-turn evaluation are generally available, while the optimizer itself remains in preview.
Comments
Loading...