Installing Stable Diffusion Locally

Поделиться
HTML-код
  • Опубликовано: 19 окт 2022
  • HOW TO SUPPORT MY CHANNEL
    -Support me by joining my Patreon: / enigmatic_e
    _________________________________________________________________________
    SOCIAL MEDIA
    -Join my discord: / discord
    -Instagram: / enigmatic_e
    -Tik Tok: / enigmatic_e
    -Twitter: / 8bit_e
    _________________________________________________________________________
    Links
    Python
    www.python.org/downloads/rele...
    Git
    git-scm.com/download/win
    Automatic1111
    github.com/AUTOMATIC1111/stab...
    sd-v1-4.ckpt
    huggingface.co/CompVis/stable...
    GFPGAN v1.4 checkpoints
    github.com/TencentARC/GFPGAN

Комментарии • 91

  • @monosTVsports
    @monosTVsports Год назад

    thanks man! subscribed :) I am looking forward to see how your channel evolves.

  • @GuayoVE
    @GuayoVE Год назад

    brooo i've searched everwhere a tutorial like thisss, thank u so much♥

  • @TaylorCleveland
    @TaylorCleveland Год назад +1

    thanks for all of the info in your videos - keep it up!
    if you don't mind sharing - what is your PC setup?

  • @LoneRanger.801
    @LoneRanger.801 Год назад

    Thanks for this. Really appreciate it.

  • @iamYork_
    @iamYork_ Год назад +1

    There it is... great job...

  • @anandvijay6389
    @anandvijay6389 Год назад +1

    amazing stuff bro.. downloaded the 1.5 version and its game changer

  • @AlieverSkiLL
    @AlieverSkiLL Год назад

    thnk you so much

  • @pitrapics
    @pitrapics Год назад +1

    Hi I've installed locally successfully. When I tried to use simple wordings for txt2img, and waited for few minutes, but the result turned out blank/black only. Any thoughts why this happened?
    I've already choose the model.ckpt checkpoint before generating the image.

  • @6beanerish
    @6beanerish Год назад

    THE MOST STRAIGHTFORWARD tutorial ever. Appreciate you man!!

  • @mac24seven
    @mac24seven Год назад

    Maybe you can help me out.. If I want to add more stable diffusion models for inpainting/outpainting, what do I do? Just download the ckpt and stick it in the model folder?
    I'm kinda lost on this. I've got SD v 1.5 :)

  • @gemini9775
    @gemini9775 Год назад

    thanks a lot 😀

  • @beratozgen
    @beratozgen Год назад

    thanks 🙏🙏

  • @nzrify
    @nzrify Год назад

    Hi, thank you for the job, i install and follow all steps succesfully.

  • @manimartinez1232
    @manimartinez1232 Год назад

    Hi! congratulations for your channel!!! look, stable diffusion V2 has been released... do you think this model can be used with the new version of SD? thanks a lot in general

    • @enigmatic_e
      @enigmatic_e  Год назад

      Hey thanks! Not sure, I haven‘t tried V2 yet. But i dont see how it would be different.

    • @manimartinez1232
      @manimartinez1232 Год назад

      @@enigmatic_e well, I am going to get rid of the interface I had and try the one you suggest in the video. I guess I will try V1 first, since I want to be sure everything works and see if later -once everything works- can try to do the same with V2. I don't have the knowlege to try myself directly 🤕 Maybe I should wait till someone more experienced does it. Let's see. Cheers and keep on testing! thank you very much!

    • @enigmatic_e
      @enigmatic_e  Год назад

      @@manimartinez1232 i will try to make an update video asap.

    • @manimartinez1232
      @manimartinez1232 Год назад

      @@enigmatic_e That's very kind. I heard V" doesn't have UI made yet... but you are more into it. I did install your model and it works great!

  • @zz0094
    @zz0094 Год назад +3

    Hey bro can you help me out ?
    The last installation step is not working for me, its showing an error
    Type Error: 'NonType' object is not subsrciptable

  • @lanshanniu
    @lanshanniu Год назад

    very good

  • @Dz_never_lie
    @Dz_never_lie Год назад +1

    Python was not found; run without arguments to install from the Microsoft Store, or disable this shortcut from Settings > Manage App Execution Aliases. how could i fix that > thanks you

  • @daymianmejia5910
    @daymianmejia5910 Год назад

    do i need to run the BAT everytime or can I go to the link?

  • @hezhahama2306
    @hezhahama2306 Год назад +2

    hello for those who are stuck at sd-v1-4.ckpt. it is very simple just create account. click the link again then ABOVE THE FILE LOCATION U NEED TO ACCEPT TERMS! only then it will let you download

  • @theindiephotographs
    @theindiephotographs Год назад +5

    Need your help !!
    Torch are not installing
    Tried doing it manually but still couldn't

    • @Nokia17Rocks
      @Nokia17Rocks Год назад

      You just have to install Git... you probably didn't install it correctly or you didn't install it at all, by the way... reboot the PC if you still have the same problem after installing Git.

  • @LoneRanger.801
    @LoneRanger.801 Год назад +3

    I have an Intel Mac. Am I correct in assuming that I’m going to need a different machine (one with an NVIDIA GPU)? Also, what’s the cheapest one / earliest model of the GPU that I could get away with (for Stable Diffusion)? Say for instance the wait time for a 720p image should not be greater than 30 seconds. So roughly which ones should I be looking into? Any help would be greatly appreciated. Thanks so much.

    • @enigmatic_e
      @enigmatic_e  Год назад +1

      Hello! At the 01:00 mark I go over system requirements. Unfortunately you can’t use mac from what I understand.

    • @HopsinThaGoat
      @HopsinThaGoat Год назад

      @@enigmatic_e automatic1111 is supposedly Mac compatible but I am a mac user and can’t get it to install 😬

    • @LoneRanger.801
      @LoneRanger.801 Год назад +1

      @@enigmatic_e Sorry I missed that part. Thanks so much for replying. I’m trying the ‘openvino’ version right now. Let’s see if it works. Will let you know if it works.

    • @LoneRanger.801
      @LoneRanger.801 Год назад

      @@HopsinThaGoat The automatic1111 is said to be Apple Silicon compatible (M1 chip).

    • @LoneRanger.801
      @LoneRanger.801 Год назад +2

      @@enigmatic_e Got it to work on my Intel Mac. Speed - 6s/iteration. This is using OpenVino SD version.

  • @alinerdelav
    @alinerdelav Год назад

    Excelente mil grx, no sabia x dnd instalar

  • @monosTVsports
    @monosTVsports Год назад +1

    Hi so, when it comes to download torch and torchvision, my computer stops responding, as in, i cant do anything and it doesn't download it. Any ideas what might b causing this?

  • @chetansurve
    @chetansurve 9 месяцев назад

    "webui-user" bat file does not open when I double click it.

  • @Knightstrikes
    @Knightstrikes 4 месяца назад

    @enigmatic_e
    Can you do a video tutorial of Stable diffusion installation on Windows 11 but with an Intel Arc A770 16 GB GPU?
    I've tried to find clear sound videos but some say with OpenVino Script and instead of making the tutorial step by
    step all the way till working; they just stop and say go here and there and the installation doesn't work or it works
    and it doesn't allow OpenVino Script usage. Or it works and some models like Loras or Checkpoints do not work.
    Thanks for your help. Or if you come across a video where it explains step by step like you did without skipping
    any part for Intel Arc GPU's I will sincerely appreciated it. All the best and God bless you Sir.

  • @simeyonsmith4312
    @simeyonsmith4312 Год назад

    can i download this on my mac book pro?

  • @lordhydra7459
    @lordhydra7459 Год назад

    i got Error verifying pickled file from ..... , AttributeError: 'NoneType' object has no attribute 'keys'

  • @user-pk2yb7mc7k
    @user-pk2yb7mc7k Год назад

    What should I do if the last step keeps showing an error during the installation? Error message: ERROR: Could not find a version that satisfies the requirement numpy (from torchvision) (from versions: none)
    ERROR: No matching distribution found for numpy

    • @enigmatic_e
      @enigmatic_e  Год назад

      Not sure but this is an older video. Maybe if you follow my newer one you can fix the issue ruclips.net/video/qmnXBx3PcuM/видео.html

  • @rolex-js9nk
    @rolex-js9nk Год назад +1

    hi, i installed stable defusion (fairly easily thanks to your video) and it worked fine. but when I closed the command prompt window it stopped working and I could not get it back when I closed the browser. is there something I missed ?

    • @enigmatic_e
      @enigmatic_e  Год назад

      Mmm sure what that could be. Are you still having that issue?

    • @rolex-js9nk
      @rolex-js9nk Год назад

      @@enigmatic_e yes

    • @enigmatic_e
      @enigmatic_e  Год назад

      Do you mean you closed the window where you got your link from? If so, you shouldn‘t close while using browser.

    • @rolex-js9nk
      @rolex-js9nk Год назад +1

      @@enigmatic_e no, i close the cmd prompt window and it stalled. i then closed the browser but could not find where to restart it. like i bookmarked the browser but it wasn't threr. i looked thruough my programs and apps and couldnot find how to restart it. there was some desktop shortcuts but i could't figure out hoe to start it. it could just me being stupid ofc

  • @spaceeye7194
    @spaceeye7194 Год назад

    I cannot get past git installation
    It freezes at "running post-initial script.
    Can anyone help me with that?

  • @sgproductions6336
    @sgproductions6336 Год назад

    i get exit code: 9009 when starting the bat

  • @logendransubramaniam9913
    @logendransubramaniam9913 Год назад

    Hello Sir, I tried almost 7 times, in came out with
    “self.weight = Parameter(torch. empty((out_features, in_features), **factory_kwargs))
    RuntimeError: [enforce fail at .. \c10\core\impl\alloc_cu.cpp:72] data. DefaultCPUAllocator: not enough memory: you trie d to allocate 6553600 bytes
    Stable diffusion model failed to load, exiting
    Press any key to continue

    • @logendransubramaniam9913
      @logendransubramaniam9913 Год назад

      What I need to do? Pls help me

    • @enigmatic_e
      @enigmatic_e  Год назад

      @@logendransubramaniam9913 try to see this newer video helps ruclips.net/video/qmnXBx3PcuM/видео.html

  • @ferandpeek
    @ferandpeek Год назад

    Help! How do I turn mine to dark mode?
    Probably a total noob question. I downloaded and installed this a couple of weeks ago after following similar instructions on another video and both his one AND your one defaulted automatically to dark mode however mine doesn't and I have no idea where to change it and googling hasn't helped. Anyone able to school me? Is it a python thing you have to switch???
    -thanks!

    • @enigmatic_e
      @enigmatic_e  Год назад

      Hey, I was able to change the colors in my browser settings under appearance. I‘m not sure how you would do it on other browsers but I would guess it‘s something similar.

    • @ferandpeek
      @ferandpeek Год назад

      @@enigmatic_e Found it! It's a Windows dark setting not a Chrome one. Thanks!

  • @NathanHoang
    @NathanHoang Год назад +1

    Hey enigmatic,
    followed everything to the T ...when double-clicking on the BAT file, it shows:
    Couldn't launch python
    exit code: 9009
    stderr:
    Python was not found; run without arguments to install from the Microsoft Store, or disable this shortcut from Settings > Manage App Execution Aliases.
    much appreciate the help.

    • @NathanHoang
      @NathanHoang Год назад +1

      UPDATE: found out that i needed to edit the bat file and put in the location of python.
      Thanks for making this guide bro 🙏

    • @enigmatic_e
      @enigmatic_e  Год назад +1

      So you were about to get it going?

    • @NathanHoang
      @NathanHoang Год назад

      @@enigmatic_e yes got it! thanks for the follow up. 🙌

    • @itshuskai
      @itshuskai Год назад +1

      @@NathanHoang can you explain how you fixed this cause i have this issue :(

    • @NathanHoang
      @NathanHoang Год назад

      @@itshuskai oh man.. completely missed your comment, i hope you found the solution. But if you didnt...
      It was in the webui-user.bat file that i have to edit and put in the location of the python.exe

  • @alphacat4927
    @alphacat4927 Год назад

    Easy Peasy thanks

  • @shangamer7060
    @shangamer7060 11 месяцев назад

    bro the ckpt site is not working, can u please upload the ckpt file to a google drive

    • @enigmatic_e
      @enigmatic_e  11 месяцев назад +1

      probably cause its an old tut. heres a newer one studio.ruclips.net/user/videoqmnXBx3PcuM/edit

    • @shangamer7060
      @shangamer7060 11 месяцев назад

      @@enigmatic_e huggingface site is down

  • @thomas8630
    @thomas8630 Год назад

    will this work with version 2.1?

    • @enigmatic_e
      @enigmatic_e  Год назад

      I may need to upload an updated video. Might do that today.

  • @user-bo6yh3dc6c
    @user-bo6yh3dc6c Год назад

    What type of graphic card model is required for use?

  • @thivtsab9968
    @thivtsab9968 Год назад +1

    Brother!! I clicked on it (the SD-v1-4.ckpt), but it asked me for username and password. What should I do??? Please add helps for that..

    • @enigmatic_e
      @enigmatic_e  Год назад +1

      You have to create an account.

    • @enigmatic_e
      @enigmatic_e  Год назад +1

      Its free

    • @thivtsab9968
      @thivtsab9968 Год назад +2

      @@enigmatic_e I tried to sign up for joining Huggingface, but when I put my email address, added password, and clicked next,,, it just turned back for me to refill again (what was wrong with that??) 😓😓 My first time to sign up with something happening like this. I tried to apply two of my emails, however; didn’t work at all. Any kind of emails they need I don’t know, please help..

    • @hezhahama2306
      @hezhahama2306 Год назад +3

      @@thivtsab9968 same over here

    • @thomaswiwchar1661
      @thomaswiwchar1661 Год назад +1

      @@hezhahama2306 yeah same

  • @K-A_Z_A-K_S_URALA
    @K-A_Z_A-K_S_URALA Год назад +1

    top respect спасибо из России бро

  • @Radeo
    @Radeo Год назад

    Didn't work for me.
    Even though GFPGN was not in the directory, running webui-user.bat still leads to a "Installing gfpgan" prompt which fails.
    Why is it trying to install something that it does not know exists?
    Even if I put it in the directory it still will not process and just leads to a long message.

  • @shin_real
    @shin_real Год назад

    Hey, i just got this error message right after it show me the local url. It says : " Interrupted with signal 2 in

  • @CHILDISHYTofficial
    @CHILDISHYTofficial Год назад

    I Have A Problem When Running Webuiuser.bat - "OSError: Can't load tokenizer for 'openai/clip-vit-large-patch14'. If you were trying to load it from 'huggingface.co/models', make sure you don't have a local directory with the same name. Otherwise, make sure 'openai/clip-vit-large-patch14' is the correct path to a directory containing all relevant files for a CLIPTokenizer tokenizer"
    I am unable to find any solution for this
    please let me know If Anyone Finds Solution for this Problem

  • @AntoinetteRobertson-vt5pv
    @AntoinetteRobertson-vt5pv Год назад

    Traceback (most recent call last):
    File "D:\SD UI\stable-diffusion-webui-master\launch.py", line 294, in
    prepare_environment()
    File "D:\SD UI\stable-diffusion-webui-master\launch.py", line 212, in prepare_environment
    run_pip(f"install {gfpgan_package}", "gfpgan")
    File "D:\SD UI\stable-diffusion-webui-master\launch.py", line 78, in run_pip
    return run(f'"{python}" -m pip {args} --prefer-binary{index_url_line}', desc=f"Installing {desc}", errdesc=f"Couldn't install {desc}")
    File "D:\SD UI\stable-diffusion-webui-master\launch.py", line 49, in run
    raise RuntimeError(message)
    RuntimeError: Couldn't install gfpgan.
    Command: "D:\SD UI\stable-diffusion-webui-master\venv\Scripts\python.exe" -m pip install git+github.com/TencentARC/GFPGAN.git@8d2447a2d918f8eba5a4a01463fd48e45126a379 --prefer-binary
    Error code: 1
    stdout: Collecting git+github.com/TencentARC/GFPGAN.git@8d2447a2d918f8eba5a4a01463fd48e45126a379
    Cloning github.com/TencentARC/GFPGAN.git (to revision 8d2447a2d918f8eba5a4a01463fd48e45126a379) to c:\users\kin777\appdata\local\temp\pip-req-build-xjt_92m2
    stderr: ERROR: Error [WinError 2] ϵͳҲָ⁠ļ while executing command git version
    ERROR: Cannot find command 'git' - do you have 'git' installed and in your PATH?
    [notice] A new release of pip available: 22.2.1 -> 22.3.1
    [notice] To update, run: D:\SD UI\stable-diffusion-webui-master\venv\Scripts\python.exe -m pip install --upgrade pip
    How to solve it Thank you

    • @Radeo
      @Radeo Год назад

      There are problems with gfpgan.
      1, There are actually multiple versions of 1.4, and you need the exact right one. How to find it? Who knows.
      2. If you failed for whatever reason to install it once, and then tried re-installing it with a different version it will still fail until you uninstall everything (manually delete all leftover folders including the python ones in user/appdata) and try again. Even then it still may fail.

  • @gachamotion5239
    @gachamotion5239 Год назад +1

    sd-v1-4.ckpt wants login and password

    • @enigmatic_e
      @enigmatic_e  Год назад +1

      Yea just create an account. Should be free

    • @monosTVsports
      @monosTVsports Год назад

      Nevermind, I had to accept the terms and conditions or something first.

  • @themightyflog
    @themightyflog Год назад +1

    I just get errors Installing torch and torchvision
    Traceback (most recent call last):
    File "D:\StableDiffusion\stable-diffusion-webui-master\launch.py", line 255, in
    prepare_enviroment()
    File "D:\StableDiffusion\stable-diffusion-webui-master\launch.py", line 173, in prepare_enviroment
    run(f'"{python}" -m {torch_command}', "Installing torch and torchvision", "Couldn't install torch")
    File "D:\StableDiffusion\stable-diffusion-webui-master\launch.py", line 34, in run
    raise RuntimeError(message)
    RuntimeError: Couldn't install torch.
    Command: "D:\StableDiffusion\stable-diffusion-webui-master\venv\Scripts\python.exe" -m pip install torch==1.12.1+cu113 torchvision==0.13.1+cu113 --extra-index-url download.pytorch.org/whl/cu113
    Error code: 1
    stdout: Looking in indexes: pypi.org/simple, download.pytorch.org/whl/cu113
    stderr: ERROR: Could not find a version that satisfies the requirement torch==1.12.1+cu113 (from versions: none)
    ERROR: No matching distribution found for torch==1.12.1+cu113
    [notice] A new release of pip available: 22.3 -> 22.3.1
    [notice] To update, run: D:\StableDiffusion\stable-diffusion-webui-master\venv\Scripts\python.exe -m pip install --upgrade pip

    • @Nokia17Rocks
      @Nokia17Rocks Год назад

      You just have to install Git... you probably didn't install it correctly or you didn't install it at all, by the way... reboot the PC if you still have the same problem after installing Git.