-
Notifications
You must be signed in to change notification settings - Fork 69
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
xfomers installation failed #267
Comments
Hi @stevensf1998, does the issue seem to be with torch or xformers? Could you please post the whole stack trace and also some additional information: linux distro, type of GPUs, cuda version? |
I think this happens because xformers installation requires torch to already be installed, though somehow it doesn't seem to be a universal issue. Can you try installing torch first, and then installing requirements.txt? |
I have pip install "pip3 install torch torchvision" into my venv. and pip list show that i am installed, but when i run pip3 install -r requirements.txt, it still shows me "No module named 'torch'" `pip install -r requirements.txt × Getting requirements to build wheel did not run successfully. note: This error originates from a subprocess, and is likely not a problem with pip.` |
I am using an macbook m1 chip. Log × Getting requirements to build wheel did not run successfully. note: This error originates from a subprocess, and is likely not a problem with pip.` |
There are some suggestions here that might help. facebookresearch/xformers#740 In particular, maybe try pip3 install wheel before installing requirements.txt. |
After installing wheel, i manage to run -r requirements.txt |
Encountering "ModuleNotFoundError: No module named 'torch'" while running pip install -r requirements.txt.
I have created a venv and selected it as interpreter. Is there any work around or solution for this?
python version : 3.12.3
The text was updated successfully, but these errors were encountered: