#145 · Primary category: Deep Learning Frameworks
BMTrain
Efficient Training (including pre-training and fine-tuning) for Big Models
Project last updated:07/07/26
GitHub Stars
623
Forks
88
Contributors
18
License
Apache-2.0
Why we included this project
BMTrain is for teams that want to pre-train or fine-tune models with tens of billions of parameters but would rather not rebuild their code as a distributed harness. It brings ZeRO-2/3-style sharding and tensor parallelism to PyTorch, so you keep writing ordinary nn.Module code and the toolkit handles the communication and the overlap of compute with data transfer underneath. Getting started means swapping a few base classes and wrapping transformer blocks, then launching with the torchrun command you already know. That small migration path is what makes it attractive to research groups and small teams who want big-model training without adopting a heavyweight framework. A GPT-2 example ships with the project, and it plugs into OpenPrompt and OpenDelta, so fine-tuning workflows are covered alongside from-scratch pre-training.
Articles for this project
No articles for this project yet.
To suggest a topic or contribute an article, contact us.
Related projects in this category
tensorflow
An Open Source Machine Learning Framework for Everyone
pytorch
Tensors and Dynamic neural networks in Python with strong GPU acceleration
keras
Deep Learning for humans
nanoGPT
The simplest, fastest repository for training/finetuning medium-sized GPTs.
ray
Ray is an AI compute engine. Ray consists of a core distributed runtime and a set of AI Libraries for accelerating ML workloads.