A training framework born from real-world, large-scale production workloads โ and shared back with the community
LoongForge is an open-source training framework developed by the Baidu AI Cloud Baige team, built to deliver faster training for mainstream LLMs, VLMs, diffusion, and embodied models โ and thereby significantly reduce cost
LoongForge was open-sourced from AIAK-Training-LLM, a training acceleration suite delivered to enterprise customers across Education, Computer Vision, and Embodied AI on Baidu AI Cloud. After years of hardening under real production workloads, its largest runs reach 5,000+ XPUs
It now joins the Baige Loong open-source series โ named after the traditional Chinese loong boat (้พ่), a symbol of coordinated power and forward momentum
Want to see what else we are building? Explore our other open-source projects on the baidu-baige GitHub organization
We'd love to hear from you โ reach us through any of these channels
Join the developer group โ scan the QR code posted in our GitHub issue
Follow us on RedNote (ๅฐ็บขไนฆ) for release notes and practice sharing
loongforge@baidu.com โ for collaboration, adoption, and any other enquiries
Chat with the team and other users in our Discord server
Follow us on Zhihu (็ฅไน) for technical deep dives
Follow @baidu_baige_lf on X for release news and updates
@software{LoongForge2026,
title = {LoongForge: A high-performance framework for training LLMs, VLMs, diffusion, and embodied models},
author = {{The LoongForge Authors}},
year = {2026},
url = {https://github.com/baidu-baige/LoongForge}
}
Citations for our research papers (TAOT, VLDA, โฆ) are on the Papers page.
LoongForge is released under the Apache License 2.0. Some files are derived from third-party open-source projects โ please consult file headers for their specific notices
LoongForge is built upon NVIDIA's Megatron-LM. We also referenced and drew inspiration from excellent open-source projects including Transformers, LLaMA-Factory, and Megatron-Bridge. We sincerely thank these communities for their outstanding contributions