Getting Started with Stable Diffusion in 2024 for Absolute Beginners

Фильм және анимация

Generate beautiful AI images for FREE using Stable Diffusion in 2024!
Join to get access to perks / @surfacedstudio
⏱️ TIMESTAMPS
00:00 Introduction
00:16 What is Stable Diffusion?
01:48 Installing Python
02:38 Downloading the SDXL Model
06:09 Downloading Stable Diffusion UI
07:04 Launching Stable Diffusion UI
08:38 Generating Images
09:25 Using Different SD Models
⭐ Watch the full Stable Diffusion tutorial series ⭐
• Stable Diffusion 2024 ...
Stable Diffusion is a powerful tool to generate AI images. Plus, it's completely FREE!
In this tutorial I will show you how to install what you need, start Stable Diffusion and generate your first images!
1. Install Python (needed to run Stable Diffusion)
www.python.org/downloads/
2. Download Stable Diffusion XL Model
huggingface.co/stabilityai/st...
3. Download & unzip Stable Diffusion Web UI
github.com/AUTOMATIC1111/stab...
4. Copy the stable-diffusion-xl-base-1.0.safetensors file into
stable-diffusion-webui\models\Stable-diffusion
5. Launch stable-diffusion-webui/webui-user.bat or webui-user.sh
#SurfacedStudio #stablediffusion #ai
-----------------------------------------------
WHERE TO FOLLOW ME
-----------------------------------------------
WEBSITE 🌏 www.surfacedstudio.com
KZread 📺 / surfacedstudio
FACEBOOK 📘 / surfacedstudio
TWITTER 🐤 / surfacedstudio
INSTAGRAM 📷 / surfacedstudio
TIKTOK 🕰️ / surfacedstudiotv
-----------------------------------------------
HOW TO SUPPORT ME
-----------------------------------------------
GET 30% OFF my training courses w/ Code SURFACED_YT ⭐ bit.ly/3rXRaWf
PATREON 📣 / surfacedstudio
MERCH 👕 www.redbubble.com/people/surf...
MY GEAR 🎥 www.amazon.com/shop/surfaceds...
ADOBE CREATIVE CLOUD 🌤️ bit.ly/2sjvyaA
HITFILM 💥 bit.ly/2steXRz
Copyright © 2024 Surfaced Studio

Пікірлер: 118

  • @neilie6593
    @neilie659310 күн бұрын

    Great overview of installing and running stable diffusion locally, but judging by the issues in the comments I think it needs to cover what to do if a newer version of Python is already installed. I am an absolute beginner :) but the way I got around the PyTorch version issue was to install Python 3.10.6 to a different directory to my current python installation, selecting the Add to Path checkbox during installation. Then, before running webui-user.bat, I had to edit my user environment variables by selecting the Python 3.10.6 path and clicking the Move Up button so that it appeared before my Python 3.12 path in the list. Then stable diffusion could be installed OK, although I had to update my NVidia drivers before it would generate images. I hope this helps somebody!

  • @cineacademy
    @cineacademy3 ай бұрын

    Hey, My buddy you are my first teacher, you taught me how to get a witch out of TV😅. Thank you for everything. you did and have been doing.

  • @fokeyjo
    @fokeyjo3 ай бұрын

    I think knowing how to use these tools to get great output is the real magic. But I'm trying to make up for my lack of artist's skills, rather than using it for an ideas system. Very interested in any follow ups you do

  • @johntnguyen1976
    @johntnguyen19763 ай бұрын

    Smart pick using Stable Diffusion and not the commercial/paid tools! 👏🏽👏🏽 Pay no attention to the unsubbers. I'm in the vfx field and aeeing content from a vfx artist trying to integrate ai into their workflow is good to see... because its exactly what the big studios are already doing. So the same short-sighted naysayers here are the same types who were yelling back in the day to shun the Photoshop artists...digital cameras and digital cinematographera...and any artist really who used the computer. Heard these types of complaints thru the years so many times...and they fade away quick because they get left behind. "Adapt or die" in our field has always been true, and still is. Ai isn't going to take your artist job....an artist that knows how to properly use Ai is going to take your artist job. It's an uncomfortable fact, but it's happening.

  • @AironyAi

    @AironyAi

    3 ай бұрын

    Sorry but you are wrong. You can’t compare cameras, photoshop with ai. Does cameras used every painting to make photos? Was photoshop built on others people artwork? „Adapt or die“ yes artists are adapting thats why ai techfirms getting sued. And btw your „artist using ai“ will be gone very fast too. If ceos can easy use ai they don’t need an „ai artist“

  • @gingerdog8203

    @gingerdog8203

    3 ай бұрын

    The thing is though, photoshop and cameras still need talent and need to be used in combination with other skills like lighting, composition, framing, technique, colors, etc. All ai needs is a sentence, its a way different level of effort and very much not the same thing

  • @ericcastile6724
    @ericcastile67242 ай бұрын

    Nice video thank you. But when I run web user sh it opens Xcode, I have mac. Also I tried changing to terminal but nothing happens.

  • @Spiritualoasis2121
    @Spiritualoasis212123 күн бұрын

    I have tried several times and keep getting this message: 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) ERROR: No matching distribution found for torch==2.1.2

  • @3sguitar

    @3sguitar

    20 күн бұрын

    I get this same error message even if I try it on the 3.12.1 or 3.12.3 version of Python.

  • @audreyandremington5265

    @audreyandremington5265

    16 күн бұрын

    @@3sguitar It's telling me "This program is tested with 3.10.6 Python, but you have 3.12.3." I'm going to try uninstalling python and re-downloading the 3.10.6 version

  • @MrBrockHeinz

    @MrBrockHeinz

    6 күн бұрын

    Gotta remove the new version of Python, and pick a 3.10 version. Also remember to delete the venv folder in your stable diffusion ui folder, or else it will continue looking for your Python in a 3.12 folder (or whatever version you previously downloaded). When you double click the bat file to start again, it'll create a new venv folder with the new 3.10 location.

  • @riotechmod
    @riotechmod3 ай бұрын

    I'm using this from long time, this is very powerful.

  • @aL3891_
    @aL3891_3 ай бұрын

    Nice, hope youll cover more advanced topics like training and using custom models

  • @SceneSurgeSnippets
    @SceneSurgeSnippets3 ай бұрын

    Never clicked faster on one of your videos

  • @SurfacedStudio

    @SurfacedStudio

    3 ай бұрын

    LOL! You definitely were FAST! 😀

  • @sevenstars7310

    @sevenstars7310

    3 ай бұрын

    ​@SurfacedStudio  dad you keep comming 😊 i hope you're always fine

  • @AbsolutelyJason

    @AbsolutelyJason

    Ай бұрын

    😊

  • @vladartiomav2473
    @vladartiomav247310 күн бұрын

    Thanx for this tutorial. On Linux it installs like a charm, there is a script that makes it easy, even with a higher version of python it works perfect 👌

  • @KaziFaizAhmedDollar
    @KaziFaizAhmedDollar3 ай бұрын

    Please make a complete tutorial video on ComfyUI without dedicated GPU

  • @AbsolutelyJason
    @AbsolutelyJasonАй бұрын

    Thank you!

  • @SurfacedStudio

    @SurfacedStudio

    Ай бұрын

    You're welcome!

  • @SennyMarshall
    @SennyMarshallАй бұрын

    Thank you!!!

  • @SurfacedStudio

    @SurfacedStudio

    Ай бұрын

    Welcome!

  • @smukkesteafalle
    @smukkesteafalle3 ай бұрын

    Hi There! Thanks for the great and easy to follow video. I have a problem though and I hope you can help, when I run the webui-user (mine does not say .bat) it does say windows batch file after the date and time So when run it I am getting "could not find a version that satisfies the requirements for torch==2.0.1 ( from versions: 2.2.0, 2.2.0+cu118, 2.2.1, 2.2.1+cu118) ERROR: No matching distribution found for torch==2.0.1 Then some white text and ERROR code 1 press any key to continue, I press, it closes down... what have done wrong is my computer missing something to be able to run it? I'm not that technical, I only learn what I have to to do the things I want to do and I would love to try stable diffusion.

  • @dandancastano1298

    @dandancastano1298

    2 ай бұрын

    same

  • @pedroc3948

    @pedroc3948

    2 ай бұрын

    same.

  • @bugyoosaeung1624

    @bugyoosaeung1624

    Ай бұрын

    Same issues.

  • @Altrious

    @Altrious

    Ай бұрын

    Good thing he told people to leave comments so he could answer questions and then ignore them

  • @thatkidneyguy6737

    @thatkidneyguy6737

    Ай бұрын

    Install an older version of Python and you'll be alright

  • @stigridsdale
    @stigridsdaleАй бұрын

    Great video thank you but I'm having trouble downloading stable diffusion there is no webUI.bat file. There is one called webui-user and it's a windows batch file. When I try to open it windows 11 says defender smart screen prevented an unrecognised app from starting. Running this app might put your PC at risk. The only box I can take on is don't run or the close the window x button. I've installed python. any ideas .thanks

  • @audreyandremington5265

    @audreyandremington5265

    16 күн бұрын

    Hi! I got a very similar screen. It wouldn't show the "run anyway" button unless I clicked on the little v arrow to get more information. Once i clicked and it revealed a few lines of information about the name of the program, the button appeared. I guess Windows is trying to make you think harder before you run stuff?

  • @diaochaney9556
    @diaochaney95563 ай бұрын

    hey, thanks for this amazing tutorial. I've been trying to follow the steps, but when I press run for webui-user.bat I met two errors: [1]installing torch and torch vision - where torch couldn't be fetched. [2] an error checking the latest version of pip. wondering if you have any experience on those two issues? thank you

  • @SurfacedStudio

    @SurfacedStudio

    3 ай бұрын

    Hm can’t say I have unfortunately. The failing to fetch sounds like a networking issue and the pip versioning seems like some local tools not working. What OS are you on?

  • @peculiarhumanbiped

    @peculiarhumanbiped

    3 ай бұрын

    I had the same issue. I just had to delete python 3.12 and install version 3.11.5 instead. Then I also had to install Git. But after that the script ran through. It works for me now. I was just able to generate my first smiling cat 😸

  • @SurfacedStudio

    @SurfacedStudio

    3 ай бұрын

    Hehe, glad to hear you got it working!

  • @fokeyjo

    @fokeyjo

    3 ай бұрын

    If you need to have multiple versions of python running, you need to run the pip command like: `python -m pip --python \python.exe install pytorch`. Then in webui-user.bat, set the python variable to point to your python.exe

  • @surirathod8511

    @surirathod8511

    Ай бұрын

    @@peculiarhumanbiped Thanks, it worked for me.

  • @KaziFaizAhmedDollar
    @KaziFaizAhmedDollar3 ай бұрын

    Does it need an external GPU to run Stable Diffusion? Can it be used without external GPUs?

  • @SurfacedStudio

    @SurfacedStudio

    3 ай бұрын

    I’ve never had an external GPU. You need a decent graphics card but you won’t need anything beyond what you can get in basic laptops and desktops

  • @KaziFaizAhmedDollar

    @KaziFaizAhmedDollar

    3 ай бұрын

    @@SurfacedStudio As I have only Integrated Intel GPU on my PC. Is it possible to run Stable Diffusion with HotshotXL on the existing system?

  • @krutoyinfo
    @krutoyinfo3 ай бұрын

    Nice

  • @SurfacedStudio

    @SurfacedStudio

    3 ай бұрын

    Thanks

  • @skiroviepcvr7792
    @skiroviepcvr7792Ай бұрын

    This work for Intel processor PC or just for AMD processor PC because can't find Torch file for Intel just AMD and Linux.

  • @SurfacedStudio

    @SurfacedStudio

    Ай бұрын

    Works fine for intel / AMD processors. But you need to make sure your graphics card can handle it

  • @skiroviepcvr7792

    @skiroviepcvr7792

    Ай бұрын

    @@SurfacedStudio I'm using: NVIDIA GeForce RTX3060 Laptop GPU

  • @maheshbl4853
    @maheshbl48533 ай бұрын

    Wow. Thanks. I'm also interested in the video game you are working on.

  • @SurfacedStudio

    @SurfacedStudio

    3 ай бұрын

    Thanks! More to come :)

  • @pixelkat1819
    @pixelkat18193 ай бұрын

    confusing. Web UI gives error that it was designed using python 3.10. So I deleted python 3.12.1 and installed 3.10 But now when running Web UI it says it cant find folder of python 3.12.1...which makes sense as I deleted it and installed 3.10 (which is in the proper Programs folder) but apparently this web UI is not compatible with python 3.10? argh. any ideas? thanks

  • @chrtsng3722

    @chrtsng3722

    3 ай бұрын

    same here couldnt launch python

  • @pixelkat1819

    @pixelkat1819

    3 ай бұрын

    @@chrtsng3722 there are quite a few other videos with slightly different instructions on installing all this so I will try those. If I'm successful I'll let you know.

  • @SurfacedStudio

    @SurfacedStudio

    3 ай бұрын

    Do try installing python 3.10 directly to see if that works. Might have to uninstall 3.12 fully to be sure it’s only using the older version

  • @pixelkat1819

    @pixelkat1819

    3 ай бұрын

    @@SurfacedStudio i did that. Completely removed 3.12.1 and installed 3.10. I double checked that a 3.10 folder had been created in the Programs folder… but command prompt web ui says cant install as python 3.12.1. not found. Thats why I wondered if earlier version of web ui is needed instead but the list of past versions doesnt make it easy to see which is the correct to use. thanks. To confusing for me.

  • @mothjo

    @mothjo

    3 ай бұрын

    I think I found a fix. I had the same thing happen to me. I whet to C:\Users\(YOUR NAME)\AppData\Local\Programs\Python. then i changed the folder name from Python310 to Python312. I think it is looking for the new vision of Python even though it is incompatible so you have to trick it. If u cant tell i don't know much about Python lol. @@pixelkat1819​

  • @ericcastile6724
    @ericcastile67242 ай бұрын

    Does this run on Mac?

  • @SurfacedStudio

    @SurfacedStudio

    2 ай бұрын

    If your Mac runs python then yes :)

  • @skiroviepcvr7792
    @skiroviepcvr7792Ай бұрын

    I follow the steps but looks like it's not working well with the last version of Python 3.12.3 because can't install it: 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. Launch unsuccessful. Exiting. Press any key to continue . . .

  • @Mirikashh

    @Mirikashh

    Ай бұрын

    I had this issue. Uninstalled that version of python and then installed python 3.10.6 and it worked.

  • @PuneetChhikara

    @PuneetChhikara

    16 күн бұрын

    @@Mirikashh This worked for me as well. You may need to delete 'venv' folder as well.

  • @EX0NIS
    @EX0NISАй бұрын

    I keep getting the error: "File "C:\Users yan1\OneDrive\Documents\stableDiffusion\stable-diffusion-webui-master\stable-diffusion-webui-master\launch.py", line 48, in main() File "C:\Users yan1\OneDrive\Documents\stableDiffusion\stable-diffusion-webui-master\stable-diffusion-webui-master\launch.py", line 39, in main prepare_environment() File "C:\Users yan1\OneDrive\Documents\stableDiffusion\stable-diffusion-webui-master\stable-diffusion-webui-master\modules\launch_utils.py", line 386, in prepare_environment raise RuntimeError( 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 . . ." whenever i run the webui-user batch file, any ideas why?

  • @SurfacedStudio

    @SurfacedStudio

    Ай бұрын

    ‘Torch is not able to use GPU’. What graphics card do you have?

  • @Mirikashh

    @Mirikashh

    Ай бұрын

    @@SurfacedStudio I got this issue as well - it seems to occur with AMD GPUs

  • @krzysztofglegoa1799
    @krzysztofglegoa17996 күн бұрын

    When I try to open webui-user.bat file I get the message saying "No module named pip" and "Launch unsuccessful. Exiting." Does anybody face the same issue? It happens when I use Python 3.11.5 as well as 3.12.3

  • @Danishviqar
    @Danishviqar2 ай бұрын

    The way you explained is perfect for a layman like me. Before coming to your video, I saw many, but none could make a layman understand sd so easily as you did. U deserve a line and su subscribe. Looking forward for more AI stuffs in simple language.

  • @SurfacedStudio

    @SurfacedStudio

    Ай бұрын

    Thank you for the kind words! Very happy to hear you enjoy my way of teaching :)

  • @Corpus_Callosum
    @Corpus_Callosum14 күн бұрын

    Does anyone sell new PC's with Stable Diffusion installed...?

  • @SurfacedStudio

    @SurfacedStudio

    13 күн бұрын

    I don’t think that’s a thing. But I might be wrong, there seems to be a market for anything these days. It’s pretty easy to install yourself so not sure if people would pay for that

  • @Corpus_Callosum

    @Corpus_Callosum

    13 күн бұрын

    @@SurfacedStudio Thanks. May be easy for some but I see comments of many people having difficulties with installing.

  • @skiroviepcvr7792
    @skiroviepcvr7792Ай бұрын

    This do not work with intel processor just AMD processor.

  • @skiroviepcvr7792

    @skiroviepcvr7792

    Ай бұрын

    venv "C:\Users\Kedem Dray\Desktop\New Stable Diffusion\stable-diffusion-webui-master\venv\Scripts\Python.exe" Python 3.10.6 (tags/v3.10.6:9c7b4bd, Aug 1 2022, 21:53:49) [MSC v.1932 64 bit (AMD64)] Version: 1.9.3 Commit hash: Traceback (most recent call last): File "C:\Users\Kedem Dray\Desktop\New Stable Diffusion\stable-diffusion-webui-master\launch.py", line 48, in main() File "C:\Users\Kedem Dray\Desktop\New Stable Diffusion\stable-diffusion-webui-master\launch.py", line 39, in main prepare_environment() File "C:\Users\Kedem Dray\Desktop\New Stable Diffusion\stable-diffusion-webui-master\modules\launch_utils.py", line 386, in prepare_environment raise RuntimeError( 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 . . .

  • @SurfacedStudio

    @SurfacedStudio

    Ай бұрын

    I'm running this on an Intel processor. Never used an AMD one so I'm not sure what your problem is?

  • @SurfacedStudio

    @SurfacedStudio

    Ай бұрын

    Sounds more like your graphics card isn't strong enough? What GPU do you have?

  • @skiroviepcvr7792

    @skiroviepcvr7792

    Ай бұрын

    @@SurfacedStudio I'm using: NVIDIA GeForce RTX3060 Laptop GPU

  • @lanoi3d
    @lanoi3dАй бұрын

    My generations all come out looking terrible. Just tons of weird stuff. Additional hands, legs, extra heads, weird psychedelic glitchiness all around, I can't get it working right at all to produce anything halfway useful.

  • @OptimusPrime-gy7js
    @OptimusPrime-gy7js2 ай бұрын

    So basically anyone with a Mac laptop won't be able to use it.

  • @SurfacedStudio

    @SurfacedStudio

    2 ай бұрын

    Why not? Mac can run python

  • @OptimusPrime-gy7js

    @OptimusPrime-gy7js

    2 ай бұрын

    @@SurfacedStudio Cool, just thought it would require a decent graphics card. Mine is a lowly hardwired Intel UHD Graphics 630 1536 MB.

  • @SurfacedStudio

    @SurfacedStudio

    Ай бұрын

    You do need a decent graphics card as it runs on your GPU. That’s separate from whether you have a Mac or a windows or a Linux machine though :)

  • @OptimusPrime-gy7js

    @OptimusPrime-gy7js

    Ай бұрын

    @@SurfacedStudio Thanks, I did a little research into connecting an external GPU rig into my Mac Mini but feel it will just be bottlenecking the GPU. So I'm going to upgrade my PC build instead, I've been spoiled by the glamorous life of low spec Macs. 😂

  • @AceGod7
    @AceGod725 күн бұрын

    lol image if god did a copyright claim on humans.

  • @snuffchan
    @snuffchan10 күн бұрын

    Can anyone recommend a much dumber tutorial?

  • @rfaz4153
    @rfaz41538 минут бұрын

    very disappointed

  • @PrinceWesterburg
    @PrinceWesterburgАй бұрын

    Too much chit-chat - 4mins in and 'Install java' is all I've got!

  • @SurfacedStudio

    @SurfacedStudio

    Ай бұрын

    Not sure what you’re watching but none of this video includes installing Java

  • @bang3rachi
    @bang3rachi3 ай бұрын

    Ugh AI? instant unfollow. get some morals.

  • @gingerdog8203

    @gingerdog8203

    3 ай бұрын

    Right

  • @salabur

    @salabur

    3 ай бұрын

    why did you submit your message online? get some morals. Mailmen also have to feed their families. Hypocrite

  • @pedroc3948

    @pedroc3948

    2 ай бұрын

    Why is this unethical? Do you mean this program? or AI in general?

  • @tyrzxv

    @tyrzxv

    Ай бұрын

    You do realize, it's not really ai like in the movies, right ? It's another computer program, like all the other programs that your using, where programmers sat down and hard coded like 20% to 50%, and the rest of the code was completed by libraries of code the program has in its database, developed from humans in the past. Programmers have been doing this for decades, although it's not quite as easy for the coder as these programs are making it for general user... still, it's JUST a program that interprets a user's simplified code words and then references actions it should take based on those words. These "ai" programs aren't exactly intelligent and are more like really decent at decoding adjectives and nouns, and then referencing a database of what to do with those words. So, really, your "moral" opposition to this, is really towards computers in total, and you should go back to the 1940's before there were computers.

  • @bang3rachi

    @bang3rachi

    Ай бұрын

    @tyrzxv lol lmao imagine being such a dork and defending this shit, yes I know it's not actual Ai like "the movies" I know it was programmed by unethical losers who don't have an imagination and train their loser program on other people's work to generate this shit. Go touch grass.

  • @gingerdog8203
    @gingerdog82033 ай бұрын

    Unsubbing.

  • @pedroc3948

    @pedroc3948

    2 ай бұрын

    Hello brother. I'm new to AI. I'm curious about why some people are claiming this to be unethical. Is it Stable Diffusion or AI in general? I'm new to this, can you give some insight? I want to know if I'm missing something before getting involved.

  • @1maximilien
    @1maximilien3 ай бұрын

    Unfollow

  • @alexjulius69
    @alexjulius692 ай бұрын

    Omg I'm so excited, a right-wing AI that's not censored and controlled by the disgusting left wing monsters, and it's totally decentralized, I love this, I'm gonna make so much money creating funny AI images haha. These guys that are developing these open-source tools are the real heroes.

  • @AironyAi
    @AironyAi3 ай бұрын

    Its sad to seeing you promoting this unethical ai bullshit. Time to unsubscribe 😢

  • @Bugthehollywoodpug

    @Bugthehollywoodpug

    2 ай бұрын

    hahhahhhah youre a moron

  • @pedroc3948

    @pedroc3948

    2 ай бұрын

    Hey man, why is this unethical? I'm honestly curious, I'm just starting to search this. It's the first time I'm seeing someone say it's unethical. Can you recommend a video or channel about this?

  • @tyrzxv

    @tyrzxv

    Ай бұрын

    It's just another program, like all other programs on your computer, that decodes words you give it, into actions. There is no real intelligence in these programs, and people are so attached to the "ai" buzzword without realizing that it's still just a program with a large database. In a way, it's a bit hypocritical to say it's unethical, if your using a computer at all, since computers were unethical ways of creating art back in the day. Plus every program you use, was written by a coder in a more archaic form of this same technique that people are now calling "ai".

  • @skiroviepcvr7792
    @skiroviepcvr7792Ай бұрын

    I try to installed again but looks like it's not working anymore with the recently version of Python: Creating venv in directory C:\Users\Kedem Dray\Desktop\New Stable Diffusion\stable-diffusion-webui-master\venv using python "C:\Users\Kedem Dray\AppData\Local\Programs\Python\Python312\python.exe" venv "C:\Users\Kedem Dray\Desktop\New Stable Diffusion\stable-diffusion-webui-master\venv\Scripts\Python.exe" ============================================================================================================================= INCOMPATIBLE PYTHON VERSION This program is tested with 3.10.6 Python, but you have 3.12.3. If you encounter an error with "RuntimeError: Couldn't install torch." message, or any other error regarding unsuccessful package (library) installation, please downgrade (or upgrade) to the latest version of 3.10 Python and delete current Python and "venv" folder in WebUI's directory. You can download 3.10 Python from here: www.python.org/downloads/release/python-3106/ Alternatively, use a binary release of WebUI: github.com/AUTOMATIC1111/stable-diffusion-webui/releases/tag/v1.0.0-pre Use --skip-python-version-check to suppress this warning. ============================================================================================================================= Python 3.12.3 (tags/v3.12.3:f6650f9, Apr 9 2024, 14:05:25) [MSC v.1938 64 bit (AMD64)] Version: 1.9.3 Commit hash: Installing torch and torchvision Looking in indexes: pypi.org/simple, download.pytorch.org/whl/cu121 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) ERROR: No matching distribution found for torch==2.1.2 Traceback (most recent call last): File "C:\Users\Kedem Dray\Desktop\New Stable Diffusion\stable-diffusion-webui-master\launch.py", line 48, in main() File "C:\Users\Kedem Dray\Desktop\New Stable Diffusion\stable-diffusion-webui-master\launch.py", line 39, in main prepare_environment() File "C:\Users\Kedem Dray\Desktop\New Stable Diffusion\stable-diffusion-webui-master\modules\launch_utils.py", line 380, in prepare_environment run(f'"{python}" -m {torch_command}', "Installing torch and torchvision", "Couldn't install torch", live=True) File "C:\Users\Kedem Dray\Desktop\New Stable Diffusion\stable-diffusion-webui-master\modules\launch_utils.py", line 115, in run raise RuntimeError(" ".join(error_bits)) RuntimeError: Couldn't install torch. Command: "C:\Users\Kedem Dray\Desktop\New Stable Diffusion\stable-diffusion-webui-master\venv\Scripts\python.exe" -m pip install torch==2.1.2 torchvision==0.16.2 --extra-index-url download.pytorch.org/whl/cu121 Error code: 1 Press any key to continue . . .

  • @skiroviepcvr7792

    @skiroviepcvr7792

    Ай бұрын

    Now said that I don't have Python 3.10.6 installed: 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. Launch unsuccessful. Exiting. Press any key to continue . . .

  • @skiroviepcvr7792
    @skiroviepcvr7792Ай бұрын

    I have stable-diffusion-v1-4 but I still have problems with this one.

  • @skiroviepcvr7792

    @skiroviepcvr7792

    Ай бұрын

    But I sill have problems with this Stable Diffusion in 2024

Келесі