TheLastBen / fast-stable-diffusion

fast-stable-diffusion + DreamBooth
MIT License
7.48k stars 1.3k forks source link

google drive error has occurred #2125

Open magicgearco opened 1 year ago

magicgearco commented 1 year ago

When I run the automatic1111 this issue pop up and program not working, I tried with different emails, but same error happened

sexreek commented 1 year ago

I'M ALSO EXPERIENCING THIS PROBLEM FOR PAST FEW DAYS AND UPON THIS EVEN IF IT CONNECTS IT KEEPS DISCONNECTING

sexreek commented 1 year ago

I also want to know if google Collab pro members are experiencing any kind of issues ? I'm planning on purchasing the membership.

maozdemir commented 1 year ago

imagine reading other issues.

thejohnd0e commented 1 year ago

I also want to know if google Collab pro members are experiencing any kind of issues ? I'm planning on purchasing the membership.

i do https://github.com/TheLastBen/fast-stable-diffusion/issues/2105#issuecomment-1537101917

cmatrix7777 commented 1 year ago

yep, this has been going on lately, with the frequent disconnects:

traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/gradio/routes.py", line 399, in run_predict output = await app.get_blocks().process_api( File "/usr/local/lib/python3.10/dist-packages/gradio/blocks.py", line 1299, in process_api result = await self.call_function( File "/usr/local/lib/python3.10/dist-packages/gradio/blocks.py", line 1022, in call_function prediction = await anyio.to_thread.run_sync( File "/usr/local/lib/python3.10/dist-packages/anyio/to_thread.py", line 31, in run_sync return await get_asynclib().run_sync_in_worker_thread( File "/usr/local/lib/python3.10/dist-packages/anyio/_backends/_asyncio.py", line 937, in run_sync_in_worker_thread return await future File "/usr/local/lib/python3.10/dist-packages/anyio/_backends/_asyncio.py", line 867, in run result = context.run(func, *args) File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/modules/ui.py", line 279, in update_token_counter token_count, max_length = max([model_hijack.get_prompt_lengths(prompt) for prompt in prompts], key=lambda args: args[0]) File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/modules/ui.py", line 279, in token_count, max_length = max([model_hijack.get_prompt_lengths(prompt) for prompt in prompts], key=lambda args: args[0]) File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/modules/sd_hijack.py", line 219, in get_promptlengths , token_count = self.clip.process_texts([text]) AttributeError: 'NoneType' object has no attribute 'process_texts' Calculating sha256 for [MODEL FILE] Applying scaled dot product cross attention optimization. Weights loaded in 48.1s (calculate hash: 40.7s, load weights from disk: 5.7s, apply weights to model: 0.9s, move model to device: 0.7s). INFO: Created TensorFlow Lite XNNPACK delegate for CPU.

Wondering was is this hijack thing and the others.

Seockju commented 1 year ago

i also suffer from that issue. how can i fix it? just wait of purchase something?

magicgearco commented 1 year ago

I also want to know if google Collab pro members are experiencing any kind of issues ? I'm planning on purchasing the membership.

As I know paid version also has the same error, so we have to sort out this issue first.

ll2pakll commented 1 year ago

I have the same problem

xxxxxDantexxxxx commented 1 year ago

in the paid version (colab Pro) same problem..... =(

Barry-Bot1 commented 1 year ago

Same problem here too

Noobmaster6978 commented 1 year ago

Facing the same issue. I feel incredibly frustrated because it seems like the only way to solve this issue is by stopping and restarting the web UI cell in Colab, which generates a fresh URL. However, this means losing all the work I've done so far and having to start from scratch. To make matters worse, just as I get back to where I left off, the connection breaks again. It's extremely disheartening because I'm unable to accomplish anything at all.

Ethel765 commented 1 year ago

Same issue, when will this be fixed? It's been DAYS.

TheLastBen commented 1 year ago

@Noobmaster6978 Colab devs are intentionally making it hard for people to use SD, go to Runpod or Paperspace

Mudereded401 commented 1 year ago

@Noobmaster6978 Colab devs are intentionally making it hard for people to use SD, go to Runpod or Paperspace

Isn't there a way to use SD through Colab but without running a webui, using only command lines? I've been playing with diffusers and the scripts made by Kohya-ss but doesn't feels as free as A1111, even images tends to look worse.

olive2troyes commented 1 year ago

Hello, is there a free alternative to colab for SD?

TheLastBen commented 1 year ago

@olive2troyes Paperspace does have a free GPU, but it's not always available https://console.paperspace.com/github/TheLastBen/PPS?machine=Free-GPU

HelpANewbie commented 1 year ago

Thanks Ben.....So i used Paperspace today on the free gpu through your link - But compared to the Google Collab's free gpu this is taking ages to generate an image :( Any idea what's wrong with Collab....I'm getting the same error...Its disconnecting in seconds automatically :(

Mudereded401 commented 1 year ago

Thanks Ben.....So i used Paperspace today on the free gpu through your link - But compared to the Google Collab's free gpu this is taking ages to generate an image :( Any idea what's wrong with Collab....I'm getting the same error...Its disconnecting in seconds automatically :(

Google doesn't wants people from using web ui's anymore, so many people came to Google and it banned webuis lol

Anyways u can try coding (Or asking for a code) to generate images in colab without a webui. Check for example Kohya-ss scripts.

facundoalmar commented 1 year ago

Same here... soooo tired...

Taikakim commented 1 year ago

I'm on Pro, and get this error now all the time, but it does not seem to have any effect on running the Automatic notebook.

xmalina commented 1 year ago

it works after i reinstalled clean (rename or delete old 'sd' folder then added this cell:

!pip install discord-webhook --upgrade !pip install gradio_client --upgrade !pip install gradio==3.28.1 !pip install importlib-metadata --upgrade

using ngrok with token hope this helps someone.

olive2troyes commented 1 year ago

@xmalina i would try this, where can i found ngrok token?

facundoalmar commented 1 year ago

Can you help me? how do i use those lines of code you sent me? and what shoul i do with the ngrok token?

El jue, 11 may 2023 a las 17:26, Xavier @.***>) escribió:

it works after i reinstalled clean (rename or delete old 'sd' folder then added this cell:

!pip install discord-webhook --upgrade !pip install gradio_client --upgrade !pip install gradio==3.28.1 !pip install importlib-metadata --upgrade

using ngrok with token hope this helps someone.

— Reply to this email directly, view it on GitHub https://github.com/TheLastBen/fast-stable-diffusion/issues/2125#issuecomment-1544632128, or unsubscribe https://github.com/notifications/unsubscribe-auth/A7XEAYVKKDKL5LU3BYWJUH3XFVDPVANCNFSM6AAAAAAXYESBFQ . You are receiving this because you commented.Message ID: @.***>

--

Facundo

Nuño

Fundador / Dir. Creativo

ALMAR COMUNICA

Laprida 508 · Rosario · Santa Fe · Arg.

Whatsapp.: +54 341 155 691 666 https://wa.me/5493415691666

www.almarcomunica.com.ar

xmalina commented 1 year ago

@olive2troyes go to ngrok website and set up a token, it's free @facundoalmar just run those lines in a new cell in colab, you can make it the first cell in the notebook. I am on colab pro , mentioning

HelpANewbie commented 1 year ago

@xmalina I tried using the above on free collab - the runtime gets automatically disconnected after some minutes - maybe it works on pro and pro+ only

olive2troyes commented 1 year ago

@xmalina sorry that doesn't work for me (free user)

olive2troyes commented 1 year ago

hello anybody successed to use SB on colab ?

facundoalmar commented 1 year ago

Thanks for the help...

El jue, 11 may 2023 a las 18:48, Xavier @.***>) escribió:

@olive2troyes https://github.com/olive2troyes go to nrok website and set up a token, it's free @facundoalmar https://github.com/facundoalmar just run those lines in a new cell in colab, you can make it the first cell in the notebook. I am on colab pro , mentioning

— Reply to this email directly, view it on GitHub https://github.com/TheLastBen/fast-stable-diffusion/issues/2125#issuecomment-1544727192, or unsubscribe https://github.com/notifications/unsubscribe-auth/A7XEAYWQS3YRKR6RXTEEGCTXFVNB5ANCNFSM6AAAAAAXYESBFQ . You are receiving this because you were mentioned.Message ID: @.***>

--

Facundo

Nuño

Fundador / Dir. Creativo

ALMAR COMUNICA

Laprida 508 · Rosario · Santa Fe · Arg.

Whatsapp.: +54 341 155 691 666 https://wa.me/5493415691666

www.almarcomunica.com.ar

facundoalmar commented 1 year ago

I'm experiencing the same issue

El vie, 12 may 2023 a las 3:21, HelpANewbie @.***>) escribió:

I tried using the above on free collab - the runtime gets automatically disconnected after some minutes - maybe it works on pro and pro+ only

— Reply to this email directly, view it on GitHub https://github.com/TheLastBen/fast-stable-diffusion/issues/2125#issuecomment-1545234736, or unsubscribe https://github.com/notifications/unsubscribe-auth/A7XEAYWX7JAMROD2MZ2FGRDXFXJHBANCNFSM6AAAAAAXYESBFQ . You are receiving this because you were mentioned.Message ID: @.***>

--

Facundo

Nuño

Fundador / Dir. Creativo

ALMAR COMUNICA

Laprida 508 · Rosario · Santa Fe · Arg.

Whatsapp.: +54 341 155 691 666 https://wa.me/5493415691666

www.almarcomunica.com.ar

Mudereded401 commented 1 year ago

hello anybody successed to use SB on colab ?

I have done some code on Colab that is allowed, that can run SD via Diffusers. It has mostly everything but High-res fix seems to be kinda hard to code. If u want PM me via Discord (Click on my profile)

facundoalmar commented 1 year ago

I moved to paperspace, it´s slower, but at least it works...

El mié, 17 may 2023 a las 18:06, M401 @.***>) escribió:

hello anybody successed to use SB on colab ?

I have done some code on Colab that is allowed, that can run SD via Diffusers. It has mostly everything but High-res fix seems to be kinda hard to code. If u want PM me via Discord (Click on my profile)

— Reply to this email directly, view it on GitHub https://github.com/TheLastBen/fast-stable-diffusion/issues/2125#issuecomment-1552084250, or unsubscribe https://github.com/notifications/unsubscribe-auth/A7XEAYV2EH74IWARPN7BMR3XGU4VTANCNFSM6AAAAAAXYESBFQ . You are receiving this because you were mentioned.Message ID: @.***>

--

Facundo

Nuño

Fundador / Dir. Creativo

ALMAR COMUNICA

Laprida 508 · Rosario · Santa Fe · Arg.

Whatsapp.: +54 341 155 691 666 https://wa.me/5493415691666

www.almarcomunica.com.ar

olive2troyes commented 1 year ago

@facundoalmar hello i tried it but it always says it has no room for me, maybe i m doing something wrong?

facundoalmar commented 1 year ago

🤣 🤣 🤣 I Just click start as a mad man until I get space 😂

El dom, 21 may 2023 06:59, olive2troyes @.***> escribió:

@facundoalmar https://github.com/facundoalmar hello i tried it but it always says it has no room for me, maybe i m doing something wrong?

— Reply to this email directly, view it on GitHub https://github.com/TheLastBen/fast-stable-diffusion/issues/2125#issuecomment-1556136129, or unsubscribe https://github.com/notifications/unsubscribe-auth/A7XEAYXUHUUUGWK6QWV4MDDXHHRPHANCNFSM6AAAAAAXYESBFQ . You are receiving this because you were mentioned.Message ID: @.***>