-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Description
fairseq v2
Hi everyone,
We wanted to let you know that FAIR will soon kick off the fairseq v2 project in order to modernize our code base and to address fairseq’s long standing structural and technical issues. Our high-level goals are for fairseq to:
- have a clean, maintainable, well-tested code base that leverages the latest features of PyTorch and its ecosystem.
- preserve the performance optimizations of the original fairseq that have accumulated throughout the years.
- enforce user code to be separate from library code via well-defined APIs so that it can be used both as a framework and as a library.
- offer a familiar interface for researchers used to the original fairseq.
- come with new fault-tolerant features and tools for large-scale training and inference.
Note that, although our aim is to keep them at a minimum, in order to realize some of our goals we will be making backwards-incompatible changes, mostly in our trainer and data loading APIs. Along with these changes we also plan to offer a large set of extensibility APIs that will mitigate the need to fork/branch fairseq in majority of use cases.
We will share our pre-release versions in the upcoming months and will be looking forward to your feedback. In the meantime you can follow our GitHub Issues page to track our progress.
Thank you!
FAQs
Should I keep using fairseq right now? What will happen to my work when fairseq v2 gets released?
Yes, please continue using fairseq. fairseq, as it is today, already provides a great set of features for researchers. None of that is going away. As we mentioned, there will be backwards-incompatible changes, but the procedure to migrate an existing work to fairseq v2 will be clearly documented and our goal is to confine it to mostly syntactical updates and minor refactorings.
Will fairseq v2 have feature-parity with fairseq?
The official v2 release at the end of the project will have feature-parity with fairseq. Our pre-release versions will start with a smaller set of features and then gradually increase the scope until we have full coverage of fairseq features.
What will happen to current fairseq?
Till we officially release v2 we will continue to support and maintain the current fairseq. However we won’t accept any PRs besides critical bug fixes and minor feature improvements (mostly to unblock ongoing research projects). The release of v2 will be an in-place update, meaning we will be using the fairseq repository and its main branch to host our next version. After that point for researchers that need access to the original fairseq, there will be a “v1” branch in the fairseq repository. Note though that once v2 is officially released, the original version won’t be maintained anymore.
How can I test fairseq v2?
In the upcoming months we will communicate on our GitHub Issues page when pre-release versions of fairseq v2 are ready to download and test.