Diffusion models have driven some of the most notable open-source releases in generative AI over the past two years, including FLUX.1-dev for text-to-image generation and Wan 2.1 and HunyuanVideo for text-to-video. The Hugging Face Diffusers library has emerged as the central hub for these models, offering a unified interface for inference, adaptation, and pipeline composition. Now, a collaboration between NVIDIA and Hugging Face aims to make large-scale training and fine-tuning of these models significantly more accessible.
What NeMo Automodel Brings to the Table
NVIDIA NeMo Automodel is an open-source, PyTorch DTensor-native training library that is part of the broader NVIDIA NeMo framework. The integration with Diffusers is designed around two core principles. First, it is Hugging Face native: users can point a pretrained model path at any Diffusers model ID on the Hub and begin training immediately. NeMo Automodel loads models using standard Diffusers classes and pipelines, and checkpoints round-trip cleanly back into the Diffusers ecosystem for inference or sharing.
Second, the library follows a "one program, any scale" philosophy. Parallelism is treated as a configuration choice rather than a code rewrite. Users can switch between FSDP2, tensor parallel, expert parallel, context parallel, and pipeline parallel simply by declaring settings — not by rewriting model code. This makes it feasible to scale training from a single GPU to large multi-node clusters.
Currently, NeMo Automodel supports flow-matching models. Under the hood, it uses flow matching as the training objective, along with latent-space training via pre-encoded VAE outputs and multiresolution bucketed data loading to maximize throughput.
Practical Benefits for Diffusers Users
One of the most significant advantages of the integration is the elimination of checkpoint conversion. Pretrained weights from the Hugging Face Hub work out of the box, and fine-tuned checkpoints load directly into a DiffusionPipeline for inference. Downstream tools such as quantization, compilation, LoRA adapters, and custom samplers continue to function without modification.
When a new diffusion model is added to Diffusers, enabling it in NeMo Automodel requires only a small, contained code addition — a data preprocessing handler and a model adapter — rather than an entirely new training script. The rest of the recipe stack, including FSDP2, bucketed data loading, checkpointing, and generation, carries over unchanged through the same YAML-driven workflow.
The integration supports both full fine-tuning and LoRA-style parameter-efficient fine-tuning (PEFT). This means users can pursue maximum quality with full fine-tuning on a large cluster or maximum efficiency with LoRA on a single node, all within the same recipe structure.
Scalability extends well beyond what built-in Diffusers scripts offer. NeMo Automodel adds sharding schemes such as FSDP2, tensor, context, and pipeline parallelisms, along with multi-node orchestration via SLURM (with Kubernetes support planned). These capabilities make it possible to train larger models such as FLUX.1-dev at 12 billion parameters and HunyuanVideo at 13 billion parameters.
