#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.
Watch puts fairseq2 on your watch list: its new releases and known problems since your last visit. Kept in this browser, no account.fairseq2 is on your watch list. Its new releases and problems show there.
- Stars
- 1.2k
- License
- MIT
- Last commit
- Sep 2026
- Last release
- Mar 2026
- Language
- Python
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
- v0.8.0 ↗ (opens in a new tab)Breaking
“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| Rank | Project | Score |
|---|---|---|
| #104 | adaptersParameter-efficient fine-tuning add-on for HuggingFace Transformers models | 32 out of 100 |
| #105 | graphgenKnowledge-graph-guided synthetic QA data generator for fine-tuning LLMs | 32 out of 100 |
| #107 | roboflow/maestroFine-tuning CLI and Python SDK for vision-language models | 30 out of 100 |
| #108 | ttt-video-ditFine-tuning code for CogVideoX-5B with TTT layers for 63-second videos | 30 out of 100 |
| #109 | mlx-tuneFine-tune LLMs, VLMs, speech and embedding models on Apple Silicon | 29 out of 100 |