TheLastBen / fast-stable-diffusion

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

Illegal code on Colab #2013

Open ll2pakll opened 1 year ago

ll2pakll commented 1 year ago

When I tried to run this Notebook, I started getting a message saying that this code is not allowed on Colab and if I continue to run it, my rights to use Colab will be restricted. Has anyone else received a message like this? This is the first time I've received it, although I've used this Notebook before with no problems

LukeOvermind commented 1 year ago

Everything was fin an hour ago, took a break to get the kid ready for bed and now I am getting "You may be executing code that is disallowed, and this may restrict your ability to use Colab in the future. Please note the prohibited actions specified in our FAQ."

JeleLele3 commented 1 year ago

Got the same popup.

InternalMegaT commented 1 year ago

Same, when running the repo installation cell

Screenshot 2023-04-20 135345

lyery commented 1 year ago

running remote UIs now is against colab TOS edit: this includes SD, of course imagen

MartialWrapperr commented 1 year ago

It's over. Google is cracking down on poor people.

InternalMegaT commented 1 year ago

running remote UIs now is against colab TOS edit: this includes SD, of course imagen

This also applies to paid units?

JeleLele3 commented 1 year ago

Leave it to Google to ruin everything. I imagine a lot of people only pay for Collab just for A1111. Absolutely stupid.

InternalMegaT commented 1 year ago

running remote UIs now is against colab TOS edit: this includes SD, of course imagen

Does this also apply to Dreambooth colab?

BannedMan commented 1 year ago

Leave it to Google to ruin everything. I imagine a lot of people only pay for Collab just for A1111. Absolutely stupid.

I mean free gpu's and ram.... be lucky we got it in the 1st place, im a bit peeved tho

InternalMegaT commented 1 year ago

Leave it to Google to ruin everything. I imagine a lot of people only pay for Collab just for A1111. Absolutely stupid.

I mean free gpu's and ram.... be lucky we got it in the 1st place, im a bit peeved tho

So this does only apply to free units?

BannedMan commented 1 year ago

Leave it to Google to ruin everything. I imagine a lot of people only pay for Collab just for A1111. Absolutely stupid.

I mean free gpu's and ram.... be lucky we got it in the 1st place, im a bit peeved tho

So this does only apply to free units?

Idk, maybe they banned it outright

lyery commented 1 year ago

running remote UIs now is against colab TOS edit: this includes SD, of course imagen

This also applies to paid units?

Yes, this also* applies to paid units/colab pro

InternalMegaT commented 1 year ago

running remote UIs now is against colab TOS edit: this includes SD, of course imagen

This also applies to paid units?

Yes, this is also applies to paid units/colab pro

WHAT, ok I understand on free units but paid units as well!!

InternalMegaT commented 1 year ago

@TheLastBen Maybe there is a way to fix this? Hopefully. Does this also affect your Dreambooth colab?

JeleLele3 commented 1 year ago

@TheLastBen Maybe there is a way to fix this? Hopefully. Does this also affect your Dreambooth colab?

I doubt Ben can do anything, it's global. Might be the end.

InternalMegaT commented 1 year ago

@TheLastBen Maybe there is a way to fix this? Hopefully. Does this also affect your Dreambooth colab?

I doubt Ben can do anything, it's global. Might be the end.

It says it blocked remote ui's, remote desktops, etc. There may be a way to not use that. However at that point it may be useless. I want clarification does it really also not work for paid credits. @lyery Are you 100% sure about paid credits not working either?

lgooders commented 1 year ago

I have colab pro and I am getting the same message.

BannedMan commented 1 year ago

I have colab pro and I am getting the same message.

its a TOS, not a teir gate

JeleLele3 commented 1 year ago

I have colab pro and I am getting the same message.

It applies to everyone, regardless if paid or free version.

Trokinos commented 1 year ago

So i assume it means that google does not want anymore to allow people to use the excellent A1111 with a google colab ?

OswaldoInfante97 commented 1 year ago

So i assume it means that google does not want anymore to allow people to use the excellent A1111 with a google colab ?

Yeah, it applies to any UI whatsoever. so... no point in paying that shit now

ralph2121 commented 1 year ago

NovelAI(4chanVer)/Naifu Diffusion if it is working.

Shouldn't that one also be failing?

materosx commented 1 year ago

I've read on reddit that the warning only appears if the words "stable diffusion" are somewhere inside the code, so maybe just removing/replacing all of them would fix it? kff4138305va1

InternalMegaT commented 1 year ago

I've read on reddit that the warning only appears if the words "stable diffusion" are somewhere inside the code, so maybe just removing/replacing all of them would fix it? kff4138305va1

There's a fix hope this is true and can be changed/fixed

phoenix9990 commented 1 year ago

I've read on reddit that the warning only appears if the words "stable diffusion" are somewhere inside the code, so maybe just removing/replacing all of them would fix it? kff4138305va1

There's a fix hope this is true and can be changed/fixed

I mean it would still be short live if there is any such fix Google just like that

letrasderosa commented 1 year ago

The same with me.

Gushousekai195 commented 1 year ago

What's the alternative then?!! Goddammit to Hell!!

I still can't afford a GTX 3090 with 24gb to run it locally!! And I don't see it happening anytime soon!! I've not been able to save my money much lately....

TheLastBen commented 1 year ago

There are alternative fast-stable-diffusion notebooks for Runpod and Paperspace

Gushousekai195 commented 1 year ago

There are alternative fast-stable-diffusion notebooks for Runpod and Paperspace

Can I load my Google Drive on them?

TheLastBen commented 1 year ago

@Gushousekai195 you can share the folder on your gdrive, then use "gdown --folder" to download it

qa13683954882 commented 1 year ago

Silly bitch Google, he thought he would make more people pay to choose the pro model, but not so, it will only make most people abandon Colab and choose other GPU platforms, the funniest thing is that the subtle rules still apply to pro users, instead you pay and do not feel safe and may be interfered with at any time.

RebelCat90 commented 1 year ago

I have Colab PRO and I also have problems with that message. I've done some work still, I don't know how risky it could be that they won't give me access later or ban my account.

Excuse my English, I'm Latin American

JokingLemon commented 1 year ago

I think I got a work around, for now. Apparently, all they're doing is searching for "stable-diffusion-webui" (in text format) in your code which is executed as a command line instruction (cloning the repo) . I stored "stable-diffusion-webui" in a variable (which doesn't trigger a warning on its own), and replaced it wherever there was a "stable-diffusion-webui" written in command line code. This is still technically against the TOS, but the warning goes away

Edit: I made a typo in the code, turns out, You cannot store "stable-diffusion-webui" as a variable either.
You simple cannot have the text stable-diffsion-webui anywhere in your code. Nevertheless, simply splitting that and appending it back, s="stable-diffusion"+"-webui" isn't illegal

after this, Edit -> find and replace -> search stable-diffusion-webui and replace with $s

RebelCat90 commented 1 year ago

I think I got a work around, for now. Apparently, all they're doing is searching for "stable-diffusion-webui" (in text format) in your code which is executed as a command line instruction (cloning the repo) . I stored "stable-diffusion-webui" in a variable (which doesn't trigger a warning on its own), and replaced it wherever there was a "stable-diffusion-webui" written in command line code. This is still technically against the TOS, but the warning goes away

Edit: I made a typo in the code, turns out, You cannot store "stable-diffusion-webui" as a variable either. You simple cannot have the text stable-diffsion-webui anywhere in your code. Nevertheless, simply splitting that and appending it back, s="stable-diffusion"+"-webui" isn't illegal

after this, Edit -> find and replace -> search stable-diffusion-webui and replace with $s

I also tried to edit the text where "stable diffusion" appeared and when I get to the ControlNet section it sends me an error that says it can't find the models

JokingLemon commented 1 year ago

I think I got a work around, for now. Apparently, all they're doing is searching for "stable-diffusion-webui" (in text format) in your code which is executed as a command line instruction (cloning the repo) . I stored "stable-diffusion-webui" in a variable (which doesn't trigger a warning on its own), and replaced it wherever there was a "stable-diffusion-webui" written in command line code. This is still technically against the TOS, but the warning goes away Edit: I made a typo in the code, turns out, You cannot store "stable-diffusion-webui" as a variable either. You simple cannot have the text stable-diffsion-webui anywhere in your code. Nevertheless, simply splitting that and appending it back, s="stable-diffusion"+"-webui" isn't illegal after this, Edit -> find and replace -> search stable-diffusion-webui and replace with $s

I also tried to edit the text where "stable diffusion" appeared and when I get to the ControlNet section it sends me an error that says it can't find the models

I just tried using control-net and it worked for me. Check if the CN models are stored in the right directory

TheLastBen commented 1 year ago

https://github.com/TheLastBen/fast-stable-diffusion/commit/a755c66f8d6a90d8071bf23300540108ae036d69

qa13683954882 commented 1 year ago

Yes, I tested the code about colab with stable-diffusion-webui in it and all other related plugins are now not disabled. Interestingly enough, if you change stable-diffusion-webui to →stable diffusion webu, you won't get an error, so maybe you can use a file to cover up the error.

TheLastBen commented 1 year ago

use the latest notebook

RebelCat90 commented 1 year ago

I would appreciate if you share any screenshots about the possible solutions

TheLastBen commented 1 year ago

@RebelCat90 Use the latest notebook and you won't get any message or error

Gushousekai195 commented 1 year ago

I also heard that ngrok is banned on Colab

TheLastBen commented 1 year ago

ngrok is just like gradio server, you can use it

lyery commented 1 year ago

ngrok is just like gradio server, you can use it

you should put a warning in the collab telling people that using this now is against google's tos and anyone who uses this can possibly be banned

tirtho888 commented 1 year ago

image what is this

Archon332 commented 1 year ago

use the latest notebook

I deleted old SD and reuploaded new SD version using link from from this Github page. There was no warning while uploading but after during uploading of extensions warning with illegal bullshit apeared once again.

Archon332 commented 1 year ago

I understand something. Warning appears when you tray to add path to your model. So, shen I started UI with usual SD model there was no warning and it was when I tried to add "/content/gdrive/MyDrive/sd/stable-diffusion-webui/models/Stable-diffusion/grapefruitHentaiModel_grapefruitv4.safetensors" to the path line.

TheLastBen commented 1 year ago

@lyery no one is getting banned

Stoi84 commented 1 year ago

Not getting any message with an older colab (the one just before the fix). I have Colab Pro, from France.

InternalMegaT commented 1 year ago

Not getting any message with an older colab (the one just before the fix). I have Colab Pro, from France.

Are you saying they revised the TOS?

Stoi84 commented 1 year ago

I'm just sharing my own experience in case it's of any help. I might not getting the message for other reasons.