Skip to content
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 drive error has occurred #2125

Open
magicgearco opened this issue May 6, 2023 · 33 comments
Open

google drive error has occurred #2125

magicgearco opened this issue May 6, 2023 · 33 comments

Comments

@magicgearco
Copy link

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

@sexreek
Copy link

sexreek commented May 6, 2023

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

@sexreek
Copy link

sexreek commented May 6, 2023

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

@maozdemir
Copy link

imagine reading other issues.

@thejohnd0e
Copy link

thejohnd0e commented May 6, 2023

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
#2105 (comment)

@cmatrix7777
Copy link

cmatrix7777 commented May 6, 2023

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_prompt_lengths
_, 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
Copy link

Seockju commented May 6, 2023

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

@magicgearco
Copy link
Author

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
Copy link

ll2pakll commented May 7, 2023

I have the same problem

@xxxxxDantexxxxx
Copy link

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

@Barry-Bot1
Copy link

Same problem here too

@Noobmaster6978
Copy link

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
Copy link

Ethel765 commented May 8, 2023

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

@TheLastBen
Copy link
Owner

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

@Mudereded401
Copy link

@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
Copy link

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

@TheLastBen
Copy link
Owner

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

@HelpANewbie
Copy link

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
Copy link

Mudereded401 commented May 9, 2023

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
Copy link

Same here... soooo tired...

@Taikakim
Copy link

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
Copy link

xmalina commented May 11, 2023

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
Copy link

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

@facundoalmar
Copy link

facundoalmar commented May 11, 2023 via email

@xmalina
Copy link

xmalina commented May 11, 2023

@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
Copy link

HelpANewbie commented May 12, 2023

@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
Copy link

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

@olive2troyes
Copy link

hello anybody successed to use SB on colab ?

@facundoalmar
Copy link

facundoalmar commented May 17, 2023 via email

@facundoalmar
Copy link

facundoalmar commented May 17, 2023 via email

@Mudereded401
Copy link

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
Copy link

facundoalmar commented May 18, 2023 via email

@olive2troyes
Copy link

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

@facundoalmar
Copy link

facundoalmar commented May 21, 2023 via email

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

No branches or pull requests