fairseq2¶
The root module contains library initialization functions.
Functions
Functions¶
- fairseq2.setup_fairseq2()[source]¶
Sets up fairseq2.
As part of the initialization, this function also registers external objects with via setuptools’ entry-point mechanism. See Runtime Extensions for more information.
Important
This function must be called before using any of the fairseq2 APIs.