-
Notifications
You must be signed in to change notification settings - Fork 26.6k
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
CUTLASS submodule not found. #2047
Comments
Does entering |
Yes. |
Do pip install -U -I xformers outside venv. If that fails as well, open an issue upstream. |
I am facing the same error. Have you found any solution? I tried all the solutions @C43H66N12O12S2 has commented, but none of them worked for me. |
Try "pip install xformers==0.0.12"? seems 0.0.13 doesn't like being installed on my PC. |
@mifortin Yes, using v0.0.12 did work. v0.0.13 is not working. Thank you. |
Also docker users, you have to use the I chose |
which dockerized sd version are you using? I get "triton" module missing if I use this image with xformers==0.0.12. I tried the same cuda container, installed pip and I get missing modules "triton", "boto" and "psycorg2" I also tried to install it manually, but I get exactly the same error as this #2073
|
@luckyycode build xformers in your dockerfile like this facebookresearch/xformers#473 (comment) and comment out xformers install in That was a pain to work around... |
A possible workaround that I'm trying: facebookresearch/xformers#473 (comment) |
I was able to solve this by running the following script on Ubuntu:
|
im still having this error. Pain as nohalf option gives ram space problems running sd2.1 |
Make sure you have 'setuptools' installed first
Then you can follow the above steps, but you will also need to initialize the submodules to grab cutlass or it will complain
|
@manyhats-mike I'm running into the follow error after following your instructions on a Linux host OS, and attempting to generate an image. Any ideas why? I run the program with
If I remove the |
Problem still persists Ubuntu 22.04.1 LTS |
I stand corrected, only the installation worked, xformers itself did not, even after installing triton as it requests upon startup... I don't know what to do, xformers worked great on windows, I switched to ubuntu because even on my 24gb vram gpu I regularly ran out when Dreambooth requestsd like 16 or so, because other stuff was reserving so much I guess... but installing A1111 ubuntu is so much more non-automatic..... |
Docker may be an alternative But other things may fail, e.g. CLIP interrogator.
|
I'm still unable to resolve this. Unrelated to this thread, but @AlexNolasco , which repo have you been using to run Dreambooth? |
I'm running: |
I have the same error when running"pip install xformers" on python 3.9.12. |
|
Can xformers only be installed on Linux systems? |
Describe the bug
Running webui.sh with
--xformers
flag gives the error:RuntimeError: CUTLASS submodule not found. Did you forget to run `git submodule update --init --recursive` ?
To Reproduce
Steps to reproduce the behavior:
--xformers
flag to webui-user.sh./webui.sh
Expected behavior
xformers should install.
Desktop (please complete the following information):
Additional context
Before the
--xformers
flag was added, I was using the new cross attention method in a conda env after manually installingxformers
and editing theattention.py
in ldm modules. It was working without any issues. I have since uninstalled conda and tried using this new flag with a fresh venv.Btw, I have tried
git submodule update --init --recursive
in stable-diffusion folder. It didn't help.The text was updated successfully, but these errors were encountered: