TheLastBen / fast-stable-diffusion

fast-stable-diffusion + DreamBooth
MIT License
7.49k 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

TheLastBen commented 1 year ago

Pro users can use it without restrictions

Stoi84 commented 1 year ago

Some mentioned earlier here that even with Pro, they're getting this message. Thanks for the clarification about this.

catboxanon commented 1 year ago

Just to chime in, the way things are written in the ToS would imply you can not use it without restrictions.

https://research.google.com/colaboratory/faq.html#limitations-and-restrictions

The following are disallowed from Colab runtimes: remote control such as SSH shells, remote desktops, remote UIs

Additional restrictions exist for paid users here.

At the bottom of that linked page:

When you use the Paid Service, you will not: Perform any of the prohibited activities set forth in the Colab FAQs


The tweet here that says "we're not banning users" is in response to the question of "Is there any risk of getting my Google account banned". It is not related to the warning that Google Colab shows saying it will "restrict" Colab usage, those are two separate things.

Feel free to correct me if I'm misunderstanding this.

InternalMegaT commented 1 year ago

Pro users can use it without restrictions

Im confused there were so many pro users having this issue. Are you 100% sure?

TheLastBen commented 1 year ago

Im confused there were so many pro users having this issue. Are you 100% sure?

Yes

JeleLele3 commented 1 year ago

Pro users can use it without restrictions

Im confused there were so many pro users having this issue. Are you 100% sure?

Looks like pro users will still be able to use it. Source: https://twitter.com/thechrisperry/status/1649196140909428736

Since you are a paid user you should be good. Rest of us plebians from second/third world countries that can't afford the subscription or a good PC are screwed.

InternalMegaT commented 1 year ago

Pro users can use it without restrictions

Im confused there were so many pro users having this issue. Are you 100% sure?

Looks like pro users will still be able to use it. Source: https://twitter.com/thechrisperry/status/1649196140909428736

Since you are a paid user you should be good. Rest of us plebians from second/third world countries that can't afford the subscription or a good PC are screwed.

So if you're in a first world country and using free units it will be fine?

JeleLele3 commented 1 year ago

Pro users can use it without restrictions

Im confused there were so many pro users having this issue. Are you 100% sure?

Looks like pro users will still be able to use it. Source: https://twitter.com/thechrisperry/status/1649196140909428736 Since you are a paid user you should be good. Rest of us plebians from second/third world countries that can't afford the subscription or a good PC are screwed.

So if you're in a first world country and using free units it will be fine?

No, everyone will have to use paid units. At least that's what the colab lead is saying in that tweet I linked. It's not set in stone yet but they're most likely going to pull the plug on free tier SD Webui.

If you're a paid user you can use the WebUI to your heart's content without the worry of being banned.

infernus4444 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

In nocrypt's colab, unchecking output to drive solves the problem

profcat2 commented 1 year ago

Not mounting google drive kinda works, the webui changes a bit and gradio launches and it starts to produce an image but then the final render is just a teal square.

aefly commented 1 year ago

For those who still have the "Illegale code" when adding path to model, move your models to another folder than the one in stable-diffusion-webui:

Example: /content/gdrive/MyDrive/sd/models/

plucyvrz commented 1 year ago

For those who still have the "Illegale code", move your models to another folder than the one in stable-diffusion-webui:

Example: /content/gdrive/MyDrive/sd/models/

I've tried this, and a new folder is like /content/gdrive/MyDrive/WebUI/models/ but got the same message. Is there any other trick for bypassing that message?

aefly commented 1 year ago

@plucyvrz For now it's the only way I found, try without "WebUI" folder, like: /content/gdrive/MyDrive/sd/models/yourmodel.safetensors

aleqniko commented 1 year ago

I can't pay Goole Colab My country is not in the list Screenshot

TheLastBen commented 1 year ago

@aleqniko use my notebooks in RunPod or Paperspace https://www.runpod.io/console/gpu-secure-cloud?template=runpod-stable-unified https://console.paperspace.com/github/TheLastBen/PPS?machine=Free-GPU

aleqniko commented 1 year ago

@aleqnikoиспользовать мои блокноты в RunPod или Paperspace https://www.runpod.io/console/gpu-secure-cloud?template=runpod-stable-unified https://console.paperspace.com/github/TheLastBen/PPS?machine= Бесплатный графический процессор

Thanks. I will definitely look

TheLastBen commented 1 year ago

@aleqniko correction for runpod : https://www.runpod.io/console/gpu-browse?template=runpod-stable-unified

aleqniko commented 1 year ago

strange but I managed to run the sd without problems

Screenshot

iqddd commented 1 year ago

RunPod is forcing me pay through this shady crap: image Their app forces identity verification! Cryptocurrency and identity verification, Karl! How can the two concepts coexist?

jjhaggar commented 1 year ago

Current state of events:

Alternatives to Google colab:

TheLastBen commented 1 year ago

@iqddd is that the only payment option ?

iqddd commented 1 year ago

@TheLastBen for me it is.

XieBaoshi commented 1 year ago

Alternatives to Google colab:

* Paid: [Runpod](https://blog.runpod.io/stable-diffusion-ui-on-runpod/) & [Vast.ai](https://vast.ai/docs/guides/stable-diffusion)

* Free: [The AI Horde](https://stablehorde.net/), there is a [Stable Horde client for automatic1111](https://github.com/natanjunges/stable-diffusion-webui-stable-horde)

Kaggle also

TheLastBen commented 1 year ago

@iqddd Checkout paperspace https://console.paperspace.com/github/TheLastBen/PPS?machine=Free-GPU

Mudereded401 commented 1 year ago

@iqddd Checkout paperspace https://console.paperspace.com/github/TheLastBen/PPS?machine=Free-GPU

Thanks, but how can i add commands into that webpage? I want for example, download VAE or LoRA models into it but idk how to do it. (I did it in colab but idk how that page works)

TheLastBen commented 1 year ago

@Mudereded401 click on the jupyter icon on the left panel to use the jupyter interface, it's easier and similar to colab

JackG0T commented 1 year ago

For those who still have the "Illegale code" when adding path to model, move your models to another folder than the one in stable-diffusion-webui:

Example: /content/gdrive/MyDrive/sd/models/

@aefly you saved my life

aefly commented 1 year ago

@JackG0T no problem ;)

profcat2 commented 1 year ago

I'm not getting any illegal code warnings from running the collab anymore, however it doesn't work without paying collab which was the main issue, too many people on the platform. News articles also seem to indicate this is the case. For EU/Asia I would recommend the paperspace or runpod options as other posters suggested

RobbinTech commented 1 year ago

Is this because google has their own AI shit models and are cracking down now?

firstvanq commented 1 year ago

@iqddd Checkout paperspace https://console.paperspace.com/github/TheLastBen/PPS?machine=Free-GPU

hey ben, can i not mount my google drive to paperspace?

TheLastBen commented 1 year ago

@firstvanq you can share any gdrive folder, then download it with !gdown --folder (link)