facebookresearch / fairseq2

FAIR Sequence Modeling Toolkit 2
https://facebookresearch.github.io/fairseq2/
MIT License
621 stars 60 forks source link

seamless_communication require fairseq2n == 0.2.0 #269

Open ZiggyReQurv opened 5 months ago

ZiggyReQurv commented 5 months ago

I try to install seamless_communcation on a man intel. I've followed all the instructions to install fairseg2 but when I try to install seamless_communcation I receive the Error: ERROR: Could not find a version that satisfies the requirement fairseq2n==0.2.0 (from fairseq2) (from versions: none) ERROR: No matching distribution found for fairseq2n==0.2.0

doing pip show fairseq2n the result is: Name: fairseq2n Version: 0.3.0.dev0 Summary: FAIR Sequence Modeling Toolkit (Native) Home-page: https://github.com/facebookresearch/fairseq2 Author: Fundamental AI Research (FAIR) at Meta Author-email: License: MIT Location: /Users/me/python/AI/SeamlessM4T/venv/lib/python3.9/site-packages Requires: tbb, torch Required-by: fairseq2

How can I install version 0.2.0? thank you very much

cbalioglu commented 5 months ago

Hi @ZiggyReQurv, if I understand correctly, you built fairseq2 from source on an Intel-based Mac and try to use it with seamless_communication. Is that right? If so, there are two possible solutions. You can either manually edit seamless_communication's setup.py and change the fairseq2 version to 0.3.0.dev0 in "install_requires". Or, you can check out the v0.2 tag of fairseq2 (i.e. git checkout v0.2.0) and build it from source.