#106106th of 126 in Training and fine-tuning

fairseq2

PyTorch toolkit for training and fine-tuning sequence models such as LLMs and speech

Run it:Vast.ai ↗ (opens in a new tab)Clore.ai ↗ (opens in a new tab)Affiliate links, no effect on a rank.

Stars
1.2k
License
MIT
Last commit
Sep 2026
Last release
Mar 2026
Language
Python
Stars, last 29 weeks+27
7 May 2026: 1,126 stars14 May 2026: 1,128 stars21 May 2026: 1,130 stars28 May 2026: 1,132 stars4 Jun 2026: 1,133 stars11 Jun 2026: 1,137 stars18 Jun 2026: 1,137 stars25 Jun 2026: 1,138 stars2 Jul 2026: 1,138 stars9 Jul 2026: 1,140 stars16 Jul 2026: 1,140 stars23 Jul 2026: 1,140 stars30 Jul 2026: 1,140 stars6 Aug 2026: 1,140 stars13 Aug 2026: 1,141 stars20 Aug 2026: 1,141 stars27 Aug 2026: 1,142 stars3 Sept 2026: 1,143 stars10 Sept 2026: 1,145 stars17 Sept 2026: 1,148 stars24 Sept 2026: 1,149 stars1 Oct 2026: 1,149 stars8 Oct 2026: 1,150 stars15 Oct 2026: 1,150 stars22 Oct 2026: 1,151 stars29 Oct 2026: 1,151 stars5 Nov 2026: 1,152 stars12 Nov 2026: 1,153 stars19 Nov 2026: 1,153 stars26 Nov 2026: 1,153 stars

1,126 on 7 May 20261,153 on 26 Nov 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

fairseq2 is a from-scratch rewrite of fairseq for researchers training custom sequence models. It ships first-party recipes for LLM instruction finetuning and preference optimization, and trains across multiple GPUs and nodes with DDP, FSDP and tensor parallelism, with 70B+ models supported. A C++ streaming data pipeline and a setuptools extension mechanism let projects register models and optimizers without forking.

Who it is for: Researchers training and fine-tuning custom sequence models on GPU clusters

Strengths

  • Multi-node training with DDP, FSDP and tensor parallelism; 70B+ models supported
  • Recipes for instruction finetuning and preference optimization included
  • Extensions register new models, optimizers and schedulers without forking the library
  • Native vLLM support plus built-in sampling and beam search generators

Weaknesses

  • Build must exactly match the installed PyTorch version; mismatches cause crashes or segfaults
  • No native Windows support; WSL required
  • No prebuilt packages for ARM Linux or Intel Macs; source build needed
  • Needs the libsndfile system library; Python limited to 3.10 to 3.12

What it needs

  • GPU optional
  • Needs PyTorch, libsndfile, Python 3.10-3.12
  • Models: PyTorch, vLLM

What changed

  1. “Breaking: Trainer, evaluator, generator, validator, and task moved from fairseq2.recipe to fairseq2 package root. (#1417)”

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
#104adaptersParameter-efficient fine-tuning add-on for HuggingFace Transformers models2.8k starsApache-2.032 out of 100
#105graphgenKnowledge-graph-guided synthetic QA data generator for fine-tuning LLMs Live demo ↗ (opens in a new tab)1.2k starsApache-2.032 out of 100
#107roboflow/maestroFine-tuning CLI and Python SDK for vision-language models2.7k starsApache-2.030 out of 100
#108ttt-video-ditFine-tuning code for CogVideoX-5B with TTT layers for 63-second videos2.5k starsMIT30 out of 100
#109mlx-tuneFine-tune LLMs, VLMs, speech and embedding models on Apple Silicon1.5k starsApache-2.029 out of 100