Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fairseq2n is incompatible with torch 2.3.0 #600

Open
0de554K opened this issue Jun 20, 2024 · 0 comments
Open

fairseq2n is incompatible with torch 2.3.0 #600

0de554K opened this issue Jun 20, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@0de554K
Copy link

0de554K commented Jun 20, 2024

Describe the bug:
Attempted to bump torch version to 2.3.0 and got an error:

ERROR: fairseq2n 0.2.1 has requirement torch==2.2.2, but you'll have torch 2.3.0 which is incompatible

Describe how to reproduce:
$python -m venv test
$source test/bin/activate
$pip install -r requirements_test_bug.txt

Content of requirements file:
`torch==2.3.0; python_version >= '3.8' and sys_platform !="darwin"

#Seamless MT4 related packages
fairseq2; sys_platform == "linux" and platform_machine != "aarch64"
--extra-index-url https://fair.pkg.atmeta.com/fairseq2/whl/pt2.3.0/cu118
#fairseq2 dependency on libcudart.so.11.0
nvidia-cuda-runtime-cu11==11.7.99; sys_platform == "linux" and platform_machine != "aarch64"
`
More other in case attempted to create a wheel it fails on dependency check

Describe the expected behavior:
fairseq2n should be compatible with torch==2.3.0 as same as , according to docs, fairseq2 that seems to has dependency on the package.

Environment:
$ python --version
Python 3.8.10
$pip --version
pip 20.0.2
$ pip freeze | grep torch
torch==2.3.0
No CUDA d(i)GPU is used.

Additional Context:
torch 2.3.0 is a preferable option for inferring of another model.

@0de554K 0de554K added the bug Something isn't working label Jun 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant