NVIDIA-NeMo/Automodel

🚀 Pytorch Distributed native training library for LLMs/VLMs with OOTB Hugging Face support

What it solves

NeMo AutoModel simplifies the process of training and fine-tuning large-scale AI models—including LLMs, Vision-Language Models (VLMs), diffusion models, and retrieval models. It removes the "ceremony" and delays typically associated with onboarding new models, providing "Day-0" support for Hugging Face models so they can be trained instantly without needing complex conversions.

How it works

Built as a PyTorch DTensor-native SPMD (Single Program, Multiple Data) library, it decouples the model code from the parallelism strategy. This allows the same training script to run on any scale (from one GPU to thousands) simply by adjusting the configuration mesh. It uses YAML-driven recipes and a CLI for overrides, utilizing custom kernels and PyTorch-native parallelism (tensor, sequence, and data parallel) to optimize performance and memory efficiency.

Who it’s for

It is designed for AI researchers and production engineers who need to scale experiments from small-scale prototypes to massive multi-GPU, multi-node deployments using Kubernetes or Slurm.

Highlights

  • Day-0 Hugging Face Integration: Start training HF models immediately without format conversion.
  • Scalable Parallelism: Mix and match tensor, sequence, and data parallelism via configuration without rewriting model code.
  • YAML-Driven Workflow: Use pre-defined recipes for minimal setup and CLI overrides for flexibility.
  • Broad Model Support: Compatible with a wide array of modern architectures, including MoE (Mixture of Experts) and omnimodal models.
  • High Performance: Leverages custom kernels and PyTorch DTensor for optimized large-scale training.