#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.

Stars
2.9k
License
Apache-2.0
Last commit
Oct 2026
Last release
Mar 2024
Language
Python
Stars, last 30 weeks+222
2 May 2026: 2,652 stars9 May 2026: 2,662 stars16 May 2026: 2,673 stars23 May 2026: 2,679 stars30 May 2026: 2,684 stars6 Jun 2026: 2,691 stars13 Jun 2026: 2,700 stars20 Jun 2026: 2,705 stars27 Jun 2026: 2,718 stars4 Jul 2026: 2,728 stars11 Jul 2026: 2,736 stars18 Jul 2026: 2,747 stars25 Jul 2026: 2,759 stars1 Aug 2026: 2,763 stars8 Aug 2026: 2,772 stars15 Aug 2026: 2,777 stars22 Aug 2026: 2,787 stars29 Aug 2026: 2,799 stars5 Sept 2026: 2,804 stars12 Sept 2026: 2,818 stars19 Sept 2026: 2,822 stars26 Sept 2026: 2,825 stars3 Oct 2026: 2,828 stars10 Oct 2026: 2,836 stars17 Oct 2026: 2,841 stars24 Oct 2026: 2,844 stars31 Oct 2026: 2,849 stars7 Nov 2026: 2,853 stars14 Nov 2026: 2,862 stars21 Nov 2026: 2,870 stars28 Nov 2026: 2,874 stars

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
Also in Training and fine-tuning
RankProjectScore
#90qwen-vl-series-finetuneFine-tuning scripts for Qwen2-VL, Qwen2.5-VL, Qwen3-VL and Qwen3.52k starsApache-2.041 out of 100
#91vlm-r1GRPO reinforcement-learning training for Qwen2.5-VL and InternVL models Live demo ↗ (opens in a new tab)6k starsApache-2.040 out of 100
#93openclaw-rlAsynchronous RL framework that trains agents from live conversation feedback5.8k starsApache-2.038 out of 100
#94autodistillLabel images with foundation models, then train small YOLO or DETR detectors Live demo ↗ (opens in a new tab)2.8k starsApache-2.038 out of 100
#95privacyDifferentially private optimizers and privacy analysis tools for TensorFlow models2k starsApache-2.036 out of 100