fairseq package isn't working with python 3.11.8 as it supposed to be.
Description
I am currently experiencing issues running fairseq version 0.12.2 on Python 3.11.8. Despite fairseq being compatible with Python versions 3.6 and above, I've encountered problems that seem to be specific to Python 3.11.
Steps to Reproduce
- Install
fairseqversion 0.12.2 on Python 3.11.8. - Run a standard
fairseqtraining command or script. - Observe any errors or unexpected behavior.
Expected Behavior
fairseq should operate without any compatibility issues, allowing for smooth training and execution of models.
Actual Behavior
(Describe the errors or issues encountered, including any error messages or logs)
Environment
- OS: Windows 11 CoreSingleLanguage
- Python version: 3.11.8
-
fairseqversion: 0.12.2
Additional Context
(Include any other relevant information such as modifications to config.py, custom settings, or related dependencies)
Any insights or solutions to address these compatibility issues would be greatly appreciated.
I also experience issues running fairseq on Python 3.11 on Ubuntu. There is an attempt to make some local fixes on fairseq and omegaconf at this link https://github.com/facebookresearch/fairseq/issues/5191 and https://github.com/facebookresearch/fairseq/pull/5359 but after spending a day on it, it didn't work on my end.