NVIDIA releases LoRA/DoRA fine-tuning guide for Cosmos Predict 2.5 to generate synthetic robot training data
NVIDIA published a technical guide for parameter-efficient fine-tuning of its Cosmos Predict 2.5 world model using LoRA and DoRA adapters. The method allows teams to adapt the 2B-parameter model to robot manipulation tasks on a single 80GB GPU, generating synthetic training trajectories from just 92 demonstration videos.
NVIDIA releases LoRA/DoRA fine-tuning guide for Cosmos Predict 2.5 to generate synthetic robot training data
NVIDIA published a technical guide for parameter-efficient fine-tuning of its Cosmos Predict 2.5 world model using LoRA and DoRA adapters. The method allows teams to adapt the 2B-parameter model to robot manipulation tasks on a single 80GB GPU, generating synthetic training trajectories from just 92 demonstration videos.
Technical implementation
Cosmos Predict 2.5 is a video generation model that produces physically plausible videos from text, images, or video clips. The fine-tuning approach injects small trainable adapter modules into the frozen base model, avoiding the cost and catastrophic forgetting risks of full fine-tuning.
The implementation targets three components: a VAE for encoding videos to latents, a text encoder, and a DiT (Diffusion Transformer) for latent-space diffusion. All base weights remain frozen. LoRA adapters are injected only into the DiT's attention projections (to_q, to_k, to_v, to_out.0) and feedforward layers (ff.net.0.proj, ff.net.2). Trainable LoRA parameters are upcast to float32 for numerical stability under bf16 mixed precision.
Training approach
The model uses rectified flow, training to predict the velocity that linearly transports noise to clean data. At timestep t, the model constructs a noisy interpolation xt = σt·noise + (1−σt)·clean and learns to predict the target velocity noise − clean via MSE loss. The first two video frames serve as conditioning and receive no noise.
NVIDIA's reference training uses 92 robot manipulation videos with text prompts describing pick-and-place tasks, evaluated against 50 (prompt, image) pairs. The VideoDataset loader samples random contiguous windows of frames from longer videos each epoch for temporal augmentation.
Hardware and configuration
Minimum requirements: one 80GB GPU for single-GPU training. NVIDIA recommends 8× H100s for faster iteration. The guide provides a training script using diffusers and accelerate libraries with support for both single- and multi-GPU configurations.
Switching from LoRA to DoRA requires only setting use_dora=True in the LoraConfig. DoRA decomposes each weight into magnitude and direction before applying the low-rank update, with no other training loop changes required.
The optimizer is AdamW with linear warmup over scheduler_warm_up_steps, peaking at scheduler_f_max × learning_rate, then linear decay to scheduler_f_min × learning_rate. Checkpoints save as pytorch_lora_weights.safetensors files every specified number of epochs.
What this means
Parameter-efficient fine-tuning addresses a critical bottleneck in robot learning: collecting real-world demonstration data is slow and expensive. This guide provides a practical path to generate synthetic training data by adapting a general-purpose world model to specific robotic tasks with modest compute requirements. The approach keeps adapter files small and portable, enabling teams to swap different domain adapters at inference time without maintaining separate full model copies. The 92-video training set demonstrates that meaningful domain adaptation is possible with limited data when starting from a capable foundation model.
Related Articles
NVIDIA Releases Alpamayo 2 Super, a 34B Vision-Language-Action Model for Autonomous Driving
NVIDIA has released Alpamayo 2 Super, a 34B-parameter foundation model for autonomous vehicle development that combines a 32B vision-language backbone with a 2.3B-parameter diffusion action decoder. The model handles trajectory prediction, visual question answering, 2D grounding, and auto-labeling, and posts a Lingo-Judge score of 79.2 on LingoQA reasoning evaluation.
NVIDIA Nemotron 3.5 Lightning Arrives on Amazon SageMaker JumpStart, Targets High-Volume Agentic Workloads
NVIDIA's Nemotron 3.5 Lightning, a 30B-parameter hybrid Mixture-of-Experts model with only 3B active parameters, is now available for one-click deployment on Amazon SageMaker JumpStart. NVIDIA claims up to 4x higher throughput and 30% faster task completion for high-volume agentic workloads compared to larger frontier models.
NVIDIA Releases Nemotron 3.5 Lightning: 30B MoE Model with 1M Token Context and 3B Active Parameters
NVIDIA released the full-precision BF16 reference weights for Nemotron 3.5 Lightning, a 30B-parameter Mixture-of-Experts model with only 3B active parameters and support for up to 1 million tokens of context. The model uses a hybrid Mamba-2, MoE, and Attention architecture and is licensed under OpenMDW-1.1 for commercial use.
Nvidia Reportedly Building Trillion-Parameter Nemotron 4 to Match Chinese Open Models
Nvidia is reportedly building Nemotron 4, an open-weight model with at least one trillion parameters — double the size of Nemotron 3 Ultra. The company has tripled its cloud spending on in-house training to $28 billion through 2031, with an earliest possible release this fall.
Comments
Loading...