-
Notifications
You must be signed in to change notification settings - Fork 27.3k
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
[Bug]: NotImplementedError: No operator found for memory_efficient_attention_forward
with inputs:
#7973
Comments
Having the same issue, RTX 3090. |
Same here, RTX 3080. |
same |
Same issue, 1660-ti. I've tried using |
Problem appears to have been resolved by following the steps in #6871 (comment). Just delete venv folder and run webui with --xformers. I've gone from getting 2.1s/it to 1.75s/it thanks to Xformers. |
Having the same issue, win10,RTX 3060,cuda11.1. |
I deleted the xformers site-packages from the venv and pip installed xformers==0.0.16 Build cuda_11.8.r11.8/compiler.31833905_0 |
Same here, ubuntu18.04, RTX 3080 Ti, cuda12.1 |
I met this issue too, in my case, I pull new code and lauch webui, and new launch.py install xformer again, which version is xformers==0.0.16rc425 and not compiled with my cuda version, I just uninstall it and install xformer from source again, everything goes fine now. I also comment out the line |
Also a good advice would be to check everything goes on one python version. I had some difference between the PIP path which led to a 3.9v and the Py path which was 3.10 |
@zoezhu God bless, it's successful |
I solved it by temporarily removing the --xformers flag. |
sorry what did you remove? can you elaborate |
when you run webui.bat you have flags, command arguments, such as --no-half, or in many cases --xformers |
This also happens with Apple Silicon(M1 max, Ventura 13.3.1(22E261)) |
In my case, I set the version of xformers to 0.0.16rc425 in launch.py (line 228). And it seems to work. |
Im running the vladmandic/automatic version. Getting some requirements mismatches I had to adjust just to get the program to run, between versions for python/torch/torchvision/xformers intercompatibility. Getting similar error. Ubuntu 22.02 Ryzen5800x RTX3090 xformers installed: ubuntu-22.04-py3.10-torch2.0.0+cu118 Launching launch.py... ...Blah blah, xformers loaded, start to generate image (shows in preview) and this poops out... ``NotImplementedError: No operator found for Guess I shoulda but the A00? Im gonna try and build it, but am not sure how to activate the correct python venv for the project... |
hello, where is venv directory? |
look in the stable-diffusion-webui dir for "venv" |
I try |
hi every one i fix the issue for LINUX USERS BY EDIT THIS FILE "stable-diffusion-webui/modules/launch_utils.py" |
How do I resolve this error? I uninstalled it and installed it again, but it doesn't solve the problem. NotImplementedError: No operator found for |
Same here, RTX 3090 |
I have the same problem, 7900xtx, Fedora Linux |
same prblem rtx 3090, the problem occured for me since the beginning of sdxl |
I used Google Colab and tried |
Thanks, that worked! |
Windows 11, gtx 1660s, r5 5600, 16gb, same problem |
win11, PC (not colab) install SD, same error, what is the solution ? |
I uninstall xformers and then install it solving the problem. |
worked in kaggle platform |
try this |
If anyone still has issues with
However, I think this will not work without CUDA. I'm looking if there's any alternatives to make it work for MPS. |
Is there an existing issue for this?
What happened?
when I run .\webui.bat --xformers or .\webui.bat --xformers --no-half --medvram,meet bug :
NotImplementedError: No operator found for
memory_efficient_attention_forward
with inputs:Steps to reproduce the problem
1 .\webui.bat --xformers --no-half --medvram
2 login in http://127.0.0.1:7860/
3 choose jpg,then generate
What should have happened?
generate jgeg
Commit where the problem happens
.\webui.bat --xformers --no-half --medvram
What platforms do you use to access the UI ?
Windows
What browsers do you use to access the UI ?
Microsoft Edge
Command Line Arguments
List of extensions
no
Console logs
Additional information
have been rebulid xformers,I think maybe i use gtx 1650 4G
The text was updated successfully, but these errors were encountered: