-
Notifications
You must be signed in to change notification settings - Fork 53
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
Meet error when install about fairseq #29
Comments
Here is the error: Building editable for fairseq (pyproject.toml) ... error × Building editable for fairseq (pyproject.toml) did not run successfully.
note: This error originates from a subprocess, and is likely not a problem with pip. |
Moreover, although I can install the latest version of fairseq, using it can not run the evaluation code successfully. |
The code is executable using the modified version of Fairseq provided in this repository, not the vanilla Fairseq. Therefore, simply installing Fairseq will not work. Please first uninstall Fairseq, ensure that |
I have converted BiomedGPT-B to be compatible with the Transformers library. You can refer to this Colab notebook for more details: link. You can run the example directly. |
Thank you very much for your assistance. The information you provided has been very helpful, but I am still encountering difficulties with the installation. Would it be possible for you to share the versions of Python, GCC, G++, and CUDA used in your environment? I noticed that you have adapted BiomedGPT-B to be compatible with the Transformers library, which is incredibly useful for me. However, having the specific versions would greatly aid me in fine-tuning the model later on. I truly appreciate your help. Thank you once again! |
Thank you very much! It is very useful for me! |
When I following this instruction, the error is ERROR: Command errored out with exit status 1:
ERROR: Command errored out with exit status 1: /home/psxxw13/anaconda3/envs/biomedgpt/bin/python -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/Data/tmp/BiomedGPT/fairseq/setup.py'"'"'; file='"'"'/Data/tmp/BiomedGPT/fairseq/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' develop --no-deps Check the logs for full command output. |
Dear Authors,
Thank you very much for your excellent work. I have a question about the environment setup. I’m using a requirements.txt file to configure the environment but am encountering an issue:
ERROR: Could not build wheels for fairseq, which is required to install pyproject.toml-based projects.
I suspect this might be related to the versions of gcc and g++(I have tried the version gcc/g++ 11, 12, 13). Despite spending a whole day adjusting these versions, the problem persists. However, when I downloaded the latest version of fairseq from its GitHub repository (https://github.com/facebookresearch/fairseq) and used Python 3.11 to install it, the installation was successful.
Could you please let me know which version of fairseq and which versions of gcc and g++ you used? Or do you have any suggestions on this matter? Thank you very much! I would greatly appreciate it.
Best wishes,
Xinyi
The text was updated successfully, but these errors were encountered: