-
Notifications
You must be signed in to change notification settings - Fork 1.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
Google Colab Error #2913
Comments
Can confirm this error, kinda. My version is this:
Not going to try a bunch of malware being pushed by bots. |
Same error here when trying to use dream booth: WARNING[XFORMERS]: xFormers can't load C++/CUDA extensions. xFormers was built for: |
Same issues here. Last time I had an issue like this, it got cleared up within a couple days. I tried to install that through the extension tab, but didn't fix anything, |
A quick fix to generate images and ignore this error is to remove --xformers at the end of the code line of the Start Stable-Diffusion tab. Example: try: |
Found from a discussion back in march that you can replace --xformers with --opt-sdp-attention. The interface loaded but its stuck trying to load the last prompt i had used. |
to solve the issue run this: |
Thank you aifantasyglam, that's perfect =) |
love you aifantasyglam |
one question - where should this be run? somehwhere in the Install/Update AUTOMATIC1111 repo? thanks all!
2 - next guess, running it in the requirements cell threw no errors after either cell, and UI is running back to normal - all good! here's where i inserted it, in case it matters. this is the end of the code in the Requirements cell: else: inserted line!pip3 install -U xformers --index-url https://download.pytorch.org/whl/cu121 !pip install controlnet_aux -qq --no-deps clear_output() #@markdown --- thanks as always! |
I put it just above [6] Download Lora Add Code, Copy and paste. |
I run it above this part |
Everyone, I would like to take advantage of this thread and ask something anyone knows how to solve this issue ?: Gourieff/sd-webui-reactor#483 |
FOr Dreambooth go to "Dependencies", show code and scroll down to the bottom of the code. Modify the last lines so you get something like this (note the added xformers install):
|
hmm, now the start up on the colab page is fine (with the extra line of code from aifantasyglam - thank you!). but now when I try to open the public url I get a '504 gateway time-out' error |
Yep, gradio is down this morning.
…On Wed, Aug 28, 2024, 5:41 AM mdlieber99 ***@***.***> wrote:
hmm, now the start up on the colab page is fine (with the extra line of
code from aifantasyglam - thank you!). but now when I try to open the
public url I get a '504 gateway time-out' error
—
Reply to this email directly, view it on GitHub
<#2913 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BKWECTGID3EYKAXMOK2GRJ3ZTXANVAVCNFSM6AAAAABNEPL6Z6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMJVGIYTEOBSHE>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
gradio back online now |
Same issue here - Automatic 1111 was working fine in Colab on my MacBook Pro M1 until a few days ago and now this exact same xformers error which will launch the SD UI but delivers an error message when trying to generate anything. Is there a simple fix for this that doesn't involve using the Terminal on a Mac that won't screw things up further? (I can of course install SD in my local machine but it's very slow and eats up drive space and it doesn't require xformers to run properly.) |
Notice that without running the command, Web UI could still be started up successfully. Test Env: Google Colab, L4 GPU |
Received the following error. Looks like somebody updated something, and now the code doesn't work anymore. Any ideas on how to fix it? Seems like this happens ever three or four months
WARNING[XFORMERS]: xFormers can't load C++/CUDA extensions. xFormers was built for:
PyTorch 2.3.0+cu121 with CUDA 1201 (you have 2.4.0+cu121)
Python 3.10.14 (you have 3.10.12)
Please reinstall xformers (see https://github.com/facebookresearch/xformers#installing-xformers)
Memory-efficient attention, SwiGLU, sparse and more won't be available.
Set XFORMERS_MORE_DETAILS=1 for more details
ControlNet preprocessor location: /content/gdrive/MyDrive/sd/stable-diffusion-webui/extensions/sd-webui-controlnet/annotator/downloads
*** Error loading script: controlnet.py
Traceback (most recent call last):
File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/modules/scripts.py", line 515, in load_scripts
script_module = script_loading.load_module(scriptfile.path)
File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/modules/script_loading.py", line 13, in load_module
module_spec.loader.exec_module(module)
File "", line 883, in exec_module
File "", line 241, in _call_with_frames_removed
File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/extensions/sd-webui-controlnet/scripts/controlnet.py", line 16, in
import scripts.preprocessor as preprocessor_init # noqa
File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/extensions/sd-webui-controlnet/scripts/preprocessor/init.py", line 9, in
from .mobile_sam import *
File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/extensions/sd-webui-controlnet/scripts/preprocessor/mobile_sam.py", line 1, in
from annotator.mobile_sam import SamDetector_Aux
File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/extensions/sd-webui-controlnet/annotator/mobile_sam/init.py", line 12, in
from controlnet_aux import SamDetector
ModuleNotFoundError: No module named 'controlnet_aux'
The text was updated successfully, but these errors were encountered: