←新闻详情

InternLM 原创项目更新于 10月14日 09:09

InternLM 发布 XTuner V1:面向超大规模 MoE 模型的新一代训练引擎

GitHub - InternLM/xtuner: A Next-Generation Training Engine Built for Ultra-Large MoE Models · GitHub

AI 导读

InternLM 发布 XTuner V1,一款专为超大规模 MoE 模型设计的新一代 LLM 训练引擎。它支持最高 1T 参数 MoE 训练,200B 模型无需专家并行、600B 模型仅需节点内专家并行,并可在 64k 序列长度下训练 200B MoE 模型而无需序列并行;官方称其首次让 200B 以上 MoE 的 FSDP 训练吞吐超过传统 3D 并行方案,在昇腾 A3 Supernode 上的训练效率超过 NVIDIA H800。

正文

当前显示原文,中文全文译文尚未就绪。

InternLM; xtuner

Repository navigation

NotificationsYou must be signed in to change notification settings; Fork455 (455); Star5.2k (5.2k)You must be signed in to star a repository

Repository files navigation

README; Contributing; Apache-2.0 license

[2025/09] XTuner V1 Released! A Next-Generation Training Engine Built for Ultra-Large MoE Models

📖 XTuner V1

XTuner V1 is a next-generation LLM training engine specifically designed for ultra-large-scale MoE models. Unlike traditional 3D parallel training architectures, XTuner V1 is optimized for the mainstream MoE training scenarios prevalent in today's academic research.

Key Features

📊 Dropless Training

Scalable without complexity: Train 200B-scale MoE models without expert parallelism; 600B models require only intra-node expert parallelism; Optimized parallelism strategy: Smaller expert parallelism dimension compared to traditional 3D approaches, enabling more efficient Dropless training

📝 Long Sequence Support

Memory-efficient design: Train 200B MoE models on 64k sequence lengths without sequence parallelism through advanced memory optimization techniques; Flexible scaling: Full support for DeepSpeed Ulysses sequence parallelism with linearly scalable maximum sequence length; Robust performance: Maintains stability despite expert load imbalance during long sequence training

⚡ Superior Efficiency

Massive scale: Supports MoE training up to 1T parameters; Breakthrough performance: First to achieve FSDP training throughput that surpasses traditional 3D parallel schemes for MoE models above 200B scale; Hardware optimization: Achieves training efficiency on Ascend A3 Supernode that exceeds NVIDIA H800

🔥 Roadmap

XTuner V1 is committed to continuously improving training efficiency for pre-training, instruction fine-tuning, and reinforcement learning of ultra-large MoE models, with special focus on Ascend NPU optimization.

🚀 Training Engine

Our vision is to establish XTuner V1 as a versatile training backend that seamlessly integrates with the broader open-source ecosystem.

🧠 Algorithm

The algorithm component is actively evolving. We welcome community contributions - with XTuner V1, scale your algorithms to unprecedented sizes!

Implemented

✅ Multimodal Pre-training - Full support for vision-language model training; ✅ Multimodal Supervised Fine-tuning - Optimized for instruction following; ✅ GRPO - Group Relative Policy Optimization

Coming Soon

⚡ Inference Engine Integration

Seamless deployment with leading inference frameworks:

LMDeploy; vLLM; SGLang

Data Preparation

You can use GraphGen to create synthetic data for fine-tuning

🤝 Contributing

We appreciate all contributions to XTuner. Please refer to CONTRIBUTING.md for the contributing guideline.

🙏 Acknowledgement

The development of XTuner V1's training engine has been greatly inspired by and built upon the excellent work of the open-source community. We extend our sincere gratitude to the following pioneering projects:

Training Engine:

Torchtitan - A PyTorch native platform for training generative AI models; Deepspeed - Microsoft's deep learning optimization library; MindSpeed - Ascend's high-performance training acceleration library; Megatron - NVIDIA's large-scale transformer training framework

Reinforcement Learning:

XTuner V1's reinforcement learning capabilities have been enhanced through insights and best practices from:

veRL - Volcano Engine Reinforcement Learning for LLMs; SLIME - THU's scalable RLHF implementation; AReal - Ant Reasoning Reinforcement Learning for LLMs; OpenRLHF - An Easy-to-use, Scalable and High-performance RLHF Framework based on Ray

We are deeply grateful to all contributors and maintainers of these projects for advancing the field of large-scale model training.

🖊️ Citation

License

This project is released under the Apache License 2.0. Please also adhere to the Licenses of models and datasets being used.

来源

InternLM 原创项目