How To Install Stable Diffusion Automatic1111 WebUI latest version 2024 (Setup Guide) Easy Diffusion

Поділитися
Вставка
  • Опубліковано 14 жов 2024
  • Welcome to MunKaw channel! In this video tutorial, we are your guide to the world of artificial intelligence.
    We are excited to start our journey with a tutorial on how to install Stable Diffusion, a text-to image model that allow you to create stunning images !
    👈
    🔔 Subscribe to our UA-cam channel 🔔
    🐍Python Installation : www.python.org/downloads/release/python-3106/
    😻GIT Installation : git-scm.com/do...
    🌐Stable-Diffusion-Webui : github.com/AUT...
    🌐Easy diffusion : easydiffusion....
    ╔═╦╗╔╦╗╔═╦═╦╦╦╦╗╔═╗
    ║╚╣║║║╚╣╚╣╔╣╔╣║╚╣═╣
    ╠╗║╚╝║║╠╗║╚╣║║║║║═╣
    ╚═╩══╩═╩═╩═╩╝╚╩═╩═╝

КОМЕНТАРІ • 77

  • @sunnysheikh1659
    @sunnysheikh1659 9 днів тому +1

    thx a lot, finally , wtih your guidance i make it :)😍

  • @itsd4vid353
    @itsd4vid353 7 місяців тому +2

    nice video, i used stable dif way before but it was too outdated so i needed a clean install and this video actually really helped me thank you !

  • @gjm7818
    @gjm7818 7 місяців тому +1

    thanks for sharing your wisdom to me! i have a question. sorry for my rusty english
    i tried to install stable diffusion following your instructions, everything went well before 8:08 of this video. the screen of stable diffusion didn't pop up in my computer screen. when i try to launch the file, webui- user, i see black window and text me some messages, and press any key message. when i do that, the window just closes. can you help me with this?
    ++ i installed 1.5 version from web ui site. maybe this is because of that. how can i uninstall 1.5 version and install the latest version?
    +++ i see some messages saying: not a git repository from the screen.

    • @MunKaw-ui
      @MunKaw-ui  7 місяців тому

      Hi Can you share the msg plz

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

      @@MunKaw-ui i saw 'fatal: not a git repository' message first. after i searched around othe youtube videos, i could type in 'git init' through git bash. after that, i saw message saying 'nothing added to commit but untracked files present (use "git add" to track)'.
      i use window 11. thanks for your reply.

    • @MunKaw-ui
      @MunKaw-ui  6 місяців тому

      In this case, try uninstalling any other version of Python and git already installed, restart your PC and reinstall with the correct version. Make sure all other version are uninstalled
      If you follow the process correctly, everything should work fine without using an environment variable.
      But if it still doesn't work, try using Easy diffusion : it will do all the work

  • @Mosestylez
    @Mosestylez 22 дні тому

    Would this also work on a Intel HD graphics card? Or is this strictly for Nvidia? :(

  • @MrMsschwing
    @MrMsschwing 3 місяці тому +1

    Can you please do a install video for A1111 on Linux? I recently moved to Linux Mint and somehow after installing everything, the start file doesn't work :( ...I searched for solutions but coudln't get any good advice so far. Please help me out.

  • @arnabcricket
    @arnabcricket 3 місяці тому +2

    Its working but using only CPU, I have a RTX 4060 GPU but it's not being used at all.
    Thank you for the initial success that I had today.

  • @mek0285
    @mek0285 Місяць тому

    Thank you! I have one problem, I can get the webui open, but cant generate any images. Heres the error: FileNotFoundError: No checkpoints found. When searching for checkpoints, looked at:
    - file C:\Users\Kaarel\Downloads\Stable Diffusion\stable-diffusion-webui-1.10.0\model.ckpt
    - directory C:\Users\Kaarel\Downloads\Stable Diffusion\stable-diffusion-webui-1.10.0\models\Stable-diffusionCan't run without a checkpoint. Find and place a .ckpt or .safetensors file into any of those locations.

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

    Great video, very good explanation. I see only one problem " fatal: not a git repository (or any of the parent directories): .git" Any advices for it? Thank you

    • @MunKaw-ui
      @MunKaw-ui  3 місяці тому

      You are in the wrong directory or in the wrong path to the repository
      Initialize your repository with git init if you didn’t.

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

      @@MunKaw-ui Thank you. Will try

  • @rohanh_
    @rohanh_ 7 днів тому

    Is it work with portable stable diffusion, i have Git error with 1111, but on portable i can start

    • @MunKaw-ui
      @MunKaw-ui  6 днів тому

      Yes it work if you Make sure the required dependencies are met

  • @Kuciangjing
    @Kuciangjing 7 днів тому

    When i try to generate, it didn't work it and it always say "Connection errored out", how can i fix this?

    • @MunKaw-ui
      @MunKaw-ui  5 днів тому

      Reload program and let cmd window open.

  • @eddieoswald7625
    @eddieoswald7625 4 місяці тому

    Also getting this error, and I tried your solution you mentioned below; could it be because I have an AMD GPU?
    RuntimeError: Torch is not able to use GPU; add --skip-torch-cuda-test to COMMANDLINE_ARGS variable to disable this check

    • @MunKaw-ui
      @MunKaw-ui  4 місяці тому

      Edit webui-user.bat, where it says:
      COMMANDLINE_ARGS=
      and change it to:
      COMMANDLINE_ARGS= --lowvram --precision full --no-half --skip-torch-cuda-test
      Edit: The above assumes windows, if linux then add the line to webui-user.sh, and use quotes, may also need to delete the /venv folder based on others' comments:
      COMMANDLINE_ARGS="--lowvram --precision full --no-half --skip-torch-cuda-test"

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

    Hi. Thanks for the video. i followed all the instruction. Upon running user.bat file I get the following error message. can you please help?
    ERROR: Could not find a version that satisfies the requirement torch==2.1.2 (from versions: 2.2.0, 2.2.0+cu121, 2.2.1, 2.2.1+cu121, 2.2.2, 2.2.2+cu121)
    ERROR: No matching distribution found for torch==2.1.2

    • @MunKaw-ui
      @MunKaw-ui  5 місяців тому +2

      The instructions specifically state to use 3.10.6
      Newer Python is not compatible with torch.

  • @kdzvocalcovers3516
    @kdzvocalcovers3516 6 місяців тому +1

    when adding command line args first press space bar then type in --autolaunch "press space bar" then --xformers ,so stable diffusion opens the browser automatically..

    • @awesomethings3489
      @awesomethings3489 10 днів тому

      can u elaborate more on this because i am not getting automatic popup

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

    I am very new, so please advice me
    I wish to use Kohya to train LORAs (not using Civitai for this one) but it seems to require plython 3.10.9 or above, not 3.10.6. If I use the former instead of 3.10.6, stable diffusion won't work.
    Is there any other software/programme that allows me to train LORA offline and on local PC or how to reconcile the different plython requirement?
    Thank you.

    • @MunKaw-ui
      @MunKaw-ui  5 місяців тому

      Hi
      Try to install a different Python Version in a new virtual environment.

  • @fidker
    @fidker 4 місяці тому

    Everytime i ran webui-user.bat. I always get an error when installing torch and torchvision. With an error code "ERROR: Could not find a version that satisfies the requirement torch==2.1.2 (from versions: none)
    ERROR: No matching distribution found for torch==2.1.2
    Any way on how to fix this?

    • @MunKaw-ui
      @MunKaw-ui  4 місяці тому

      Try Python 3.10.6 in with a new environment variable

    • @fidker
      @fidker 4 місяці тому +1

      @@MunKaw-ui Thank You for the reply, i found the solution was to install python version 3.10.9, and i can now access SD, thanks again for this video

  • @jrtcloud9
    @jrtcloud9 4 місяці тому

    So I will start by giving credit where it's due... thank you, this tutorial was a big help. I have come from NKMD side of things not knowing code at all, python is like Greek... ??? That said, I got A1111 up and running on my desktop, but I am getting hung up with an error on my laptop, (NVidia)GPU is 12, CPU graphics is 4, but it gives me this error:
    RuntimeError: Torch is not able to use GPU; add --skip-torch-cuda-test to COMMANDLINE_ARGS variable to disable this check
    Press any key to continue . . .
    How... Where do I modify code? Please... Thank you... ::D

    • @MunKaw-ui
      @MunKaw-ui  4 місяці тому +1

      Edit webui-user.bat where it says: set COMMANDLINE_ARGS=
      You can open it with a block Note
      You can fiind webui-user.bat in your : stable diffusion folder\webui
      I hope this helps !

    • @jrtcloud9
      @jrtcloud9 4 місяці тому

      @MunKaw-ui thank you greatly :)
      Can you help with the next hang up? I have it installed, but every time I try and run it it tells me "lowvram". The UI runs fine, but click generate and i get error. I don't think it is using my GPU, Is there a setting or code to force it to my GPU (Nvidia GTX 1650/Max-Q, 12GB). It makes no sense I have lowvram. Lol.
      Oh 'AttributeError: 'NoneType' object has no attribute 'lowvram'
      Your help has been great and thanks again.

    • @MunKaw-ui
      @MunKaw-ui  4 місяці тому

      Hi@@jrtcloud9 try : --xformers --upcast-sampling --precision full --medvram --no-half-vae

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

    But what if i want to use it over and over again? will it reinstall the file on command line every time? If that is the case then its a long process since it will download and install all the files in command line.

    • @MunKaw-ui
      @MunKaw-ui  7 місяців тому

      hi
      No, this is not the case
      if you want to reuse it, just restart it by clicking on webui.bat
      And dont forget to subscribe 🫶😁

  • @tatsuga1
    @tatsuga1 4 місяці тому +1

    thanks bro. you helped me out of the tunnel.

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

    Thank you for this wonderful explanation
    But I have a problem. When all the files are downloaded, even the 3.97 GB file, the installation doesnt progress after that. I even left it for 8 hours, but it didnt progress.

    • @MunKaw-ui
      @MunKaw-ui  5 місяців тому

      github.com/AUTOMATIC1111/stable-diffusion-webui/releases/tag/v1.0.0-pre

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

      @@MunKaw-ui Thank you for this, but it didnt serve the purpose either, because the installation process freezes after downloading the file of this size 3.97 G

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

    It doesn't work, it can't download torch: ERROR: Could not find a version that satisfies the requirement torch==2.1.2 (from versions: 2.2.0, 2.2.0+cu121, 2.2.1, 2.2.1+cu121, 2.2.2, 2.2.2+cu121, 2.3.0, 2.3.0+cu121, 2.3.1, 2.3.1+cu121)
    ERROR: No matching distribution found for torch==2.1.2

    • @MunKaw-ui
      @MunKaw-ui  3 місяці тому +1

      the python version is too recent
      if you go back to install an older version, this kind of problem arises
      You have to reinstall in a clean venv

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

    "Stable diffusion model failed to load" any solution for this? Thank you!

    • @MunKaw-ui
      @MunKaw-ui  5 місяців тому

      windowsreport.com/stable-diffusion-model-failed-to-load-exiting/

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

    i am getting this error:
    fatal: not a git repository (or any of the parent directories): .git
    fatal: not a git repository (or any of the parent directories): .git

    • @MunKaw-ui
      @MunKaw-ui  5 місяців тому

      You are in the wrong working directory.
      You run the command but not to the project folder where the git folder is located, make sure you typed the correct path.

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

      @@MunKaw-ui i am really confused. I had followed exactly you did. Created desktop folder too. and ran the bat file after editing it as you did.
      earlier i had copied the main files on another drive. But now as i have done exact same and on desktop. Still i am getting issue. I am really confused....

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

      i figure out during git installation, the autoselection didn't allowed to run cmd anywhere, so after i reinstalled git with this change, it is installing. hope it works. Thanks

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

    Good morning! I am trying to install Automatic1111 and I can't get it to work at all. I'm getting the error "exit code 1."
    Is there any way you can help me? Maybe a Zoom call or something like that?
    I've tried everything and I can't make it work... Thank you!

    • @MunKaw-ui
      @MunKaw-ui  2 місяці тому

      Yes of course there is a solution that I will share soon !
      But you also need the minimum configuration.

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

    Torch is not able to use GPU....what to do know?

    • @MunKaw-ui
      @MunKaw-ui  6 місяців тому +1

      Delete the "VENV" folder
      re-install
      type CMD to open command window on VENV folder > scripts
      type: pip install fastapi==0.90.1
      type: python.exe -m pip install --upgrade pip

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

      Reinstall the whole stable diffusion?

    • @MunKaw-ui
      @MunKaw-ui  6 місяців тому

      You can copy those folders that have your assets, Loras and checkpoints to another folder in the Hard Drive.
      Then try what you want to do.
      You can always uninstall SD and reinstall .
      I don't know about your extensions but you won't lose your Loras and checkpoints.

  • @gpatil4456
    @gpatil4456 4 місяці тому

    hey can i put sd3 model in it bro?

    • @MunKaw-ui
      @MunKaw-ui  3 місяці тому

      Hi
      You have to install StableSwarmUI or ComfyUI for that

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

    I downloaded microsoft 64-bit but, it didn't open a file, it was just a zip file

    • @MunKaw-ui
      @MunKaw-ui  5 місяців тому

      github.com/AUTOMATIC1111/stable-diffusion-webui/releases/tag/v1.0.0-pre

  • @darkknight7318
    @darkknight7318 4 місяці тому

    not getting the bat file

  • @CreeMann
    @CreeMann 8 днів тому +1

    Hell yeah batman

  • @angeleduardo9244
    @angeleduardo9244 5 місяців тому +1

    Good explanation bro thanku

  • @nathanjohnson4721
    @nathanjohnson4721 4 місяці тому

    i have error code 9009

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

    Automatic 11 can only run with an NVidia GPU This is completely false.

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

    I only have 2gb dedicated gpu and 9.9gb shared gpu

    • @MunKaw-ui
      @MunKaw-ui  5 місяців тому

      Try stable diffusion forge

  • @lyan803
    @lyan803 4 місяці тому +1

    thank you

  • @Victor-ez7fl
    @Victor-ez7fl 4 місяці тому +1

    Post more content

  • @bruno12830
    @bruno12830 4 місяці тому

    jimmy voice from Mrbeast?

    • @MunKaw-ui
      @MunKaw-ui  4 місяці тому

      you're almost there.

  • @iraghonist
    @iraghonist 29 днів тому

    hello, i have some trouble that when i start generating images, it took my CPU to do it instead my GPU (im using RX6600 btw), is there a way to switch them so that my GPU can do the work?
    thank you

    • @MunKaw-ui
      @MunKaw-ui  28 днів тому

      Hi,
      Try this installation :github.com/lshqqytiger/stable-diffusion-webui-amdgpu/

  • @deepanshuchauhan9266
    @deepanshuchauhan9266 4 місяці тому

    File "D:\automatic1111\stable-diffusion-webui-1.0. 0-pre\venv\lib\site-packages\httpx\_transports\default.py", line 275
    in ___ init_
    self. _ pool = httpcore. AsyncConnectionPool(
    TypeError: AsyncConnectionPool. __ init __ () got an unexpected keyword argument 'socket_options'
    Press any key to continue this error is showing up

  • @shrikaaar
    @shrikaaar 4 місяці тому

    model.diffusion_model.input_blocks.0.0.weight