-
-
Notifications
You must be signed in to change notification settings - Fork 485
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
colab keeps disconnecting (again) #70
Comments
It disconnects after 8 minutes :( |
nolanaatama Please come back! |
Same unu |
I have the same problem now. It appears that I get disconnected very quickly, even if I don't do anything. |
using steps from camenduru/stable-diffusion-webui-colab#405 (comment) (and modifying it a little) on this notebook fixes the issue for me |
@dsinkerii can you clarify the changes? Or just fork the project and show your working version |
sure, i will try to fork it rq and submit a pr |
My work around solution is just:
|
Nice workaround, simpler than the others. Sadly, I still get kicked out after a few minutes. |
after a bit of checking i think its either because colab quickly noticed the fix and now you cant use any base64 workarounds rn, or either they are starting to check the file names |
The encoding also worked for few minutes for me. But I think I found the workaround by making a hybrid of camen and nolan. |
I fixed it, it seems that Google banned our boy's name from Colab, apart some other small things. All I had to do was change links, but now it works. It's the same code. And btw, fuck Google https://colab.research.google.com/drive/1JPVz-NWrU5TODy4eqSKrLSLx8FyK4APa#scrollTo=f1pBw_ViDULQ |
I hope Nolan is okay |
great job, it works |
great stuff, ill try to make some sort of a way to select models so you can actually control what you want and what you dont, without having it to edit the code |
I still get disconnected after around 20 min. It lasts longer, but still google is kicking us out. I'll try some other workarounds to see if I can avoid getting kicked out. |
i had an idea that im not 100% sure will work but theres a chance, what if you encode the entire code with AES so the code will be encrypted with random stuff every time, and change hosts to ip's? |
agree.. encryption using AES + key so everyone has unique ciphertext. i think uniqueness is the thing we need to defeat it, cause we all run the same code.. i think it worth to try.. |
if we take pro colab (11€/month) do you think they will still blacklist SD ? |
i've heard from another repo getting a paid plan defeats the problem |
That's interesting. Can you make a colab like that & share the link? I know that the name "nolanaatama" associated with Github links & terms like "a1111, sd-webui, stable-diffusion", etc are blacklisted. |
update: after a bit of thinking, came to the conclusion that if you try this, you will technically just convert code into encrypted code, and then back into the same code, rendering it useless you technically can download the same code every time, and then running it like normal, but then you will have to upload a new file every time google block it so its time to turn on our brains and think of new ideas |
i think still can be done.. the encryption would be manual outside the Colab, use AES encryption website for example. And Colab provide only the decryption and render.. and if blocked just encrypt with different key.. or i miss something? |
Not working anymore, sadly. Disconnects very quickly, sometimes even when the links aren't ready. |
|
F |
For the warrior:
import base64 as www JJFEYRKZKJJUMS2ZLJDEKURSJ5FFUQ2VI5KVGS2LLJCVMTKSINLEWNKHKRCVES2LJNNEKRKJKNFVMSSOIRKVKTSDGJFVERCWJNGVGUCKJZDEKVKWJNEEWRSGKZKVEMSPJJDEGVCJKYZFGS2OIVKEWUSTKVETKTCFI5LFGSSLLJBFMTKTJNLEUSJSKVIVMSSXJNIVURBSKBFDK=== ''' |
you technically can also use aes encryption on your local pc to encrypt the code and then using the key decrypt it |
I might subscribe to the Collab pro i think, or maybe trying to re-create a build in Paperspace for 8€ (but it's linux and I suck at linux :s ) |
i have an idea: do you think it could work? |
Is there no way but wait for being solved this issue by somebody? |
Drive as in your local drive? Then it means you're using your own GPU, no point in using Colabs then. |
no, drive as in our googledrive. and we run also in colab.. and the only code which we run would just look like this: (i have use this for second times and its fine.. i dont know for the third):
%cd /content/drive/MyDrive/trying/microsoftexcel !apt -y update -qq !COMMANDLINE_ARGS="--disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue --cloudflared" REQS_FILE="requirements.txt" python launch.py |
When mounted colab can still read the content (obviously, since otherwise it can't run it). They might going to kill this workaround once enough people are using it. |
Where do I add this command so I can use it? |
If any of you considering to pay for Colabs, check out other freemium services first. I've been using the SeaArt, while it disallow explicit NSFW content, it's still far more convenient and relatively cheap compared to paying for Colabs. I'm sure other freemium services would have similar pricing. |
is this fixed ? |
just the tittle, colab keeps disconnecting after a few minutes of use, sometimes even before finishing downloading the resources
The text was updated successfully, but these errors were encountered: