Open PixelHaru opened 1 year ago
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 https://github.com/camenduru/stable-diffusion-webui-colab/issues/405#issuecomment-1561207734 (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
@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:
import base64 a = 'ZWNobyAnaGVsbG8gd29ybGQhJw==' p = base64.b64decode(a).decode('utf-8') x =''.join([i[i[0] in ['!','%']:] for i in p.splitlines(True)]) !eval $x
My work around solution is just:
- Encode the whole code into base64
- Replace it into variable 'a' in code below
- run it
import base64 a = 'ZWNobyAnaGVsbG8gd29ybGQhJw==' p = base64.b64decode(a).decode('utf-8') x =''.join([i[i[0] in ['!','%']:] for i in p.splitlines(True)]) !eval $x
Nice workaround, simpler than the others. Sadly, I still get kicked out after a few minutes.
My work around solution is just:
- Encode the whole code into base64
- Replace it into variable 'a' in code below
- run it
import base64 a = 'ZWNobyAnaGVsbG8gd29ybGQhJw==' p = base64.b64decode(a).decode('utf-8') x =''.join([i[i[0] in ['!','%']:] for i in p.splitlines(True)]) !eval $x
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. Just uploaded a video and the colab https://youtu.be/4JEtJ7bTaHE?si=A4on3BlLaI53E6yX Let me know if this works for you. Nolan, whenever you comeback, will do my best to keep your 1-Click spirit alive.
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
Ho risolto il problema, sembra che Google abbia bandito il nome del nostro ragazzo da Colab, a parte alcune altre piccole cose. Tutto quello che dovevo fare era cambiare i collegamenti, ma ora funziona. E' lo stesso codice.
E comunque, fanculo Google
https://colab.research.google.com/drive/1JPVz-NWrU5TODy4eqSKrLSLx8FyK4APa#scrollTo=f1pBw_ViDULQ
great job, it works
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
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
Ho risolto il problema, sembra che Google abbia bandito il nome del nostro ragazzo da Colab, a parte alcune altre piccole cose. Tutto quello che dovevo fare era cambiare i collegamenti, ma ora funziona. E' lo stesso codice. E comunque, fanculo Google https://colab.research.google.com/drive/1JPVz-NWrU5TODy4eqSKrLSLx8FyK4APa#scrollTo=f1pBw_ViDULQ
great job, it works
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? again, not sure if that will work, so correct me if im wrong, since i dont fully understand whats triggering the colab warnings, but i hope this can resolve the issue atleast for now
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? again, not sure if that will work, so correct me if im wrong, since i dont fully understand whats triggering the colab warnings, but i hope this can resolve the issue atleast for now
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
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? again, not sure if that will work, so correct me if im wrong, since i dont fully understand whats triggering the colab warnings, but i hope this can resolve the issue atleast for now
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.
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? again, not sure if that will work, so correct me if im wrong, since i dont fully understand whats triggering the colab warnings, but i hope this can resolve the issue atleast for now
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 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? again, not sure if that will work, so correct me if im wrong, since i dont fully understand whats triggering the colab warnings, but i hope this can resolve the issue atleast for now
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?
well guys, last backup account banned, so i cant help no more
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
Not working anymore, sadly. Disconnects very quickly, sometimes even when the links aren't ready.
well guys, last backup account banned, so i cant help no more
Yeah i'm done.. this is mine just last night.. careful everyone.. consider this post
F
For the warrior:
import base64 as www a = '''
JJFEYRKZKJJUMS2ZLJDEKURSJ5FFUQ2VI5KVGS2LLJCVMTKSINLEWNKHKRCVES2LJNNEKRKJKNFVMSSOIRKVKTSDGJFVERCWJNGVGUCKJZDEKVKWJNEEWRSGKZKVEMSPJJDEGVCJKYZFGS2OIVKEWUSTKVETKTCFI5LFGSSLLJBFMTKTJNLEUSJSKVIVMSSXJNIVURBSKBFDK===
''' while 'content' not in a: a = www.b32decode(a.strip()).decode('utf-8') x =''.join([i[i[0] in ['!','%']:] for i in a.splitlines(True)]) !eval $x
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 )
you technically can also use aes encryption on your local pc to encrypt the code and then using the key decrypt it
i have an idea: what if we just copy the after downloaded /content/ into our drive. and run only the tunnel.
do you think it could work?
Is there no way but wait for being solved this issue by somebody?
you technically can also use aes encryption on your local pc to encrypt the code and then using the key decrypt it
i have an idea: what if we just copy the after downloaded /content/ into our drive. and run only the tunnel.
do you think it could work?
Drive as in your local drive? Then it means you're using your own GPU, no point in using Colabs then.
you technically can also use aes encryption on your local pc to encrypt the code and then using the key decrypt it
i have an idea: what if we just copy the after downloaded /content/ into our drive. and run only the tunnel. do you think it could work?
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):
from google.colab import drive drive.mount('/content/drive')
%cd /content/drive/MyDrive/trying/microsoftexcel
!apt -y update -qq %env LD_PRELOAD=/content/drive/MyDrive/trying/libtcmalloc_minimal.so.4 !pip install pip install pydantic==1.8.2
!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.
%cd /content/drive/MyDrive/trying/microsoftexcel
!apt -y update -qq %env LD_PRELOAD=/content/drive/MyDrive/trying/libtcmalloc_minimal.so.4 !pip install pip install pydantic==1.8.2
!COMMANDLINE_ARGS="--disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue --cloudflared" REQS_FILE="requirements.txt" python launch.py
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