#9292nd of 126 in Training and fine-tuning
nanotron
Library for pretraining transformer models with 3D parallelism
Run it:Vast.ai ↗ (opens in a new tab)Clore.ai ↗ (opens in a new tab)Affiliate links, no effect on a rank.
Watch puts nanotron on your watch list: its new releases and known problems since your last visit. Kept in this browser, no account.nanotron is on your watch list. Its new releases and problems show there.
- Stars
- 2.9k
- License
- Apache-2.0
- Last commit
- Oct 2026
- Last release
- Mar 2024
- Language
- Python
2,652 on 2 May 20262,874 on 28 Nov 2026
From GitHub's daily star counts.
Checked on GitHub.
Overview
Nanotron is a Python library from Hugging Face for pretraining transformer models on custom datasets, launched with torchrun from YAML configs. It implements data, tensor and pipeline parallelism, expert parallelism for MoEs, and a ZeRO-1 optimizer, with examples for Llama, Mamba, MoE and µTransfer. Benchmark data and a scaling guide (Ultrascale Playbook) are published alongside.
Who it is for: ML engineers pretraining LLMs on multi-GPU or multi-node clusters
Strengths
- 3D parallelism (DP+TP+PP) plus expert parallelism for MoE models
- Explicit TP and PP APIs make multi-GPU debugging easier
- Examples for Mamba, MoE, DoReMi, µTransfer, custom dataloaders and S3 checkpoint upload
- Published benchmark configs and logs with an Ultrascale Playbook guide
Weaknesses
- ZeRO-3/FSDP, FP8 training, torch.compile and ring attention are only on the roadmap
- Last tagged release is 2024-03-04; README installs from source
- Install needs CUDA PyTorch, flash-attn and Triton; quick start assumes 8 x H100
- Pretraining-focused; README describes no fine-tuning workflow
What it needs
- GPU required
- Needs PyTorch, flash-attn, Triton, datatrove, Weights & Biases, Hugging Face Hub, Git LFS
- Models: Llama, Mamba, Mixture-of-Experts
What changed
From the release notes. No flag means the note does not say so, not that the upgrade is safe. Releases and problems by RSS
Also in Training and fine-tuning
See all 126| Rank | Project | Score |
|---|---|---|
| #90 | qwen-vl-series-finetuneFine-tuning scripts for Qwen2-VL, Qwen2.5-VL, Qwen3-VL and Qwen3.5 | 41 out of 100 |
| #91 | vlm-r1GRPO reinforcement-learning training for Qwen2.5-VL and InternVL models | 40 out of 100 |
| #93 | openclaw-rlAsynchronous RL framework that trains agents from live conversation feedback | 38 out of 100 |
| #94 | autodistillLabel images with foundation models, then train small YOLO or DETR detectors | 38 out of 100 |
| #95 | privacyDifferentially private optimizers and privacy analysis tools for TensorFlow models | 36 out of 100 |