XTuner is an efficient, flexible, and fully featured toolkit for fine-tuning large models, developed and open-sourced by the InternLM team. In September 2025, XTuner V1 was officially released, positioned as a new-generation training engine built specifically for ultra-large-scale MoE (Mixture of Experts) models.
In terms of use cases, XTuner V1 targets pretraining, instruction fine-tuning, and reinforcement learning scenarios for ultra-large-scale MoE models, with optimization especially for the MoE training scenarios that are mainstream in current academic research, rather than following the traditional 3D parallel training architecture. The project vision is to become a general-purpose training backend that can seamlessly connect with the broader open-source ecosystem.
Main capabilities include:
Dropless training: scalable without adding complexity, capable of training 200B-scale MoE models without expert parallelism, with 600B models requiring only intra-node expert parallelism; compared with traditional 3D solutions, it uses a smaller expert parallelism dimension, achieving more efficient Dropless training.
Long-sequence support: through advanced memory optimization techniques, a 200B MoE model can be trained at a sequence length of 64k without sequence parallelism; full support for DeepSpeed Ulysses sequence parallelism, with the maximum sequence length able to scale linearly; remains stable during long-sequence training even when expert load is imbalanced.
Outstanding efficiency: supports MoE training with up to 1T parameters; for the first time achieves FSDP training throughput for MoE models above 200B scale that surpasses traditional 3D parallel solutions; training efficiency on Ascend A3 Supernode exceeds NVIDIA H800.
In terms of training engine capabilities, the algorithmic components continue to evolve and now support multimodal pretraining (full support for vision-language model training), multimodal supervised fine-tuning (optimized for instruction following), and GRPO (Group Relative Policy Optimization); MPO (Mixed Preference Optimization), DAPO (Dynamic Sampling Policy Optimization), and multi-turn Agentic RL (agentic reinforcement learning) are under continuous development. It also provides seamless deployment integration with mainstream inference frameworks.
For data preparation, GraphGen can be used to generate synthetic data for fine-tuning.
Usage and installation commands: the materials do not currently provide specific installation commands or usage steps.
Applicable scenarios: pretraining, instruction fine-tuning, and reinforcement learning for ultra-large-scale MoE models; multimodal vision-language model training; long-sequence training; training optimization in Ascend NPU environments.
Limitations and notes: the project is released under the Apache License 2.0, and use must also comply with the licenses of the models and datasets used. The development of the XTuner V1 training engine was inspired by open-source projects such as Torchtitan, DeepSpeed, MindSpeed, and Megatron, and its reinforcement learning capabilities reference practices from projects such as veRL, SLIME, AReal, and OpenRLHF. Specific hardware requirements, the list of supported models, and detailed usage documentation are not currently provided in the materials.