Adding Models to Stable Diffusion: Colab & Locally

Поділитися
Вставка
  • Опубліковано 28 жов 2024

КОМЕНТАРІ • 124

  • @Ausomapto1
    @Ausomapto1 Рік тому +3

    You have explained it the best way than anyone else... This is for the first time I understood all the basics as to how everything actually works, why you download the models, why you put every cpkt files where... everything is clear now! A big thanks!

  • @Superficialgallery
    @Superficialgallery Рік тому +9

    Your videos are amazing. I went from no idea what it even was last monday to now trying to train an embed in less than two weeks and you are a big reason for it. Thank you!

  • @gipmar3737
    @gipmar3737 Рік тому

    Hi Laura, I would like to thank you for providing such great tutorials. Keep up with the good work.

  • @KIMG69
    @KIMG69 Рік тому

    thank youuuuu i appreciate the straightforward tutorial it helped a lot!

  • @Trashpanda_404
    @Trashpanda_404 Рік тому

    Thanks for your enthusiasm and enjoyable videos

    • @Trashpanda_404
      @Trashpanda_404 Рік тому

      Can’t get mine to work… 🤦‍♂️ Maybe mine isn’t powerful enough. Mac Mini - late 2012 - 16g RAM - Ventura with OpenCore.

  • @jawadsikander007
    @jawadsikander007 Рік тому +1

    thanks for making a video tutorail on the qustion that i asked thnks again

  • @fullflowstudios
    @fullflowstudios Рік тому +2

    Laura can you please do a video about using codeformer to improve facial quality in a local Mac environment? I am a great fan of your videos and blogs and very thankful for your inspiration. Please keep putting these videos out!

  • @Aeon_PSR
    @Aeon_PSR Рік тому

    Was very helpful, thanks.

  • @Superficialgallery
    @Superficialgallery Рік тому +10

    I am sure you get asked all the time but are you planning on doing a video teaching how to train models?

  • @jamesbriggs
    @jamesbriggs Рік тому +1

    great video as always, thanks :)

  • @silvergish
    @silvergish Рік тому +2

    Laura, thank you so much for your videos! They've been so helpful.
    I do have a question regarding downloading models. I'm trying to download a model from CivitAI but the only type of file that is available for some models is a SafeTensor filetype. I don't see any with the ckpt extension. Will it work if I put the SafeTensor file in the /models/Stable-diffusion folder?

    • @LaCarnevali
      @LaCarnevali  Рік тому +1

      Yes, safetensor and checkpoint are the same thing. Safetensor files are safer, cannot contain malware.

  • @AlexanderTalenss
    @AlexanderTalenss Рік тому

    So helpful, Laura! thanks!

  • @CamilaSantos-dj9md
    @CamilaSantos-dj9md 9 місяців тому

    Hi Laura, thanks so much for the video! Is it possible to download a refiner? This would be so helpful, please please!

  • @leloholuwadamilare8188
    @leloholuwadamilare8188 2 місяці тому

    I really loves, it's eye opening.
    I run an ecommerce website, do I will be using it to generate product mockup for my store.
    Can you please make a video on how to setup stable diffusion on deepnote.
    I just discovered that deepnote is free, but I'm not a programmer

  • @leoiny
    @leoiny Рік тому

    Ho notato il tuo accento italiano e dopo aver visto il tuo nome ho avuto la conferma. Fa piacere vedere altri in Italia interessarsi a queste cose :)

  • @Eyezen_
    @Eyezen_ Рік тому

    Thanks , that really helped me !! :D

  • @Tafa168
    @Tafa168 Рік тому

    Very helpful, I love your accent too!

  • @jonathancm2620
    @jonathancm2620 Рік тому +1

    Hi! Where is the link of Google Colab Notebook? I love your videos!

    • @LaCarnevali
      @LaCarnevali  Рік тому

      colab.research.google.com/github/TheLastBen/fast-stable-diffusion/blob/main/fast_stable_diffusion_AUTOMATIC1111.ipynb

    • @LaCarnevali
      @LaCarnevali  Рік тому

      Oops, sorry - I ll add it now. Thanks for spotting it! :)

    • @ThanhPham-er5rt
      @ThanhPham-er5rt Рік тому

      ​@@LaCarnevali❤

  • @HeinleinShinobu
    @HeinleinShinobu Рік тому

    Thanks for the great tutorial and video,
    what about installing lora and other extension on colab?

  • @TECH__SHUBHAM
    @TECH__SHUBHAM Рік тому +1

    How to fix this error
    ModuleNotFoundError: No module named 'pyngrok'

    • @LaCarnevali
      @LaCarnevali  Рік тому

      Hi, yes, lots are having the same issue. Some upgraded to Colab pro and don't get the error anymore.
      If you don't want to upgrade, you can try running the below code before the requirements cell:
      !pip install pyngrok

    • @TECH__SHUBHAM
      @TECH__SHUBHAM Рік тому

      @@LaCarnevali not working 😞

    • @LaCarnevali
      @LaCarnevali  Рік тому +1

      You need to upgrade :(

  • @mertolojis
    @mertolojis 11 місяців тому

    There is no longer a checkbox called re download model, what should I do?

  • @ookamimizo6231
    @ookamimizo6231 Рік тому

    Very helpful thank you

  • @ZaneHauck
    @ZaneHauck Рік тому

    This is great!! Thank you so much! When I try to upload a lora safetensor into the lora folder, It won't let me, and I get an error message back saying "unexpected token". Does anyone know why this is?

  • @ابوالفضلعبادي-غ3م
    @ابوالفضلعبادي-غ3م 4 місяці тому

    Hello, when I take the download link of some models like Juggernaut XL from civitai and put the link in the MODEL_LINK, I get an error for downloading(HTTPError: HTTP Error 401: Unauthorized
    ), how can I fix it?
    I'm sorry if I didn't convey my meaning well, I'm not an English speaker :)

  • @ob1k333
    @ob1k333 Рік тому

    hey great video but when i try to switch models, it reverts back to the one i had selected before and im not sure why

  • @bloggiapponese
    @bloggiapponese Рік тому

    Hello Laura thx for video, in Start Stable-Diffusion tab i have "Use_Cloudflare_Tunnel" no "Use_localtunnel" as in your video. Why?

    • @LaCarnevali
      @LaCarnevali  Рік тому +1

      Hi Cristian, the notebook is constantly updated. Cloudtunnel still give you a secure no public connection :)

  • @HeinleinShinobu
    @HeinleinShinobu Рік тому +1

    Just now i check there is no Redownload original model checkbox

    • @mertolojis
      @mertolojis 11 місяців тому

      how did you find the solution

    • @HeinleinShinobu
      @HeinleinShinobu 11 місяців тому

      @@mertolojis no solution, i end up installing it locally on my pc

    • @mertolojis
      @mertolojis 11 місяців тому

      I found the solution, just add it as path@@HeinleinShinobu

  • @99phoenix
    @99phoenix Рік тому

    Nice video 💯. Can you please tell me what is the difference between running sd on Google colab and running it locally? Is it both same performance wise?

    • @LaCarnevali
      @LaCarnevali  Рік тому

      It depends on what computer you are using. If you have a mac, usually Colab/Runpod is better. If you computer is windows (Nvidia), then you'll probably want to use it!

  • @MADHUSUDAN_HJ
    @MADHUSUDAN_HJ Рік тому

    I'm facing an issue regarding the connection. The colab disconnects only after few minutes of connecting and before I click on generate or in the middle of the process it disconnects showing "Runtime disconnected" and I'm unable to use it. It was working perfectly fine but from 2 days I'm facing this issue. Please let me know how to stay connected??

    • @LaCarnevali
      @LaCarnevali  Рік тому

      Hi, Colab is not fully reliable with connection, I understand (mainly if your internet connection is not stable). If the issue is your internet connection, you can install SD on your computer locally. Otherwise, you can swap to RunPod, or Paperspace and see how it goes. I think Paperspace has a free option, but I have never used it.

    • @wisemonkeys4511
      @wisemonkeys4511 Рік тому

      So, if I understand correctly, anytime Colab disconnects, you gotta do the whole process again, right? It is very time consuming for me (I only use a tablet so I rely mostly on renting GPUs). Run Pod and Paperspace operate like google colab if I understand you correctly?

  • @myronkoch
    @myronkoch Рік тому

    hey, question.... I have an M1, and would like to keep a bunch of models and checkpoints on an external drive. Can I just make a shortcut in the models/Stable-diffusion folder that points to the files on my external drive?

    • @LaCarnevali
      @LaCarnevali  Рік тому +1

      Hi, I have never tried tbh. I think you can do that, but you might need to have the all stable diffusion webui folder in the drive. This is because the .ckpt or safetensors have to be inside the models folder.

  • @miraclesubliminals
    @miraclesubliminals Рік тому

    Thank you!!

  • @axios-xu9gv
    @axios-xu9gv Рік тому

    When writing the prompt I don't need to invoke the keyword to generate the image(the trained keyword ), on the computer yes but in google colab no?

    • @LaCarnevali
      @LaCarnevali  Рік тому +1

      should always use the trigger word for loras

    • @axios-xu9gv
      @axios-xu9gv Рік тому

      Thank you very much and I love your tutorials. I hope to continue learning much more with your channel, Miss Laura@@LaCarnevali

  • @ameet21
    @ameet21 Рік тому

    My question is How we can add 3 train people in Single CKPT
    like if I mention in Prompt Alice, Jane, Rachel taking group photo now in Single train model we see twins instead of seperate individuals.
    now with Celebrities but not with out custom models.
    So is there any technique to compile all our Train models in 1 CKPT?

    • @LaCarnevali
      @LaCarnevali  Рік тому

      You can train more people in one single ckpt; just difficult to check the results and adjust parameters if you need to train the model again. This is because the model might learn one person differently from the other. So, I would suggest to train one model for each person

  • @chertotboga3076
    @chertotboga3076 Рік тому

    Hi. I'm having problem with ControlNet part. It looks a little bit different cause I think it was updated(it has two bars now). And no matter what I click it shows me some error and I can't continue. Can you help please?

  • @vincentdoms2712
    @vincentdoms2712 Рік тому

    very usefull ! thx

  • @adrianrodriguezcau
    @adrianrodriguezcau Рік тому

    my model is not ckpt .. why ?? my safetensors
    its still work ??

    • @LaCarnevali
      @LaCarnevali  Рік тому +1

      yep. checkpoint and safetensors are the same thing. Difference: safetensors cannot contain malware

  • @Aisweetiegirl
    @Aisweetiegirl Рік тому

    Thanks for sharing this tutorial. I have encountered a problem and I am wondering what I have done wrong. I have trained a traditional stable diffusion + dreambooth model (i.e. not using this faster version) via Colab by using photos of me at a google account 1 and let's call it model 1. Then, I use another account, account2, to install a SD+auto1111 via Colab as your previous tutorial showed. Then, following the steps of this tutorial, I loaded the model 1 to the auto1111 host by account 2 and generated images. The images are way distorted and don't look like me. I have to go back to my account 1 to run model 1 to get it work. Could you explain to me what I did wrong ? Couldn't we load ckpt model at another account ? I thought the auto1111 is just a interface to run models we selected. Thanks

    • @LaCarnevali
      @LaCarnevali  Рік тому +1

      Hi, as you said, auto1111 is just an interface, so you can run any model. Have you run the same model on both account1 and account2 and got different results? If yes, then you are probably using different settings in the model (e.g., seeds). If no, then it can be that you need to retrain your model using different learning rate/training steps. Also, remember that when you build the prompt you need to use the filename of the images you used to train the model (i.e., if you trained the model with files named "laura (1).png", "laura (2).png", "laura (3).png", etc., the prompt should be "a photo of laura....

  • @IntricateMoon
    @IntricateMoon 5 місяців тому

    should it be in /models/StableDiffusion? not /models/Lora?

    • @LaCarnevali
      @LaCarnevali  3 місяці тому

      might have changes with time

  • @Fastti-m3n
    @Fastti-m3n Рік тому

    When I am about to run "AUTOMATIC1111 repo", this warning appears "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."
    what happened? should I continue the process or cancel it?

    • @LaCarnevali
      @LaCarnevali  Рік тому

      Are you running it from a remote desktop or SSH?

  • @brokencapricorn
    @brokencapricorn Рік тому

    is it any problem that .json file on my drive? ,I have accidently put it wrong drive, pls help me to remove it.pls

    • @LaCarnevali
      @LaCarnevali  Рік тому

      Sorry, I am not sure I got the issue?

  • @AlexLupoz
    @AlexLupoz 9 місяців тому

    Thanks, lady

  • @voxvox6063
    @voxvox6063 Рік тому +1

    thx a lot

  • @alanniu6617
    @alanniu6617 8 місяців тому

    helpful, thx

  • @sikomode9041
    @sikomode9041 Рік тому

    After few minutes is says connection errored out. Any idea on why this happens?

    • @LaCarnevali
      @LaCarnevali  Рік тому

      Probably need to upgrade to Colab pro?

    • @sikomode9041
      @sikomode9041 Рік тому

      @@LaCarnevali I tried, but sadly colab pro isn't yet available for the country I live.

  • @ikarosound2504
    @ikarosound2504 Рік тому

    I have some issue.
    I already tried to install 3 TIMES.
    I already deleted the sd folder on g-drive and reinstalled.
    I just pressed play on each cube.
    I first I getted the error:
    No module named 'pyngrok"
    That I tried to solve putting the line:
    !pip install pyngrok
    on the first line of last block
    But still have the error :
    can't open file '/content/gdrive/MyDrive/sd/stable-diffusion-webui/webui.py': [
    The error occurs on the "Start stable diffusion" block
    Please help...

    • @LaCarnevali
      @LaCarnevali  Рік тому

      Google banned the free version of colab for running SD. so that might be the issue ... do you have Colab pro?

    • @ikarosound2504
      @ikarosound2504 Рік тому

      @@LaCarnevali Thanks for the feedback, No, I have not a pro account, , but since the full error is:
      can't open file '/content/gdrive//sd/stable-diffusion-/webui.py': [Errno 2] No such file or directory
      maybe can be something relative to the installation or execution script?

    • @LaCarnevali
      @LaCarnevali  Рік тому

      @@ikarosound2504 cannot run anything without the Pro. Try ComfyUI, which is free

  • @monster-tr7qh
    @monster-tr7qh Рік тому

    What If I want more than one models?

    • @LaCarnevali
      @LaCarnevali  Рік тому

      Hi monster, if you installed different models previously, and they are stored in the Drive, they should appear automatically when initialising stable diffusion.

  • @monster-tr7qh
    @monster-tr7qh Рік тому

    Is there a video for LoRA's?

  • @corujafilmmaker3724
    @corujafilmmaker3724 Рік тому

    it was useful!

  • @Drrugss
    @Drrugss 6 місяців тому

    i can't add the one i downloaded from civitai

    • @LaCarnevali
      @LaCarnevali  6 місяців тому

      Add it manually in your drive

  • @BrainBurstFacts-i1x
    @BrainBurstFacts-i1x Рік тому

    Nice

  • @achidavitadze2181
    @achidavitadze2181 10 місяців тому

    pleasee dont u have guide of how to install sd locally on windows?
    great videos,keep going
    p.s so cute :)))

    • @LaCarnevali
      @LaCarnevali  10 місяців тому

      Very easy on windows, only need to follow this:
      github.com/AUTOMATIC1111/stable-diffusion-webui#automatic-installation-on-windows

  • @acadvideoart
    @acadvideoart Рік тому

  • @khush7233
    @khush7233 Рік тому +1

    webUI is ban on colab, they recently updated their policies. This code won't work anymore. I just tried and figured it out. I guess bad luck for all of ous.

    • @LaCarnevali
      @LaCarnevali  Рік тому

      need to upgrade to Colab Pro

    • @khush7233
      @khush7233 Рік тому

      ​@@LaCarnevali are you sure it is working for Pro?

  • @bondzh
    @bondzh Рік тому

    Its not allowed in colab anymore. Whats the solution?

    • @LaCarnevali
      @LaCarnevali  Рік тому

      I can still run in Colab. Anyway, if you have issues, you can try RunPod or Paperspace. I think the latter has a free option too (but not 100% sure as I have never tried it)

    • @bondzh
      @bondzh Рік тому

      @@LaCarnevali Sorry, the free version cannot run stable diffussion in Colab anymore. Paid version still okay. Any solution?

    • @LaCarnevali
      @LaCarnevali  Рік тому

      @@bondzh I think you can try paperspace, it should have a free version, but not 100% sure as I haven't tried it yet. Otherwise, you can download it locally.

    • @bondzh
      @bondzh Рік тому

      @@LaCarnevali Thanks. I tried to download it locally, but how can I make my Intel Graphics 630 GPU work on Pytorch? Very surprisely, the GPU works on cloud version but cannot work on local version.

  • @vincentdoms2712
    @vincentdoms2712 Рік тому

    is it possible to add Lora ?

  • @AllenVanWert
    @AllenVanWert 7 місяців тому

    weird how using AI to perform tasks involves a system of this many steps and manually typing things into a non GUI interface like I am on my amiga in 1992 installing things manually...

  • @mertolojis
    @mertolojis 27 днів тому

    not working now ı guess

  • @ikarosound2504
    @ikarosound2504 Рік тому

    I AM UNABLE TO INSTALL STABLE DIFFUSION ON COLLAB., ANYONE HAVE SAME ISSUE?

    • @LaCarnevali
      @LaCarnevali  Рік тому +1

      Google banned the free version of colab for running SD. so that might be the issue ... do you have Colab pro?

    • @ikarosound2504
      @ikarosound2504 Рік тому

      @@LaCarnevali thanks so much for the reply, no, I have not the pro version, so I cannot use it for free?(i have potato pc)

    • @LaCarnevali
      @LaCarnevali  Рік тому

      @@ikarosound2504 nope, Colab Pro only. You can try ComfyUI, which is still free

  • @admortem8901
    @admortem8901 Рік тому

    youtube deleting my comments why? you don't have to upload model to Gdrive, you can put direct link(copy link after you inititate download of file from civitAI or huggingface and then canceling it) in the download model section, works for LORA also, but you need to move LORA model to LORA folder since it will be downloaded in the model folder, you can also just rename the downloaded file in Gdrive since it will probbably be named wrong.

    • @admortem8901
      @admortem8901 Рік тому

      i have bad internet so i figured out a way to bypass the uploading/downloading part while following your first guide, i'm on my first try right now :D, this comment is to expand my ego to new heights as i compliment my own intelligence xD.

    • @admortem8901
      @admortem8901 Рік тому

      note that if you download LORA the code in the downloader will say wrong file or link or whatever, but that's nonsense, it still downloads it to Gdrive, so just move it, rename and use it.

    • @LaCarnevali
      @LaCarnevali  Рік тому

      Hi Ad Mortem (interesting nickname by the way lol),
      yeah you can, but if you want to upload them all in one go, you cannot do that, unless you run the model twice, or three times, etc.

    • @LaCarnevali
      @LaCarnevali  Рік тому

      ahah okay! lol

  • @deathgoat4978
    @deathgoat4978 Рік тому

    Quine, for real

  • @frankfukinone1329
    @frankfukinone1329 Рік тому

    are you an AI Laura?

  • @Mrbuckyuniverse
    @Mrbuckyuniverse Рік тому

    A cute girl clarify my doughts thanks u buddy

  • @eternalflame8104
    @eternalflame8104 Рік тому +1

    Hello. I uploaded three models into the google drive folder, did the exact steps and got this specific error. What should I do in this case?
    NameError Traceback (most recent call last)
    in
    12
    13 if Redownload_the_original_model:
    ---> 14 with capture.capture_output() as cap:
    15 rmv()
    16
    NameError: name 'capture' is not defined

    • @LaCarnevali
      @LaCarnevali  Рік тому +1

      Hi! It seems that "capture" was not imported. Are you 100% sure you run the "Install/Update AUTOMATIC1111 repo" section? That includes the below code, which is needed to run capture:
      >>> from IPython.utils import capture

    • @eternalflame8104
      @eternalflame8104 Рік тому +1

      @@LaCarnevali I followed your advice and everything works now. Thank you very much for the support!

  • @akiman712
    @akiman712 2 місяці тому

    love how she subtedly moves past the hentai and porn categories lmfao

  • @lxvi4322
    @lxvi4322 Рік тому

    Hi, i've a dropbox account...is it possible to connect colab with dropbox (instead of drive)?

    • @LaCarnevali
      @LaCarnevali  11 місяців тому

      I think so, but you ll need to update the code