ByteDance-Seed/VeOmni
VeOmni: Scaling Any Modality Model Training with Model-Centric Distributed Recipe Zoo
What it solves
VeOmni is designed to simplify and scale the training of single- and multi-modal models. It addresses the complexity of scaling models across different hardware accelerators and the rigidity of traditional trainer classes, providing a flexible, modular framework for both pre-training and post-training.
How it works
VeOmni leverages a modular design that decouples components, allowing users to replace them with custom implementations. It uses a "trainer-free" approach with linear training scripts to give users full transparency and control over training logic. The framework is built on PyTorch native functions and supports various distributed training techniques including FSDP2, Sequence Parallelism (via Deepspeed Ulysses), and Experts Parallelism for large MoE models.
Who it’s for
It is intended for AI researchers and engineers who need to scale large-scale multi-modal or omni-models across diverse hardware (NVIDIA GPUs, AMD ROCm, and Ascend NPUs) and require high levels of control over the training process.
Highlights
- Multi-Accelerator Support: Compatible with NVIDIA GPU, AMD ROCm, and Ascend NPU.
- MoE Optimization: Includes Experts Parallelism and efficient GroupGemm kernels (Liger-Kernel) for Mixture-of-Experts models.
- Broad Model Support: Compatible with HuggingFace Transformers models like Qwen, Llama, and DeepSeek.
- Distributed Training: Implements FSDP2, Sequence Parallelism, and Torch Distributed Checkpoint.
- Flexible Training Logic: Supports linear scripts to avoid rigid trainer classes.
Related
- Project
- Project
- Dispatch
- Project
- Project