Skip to content
New issue

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

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

Already on GitHub? # to your account

pip install fail #150

Open
Love-Glimpse opened this issue Sep 19, 2024 · 1 comment
Open

pip install fail #150

Love-Glimpse opened this issue Sep 19, 2024 · 1 comment

Comments

@Love-Glimpse
Copy link

when i execute pip install -r requirements.txt
then

error: subprocess-exited-with-error

× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [9 lines of output]
Traceback (most recent call last):
File "", line 2, in
File "", line 34, in
File "C:\Users\xxx\AppData\Local\Temp\pip-install-8cnkwhgs\xformers_3133ba21d9144d4c8657ff9588dc942f\setup.py", line 239, in
ext_modules=get_extensions(),
^^^^^^^^^^^^^^^^
File "C:\Users\xxx\AppData\Local\Temp\pip-install-8cnkwhgs\xformers_3133ba21d9144d4c8657ff9588dc942f\setup.py", line 157, in get_extensions
raise RuntimeError(
RuntimeError: CUTLASS submodule not found. Did you forget to run git submodule update --init --recursive ?
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

@AlirezaParchami
Copy link

you need to install xformers.
after installing CUDA and related pyTorch version (that matches with the CUDA version), xformers can be installed by:

git clone https://github.com/facebookresearch/xformers.git
cd xformers
git submodule update --init --recursive
pip install .

However, there might be some challenges and dependencies during the installation that needs to be mitigated. That took some time from me, but finally worked!

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants