How to Install Stable Diffusion: No disconnect, Google Colab
Vložit
- čas přidán 26. 06. 2024
- In this tutorial, I will guide you through the step-by-step process of installing Stable Diffusion using Google Colab that will work on any computer, regardless of GPU strength.. Using my method, you will be able to quickly and code-free utilize Stable Diffusion for free.
I hope that my guide will be helpful, and if you have any questions, feel free to leave them in the comments, and I will be sure to respond.
_________________
Timestamps
0:00 Intro
0:19 Stable diffusion 01
0:46 Model selection
1:15 How that notebook works
2:03 Run webui
2:57 Possible problems
_________________
The link for FREE colab:
ko-fi.com/s/47ba015ba0
#stablediffusion
#stablediffusionaitutorial
#stablediffusionwebui
#ainews - Věda a technologie
𝐆𝐮𝐲𝐬, 𝐚𝐥𝐥 𝐜𝐮𝐫𝐫𝐞𝐧𝐭𝐥𝐲 𝐬𝐮𝐩𝐩𝐨𝐫𝐭𝐞𝐝 𝐧𝐨𝐭𝐞𝐛𝐨𝐨𝐤𝐬 𝐚𝐫𝐞 𝐚𝐯𝐚𝐢𝐥𝐚𝐛𝐥𝐞 𝐨𝐧 𝐏𝐚𝐭𝐫𝐞𝐨𝐧 (AI, Stable Diffusion, DeepFakes etc.)
with the majority of them being free. Donations through Ko-fi are not operational, but file downloads are available. You can support me on Patreon. Thank you!
👉 www.patreon.com/marat_ai
omg, dud thanks a lotttt, i can use it even with free google colab without any errors. big W!
Thanks for video, great tutorial
0:16 lmao
thanks alot , finally one work , thaaaaaaaaaaanks
It Indeed works!
Thank you for your efforts, highly appreciated. Do you plan on adding VAE support soon?
Thanks! It's just done: czcams.com/video/6A6aAtpGyv4/video.html
you are great man, thank you for your video. i am having too much trouble using Colab, always disconnecting. after watching your video and using our notebook link i did not face any disconnection issues.
once again thank you for your efforts for Us
Thank you so much for your kind words:)
good evening can you only use stable dufusion xl in any programmed and for none commercials only... is there any similar program's where you can use for commercial use and sell images and are theses the paid ones ?
will I be able to do textual inversion training with this?
Bro What special did you do to avoid disconnection? 🙁🙁
why the colab is not using my Gdrive space?
Where are the outputs and generated stuffs saved to???
On step 3, sometimes after running the code i get this error.
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xfe in position 155754: invalid start byte
Stable diffusion model failed to load, exiting
I don't really know how to solve this...
Thank you so much 🙏
Does it support downloading multiple models in the first cell? And vae and textual inversions embeddings and stuff like that? Since most of the good images require vaes and embeddings, especially in negative prompts 🙂
I'll make that, but a bit later. You can just download them by yourself, manually or just edit code in cell
I've added multiple models and lora: colab.research.google.com/drive/1GdV1vBPbAISDjgO1cPq5K0E_QOFS1X6i?usp=sharing
@@marat_ai Thank you so much 🙂
Just added VAE: czcams.com/video/6A6aAtpGyv4/video.html
@@marat_ai Hey there, can I use my own models stored in my drive with your notebook?
Tried changing the code but couldnt get it to work
I can't install any model, it downloads but is then deleted from the models folder, I believe there is some blockage in the configuration
Спасибо
Hi ,thank you for your amazing work but I have a problem. Colab stop working after 4 minutes, do you know why?
Hello bro ., today I got disconnect problem and Shows an phython error to start stable diffusion, only I can able to generate 4 or 5 only its automatically getting disconnected what happen bro
for me too. today i have several disconnects before any possibility of using
I have the some problem, I hope in an answer
how can i use links from civitai? I tried the model url and download links and both failed
i had to subscribe you cuz its working fine❤, looking forward for more great videos like this.👍
how can i install VAE on colab?
It's done: czcams.com/video/6A6aAtpGyv4/video.html
A new working and free method of using Stable Diffusion is available here:czcams.com/video/lmpAopZ41K4/video.html
I couldn't find the link, only you profile link is given
btw if i try to install an extention when i click the intall and restart UI button it doesnt work, and even if i refrech the extentin is not installed, can u help me please?
Strangely enough, it works for me. Restarting the web UI doesn’t work. You just need to follow the link from Colab once again. And yes, you must reinstall extensions every time after session reboot.
i want it for controlnet
I updated notebook and added controlnet/lora models
czcams.com/video/6A6aAtpGyv4/video.html
I'm gonna test to see if this'll work with SD XL.. it would be wonderful as my local GPU can't run XL (but can do 1.5 fine.)
It won't in case you still haven't tested. There is some difference in model structure. I'm currently struggling for notebook for SDXL.
@@marat_ai Hopefully one of us figures it out when it's released.. I wouldn't want to be stuck on 1.5 because my computer's GPU is only 6 GB and I'll have to fork out credits to run it on Colab.
can i work with models from civitai?
sure, any model for SD. You just need to provide a proper link for direct downloading.
This Automatic1111 version has no optimizors like xtensor. It takes a lot of time to generate images.
kindly add tensors.
Привет Марат, скажи, пожалуйста, могу ли я использовать свои, кастомные, модели в твоем блокноте SD? Если да, то как это сделать?
Да, можно!
1. Можно добавить ячейку которая будет сгружать данные с гугл диска во временную сессию
2. Просто добавить модели на huggingface и от туда их сгружать по ссылке
@@marat_ai Спасибо большое, очень помог🤝👍
its not working it is opening but when i hot generate button it shows generating and soon the image disappears. getting this error - "RuntimeError: Sizes of tensors must match except in dimension 1. Expected size 180 but got size 90 for tensor number 1 in the list."
it does work, just try proper image resolution
so, it need me to ask you permission for downloading. So, should I just go for it?
yes, sure!
please sir replay, i use colab using your link but img2img is not working
That is strange, just testet and everything is fine. You can try the latest version of colab notebook with controlnet and lora, check my latest video.
Hey, IK wired name. I wanted to add some other models not available on hugging face, can you help me with that? thanks
Hi, just paste your link in proper cell, that's it.
@@marat_ai thanks man, really Appreciate it, your videos and this comment too.
@@marat_ai hey also one more thing, i want to access its api but cant, can you help me with that?
thanks a lot
@@marat_aiI figured out something, but thanks a lot for everything
Today it was not possible to use it. crashed several times before any possibility of using
even for me after 7 day
I updated notebook and added controlnet/lora models
czcams.com/video/6A6aAtpGyv4/video.html
but i have problem on installing control net models
just download them to "/content/lite_colab/extensions/lite-kaggle-controlnet/models"
How can I add Lora?
download your lora model to /content/lite_colab/models/Lora. I think in next several days I make it more convenient
done! czcams.com/video/6A6aAtpGyv4/video.html
sir pls let me know how to enable 'roop extension'
one time i see there in extension tab. but after a day i use again the colab link i didn't see any more roop
@@dirtydancing858 that weird it worked to me, you can try another notebook from my videos
Warning
You may be executing code that is disallowed
which may terminate your runtime without
warning. Colab prioritizes interactive notebook
compute and disallows some types of usage
when executing code without compute units as
outlined in the FAQ.
Your compute unit balance is 0. Purchase more
But i try different account but not work anymore please brother tell me a solution.. i think now days Google collab charges?
Sometimes it's happening (just once with me), but in most cases, using a different account or waiting 6-12 hours helps. If the aforementioned methods don't work, try using a VPN with a different account.
@@marat_ai thanks for your response bro
Still i don't know how to download model i don't have any link..i search hole fac
In the SDXL version, the models are already there. In this video, just copy the proper link for downloading the model.
Bro after use its show to run pain GPU due to limit
Usually, Google gives you about 5 hours per day. Just use another account.
@@marat_ai thanks bro
@@marat_ai bro one more things can u make deepfake colabalso
How to add civtai realistic version 4.0
just add you link in the cell
@@marat_ai I tried bro but not working can you give me the link to add
Pls give the link to add in the cell
@@balamurugan-ww4mr I've checked, it works 100%:
huggingface.co/SG161222/Realistic_Vision_V4.0/resolve/main/Realistic_Vision_V4.0_fp16-no-ema-inpainting.safetensors
@@marat_ai thank you so much bro
I can't start SD, it doesn't work anymore?
just checked, everything is working for me
You're probably getting disconnected...
That's the problem i lately encounter in colab.
It should around 12max usage for free, but i always encounter random disconnects in less than 5mins.
What's worse is you need to click again all of the prerequisites.