fairseq2 is a modern, modular sequence modeling framework developed by Meta AI Research as a complete redesign of the original fairseq library. Built from the ground up for scalability, composability, and research flexibility, fairseq2 supports a broad range of language, speech, and multimodal content generation tasks, including instruction fine-tuning, reinforcement learning from human feedback (RLHF), and large-scale multilingual modeling. Unlike the original fairseq—which evolved into a large, monolithic codebase—fairseq2 introduces a clean, plugin-oriented architecture designed for long-term maintainability and rapid experimentation. It supports multi-GPU and multi-node distributed training using DDP, FSDP, and tensor parallelism, capable of scaling up to 70B+ parameter models. The framework integrates seamlessly with PyTorch 2.x features such as torch.compile, Fully Sharded Data Parallel (FSDP), and modern configuration management.

Features

  • Composable and deterministic configuration system
  • High-throughput C++ streaming data pipeline for text and speech
  • Recipes for instruction fine-tuning, preference optimization, and RLHF
  • Native vLLM integration for optimized generation and inference
  • Supports 70B+ parameter models with DDP, FSDP, and tensor parallelism
  • Modular, next-generation fairseq with a clean, extensible architecture

Project Samples

Project Activity

See All Activity >

Categories

AI Models

License

MIT License

Follow fairseq2

fairseq2 Web Site

Other Useful Business Software
Auth0 B2B Essentials: SSO, MFA, and RBAC Built In Icon
Auth0 B2B Essentials: SSO, MFA, and RBAC Built In

Unlimited organizations, 3 enterprise SSO connections, role-based access control, and pro MFA included. Dev and prod tenants out of the box.

Auth0's B2B Essentials plan gives you everything you need to ship secure multi-tenant apps. Unlimited orgs, enterprise SSO, RBAC, audit log streaming, and higher auth and API limits included. Add on M2M tokens, enterprise MFA, or additional SSO connections as you scale.
Sign Up Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of fairseq2!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

C, C++, Python, Unix Shell

Related Categories

Unix Shell AI Models, Python AI Models, C++ AI Models, C AI Models

Registered

2025-10-08