Home Creators Posts Import Register Favorites Logout

Downloads

Content

Patreon exclusive posts index to find our scripts easily, Patreon scripts updates history to see which updates arrived to which scripts and amazing Patreon special generative scripts list that you can use in any of your task.

Join discord to get help, chat, discuss and also tell me your discord username to get your special rank : SECourses Discord

Please also Star, Watch and Fork our Stable Diffusion & Generative AI  GitHub repository and join our Reddit subreddit and follow me on LinkedIn (my real profile)

=======

Latest installer zip file : Auto1111_V13.zip

I have forked the official and latest version of Automatic1111 : https://github.com/AUTOMATIC1111/stable-diffusion-webui

ADetailer : https://github.com/Bing-su/adetailer

ControlNet : https://github.com/lllyasviel/ControlNet

Installation process is now way faster than before

Automatic1111 is very old but there is still people demanding and using it so here it is

But I would recommend still up-to-date developed NEO

Classic : https://www.patreon.com/posts/138680643

Forge Web UI NEO : https://www.patreon.com/posts/138694680

Then modified all of them with minimal amount to make them work with latest GPUs and xFormers

Now our installer and apps supports starting from RTX 1000 series to RTX 5000 series including cloud GPUs like H100, B200, RTX PRO 6000 etc

Making them work with newest libraries were so hard but now we are using Torch 2.8, CUDA 12.9, xFormers 0.33

The installer will install ADetailer and ControlNet by default but you have to download ControlNet models manually or run Windows_Optional_Download_ControlNet_Models.bat file after install

Default Sampler set to UniPc and default steps count set to 40

Tested on RTX 5090 and works perfect and amazingly fast with xFormers

The app will start with xFormers by default both on Linux (MassedCompute and RunPod) and Windows

On MassedCompute and RunPod it will also auto start with Gradio live share to access from your computer

Put Stable Diffusion models into stable-diffusion-webui\models\Stable-diffusion

ControlNet models into stable-diffusion-webui\extensions\sd-webui-controlnet\models

The app won't download any model like before when you first time start and you can start the app without loading any model - this was not possible before i fixed both

Windows Requirements

Python 3.10, FFmpeg, CUDA 12.9, cuDNN 9.12 , C++ tools and Git

If it doesn't work make sure to below tutorial and install everything exactly as shown in this below tutorial

https://youtu.be/DrhUHnYfwC0

27 April 2026 V13

Since it has been requested I have added Deforum to be automatically installed with the installers

Both Windows and RunPod and Massed Compute (Linux users can use this) installers now auto install Deforum

--no-half-vae default added for both Windows and RunPod and Massed Compute

For Linux users --enable-insecure-extension-access auto activated (to install extensions from Gradio Live share)

Please use latest zip file and make a fresh install and move your older models since I regenerated GitHub repos for faster installation

28 March 2026 V12

Installers completey modernized

Now entire installation is made with uv installer on Windows, RunPod and Massed Compute (Linux users)

Thus it is like 100x faster now

Everything upgraded to Torch 2.8 and CUDA 12.9 with pre-compiled wheels

ControlNet model downloader issues fixed

Installation, ControlNet and Adetailer tested on Windows and RunPod and Massed Compute (Linux) and all working perfect

This is the original official latest version Automatic1111 without new features or changes

Make a fresh install

ControlNet downloader is downloading 53 different SD 1.5 and SDXL ControlNet models automatically for you

Installer automatically installs working ControlNet latest and Adetailer

How To Install and Use:

Windows:

Just run Windows_Install_or_Update.bat

Then run Windows_Start_Automatic1111_Web_UI.bat

Massed Compute (Recommend Cloud) :

Please register via this link : https://vm.massedcompute.com/signup?linkId=lp_034338&sourceId=secourses&tenantId=massed-compute

Use our coupon SECourses

Our coupon works on all GPUs now

RTX 6000 PRO has amazing price and speed but you can use like RTX A6000 ADA or L40S as well

Full details here : https://www.patreon.com/posts/26671823

Then select our image SECourses from Creator dropdown

Then follow Massed_Compute_Instructions_READ.txt

Same as my any other Massed Compute installer script

Example tutorial for learn how to install and use Massed Compute

(Starts at 12:58) : https://youtu.be/KW-MHmoNcqo?si=G1WbG-Qw4ujWvOtG&t=778

RunPod (Cloud):

Please register via this link : https://get.runpod.io/955rkuppqv4h

Then follow Runpod_Instructions_READ.txt

Same as my any other RunPod installer script

Use the template written in Runpod_Instructions_READ.txt file

Example tutorial for learn how to install and use RunPod

(starts at 22:03) : https://youtu.be/KW-MHmoNcqo?si=QN8X8Sjn13ZYu-EU&t=1323

Files

Comments

DFH

they've merged it into `dev`, within the past hour.

Meito

whenever i try to run dreambooth training, i use my classification images, but dreambooth doesn't use them, it generates new ones? any advice?

indievish

what would be the way to run it on runpod ?

JoeMarcus

Downloading sd_xl_base_1.0.safetensors: 100% Downloading sd_xl_refiner_1.0.safetensors: --->> as soon as it hits 100% on this part the CMD window closes and thats it...

Draxel

Thank you for this and your videos.

Reke

Hi I just tried to run the bat file but it closes almost immediately after allowing to "run anyway". Any thoughts? thanks

Jon

Once I close the .bat cmd prompt and then reopen it, it redownloads the .safetensors files every time. Is there a way to prevent this?

Jon

I was just closing out my windows, is there a way to keep the UI running? Thank you

Rafał Ryniak

"Torch is not able to use GPU; add --skip-torch-cuda-test to COMMANDLINE_ARGS variable to disable this check" Czy to znaczy że na mojej karcie Radeon r280 SDXL nie ruszy?

Rafał Ryniak

Dziękuję bardzo jutro nad tym popracuje

Ran Bensimon

Is there a way to place all models in the same folder and refer the GUI to them? for example, I have one installation for img2img/txt2img and another installation for Deforum, so I don't want to have duplicates of models/lora/controlnet folders. is there a way to place them all in one place and tell the installers where to find them?

Bendef SLatt

I am using python 3.10/12150.1013 and I run the bat and it downloads the models completely, and exits terminal automatically. When I navigate back to the execution location, the models folder is filled and seems finished. 12 or so gigs size-wise. When I try to run auto_1111_sdxl.bat again it immediately removes all data from the installer script and starts over again. This is driving me up the wall with the quality of my internet connection. What gives?

SECourses: FLUX, Tutorials, Guides, Resources, Training, Scripts

yes it will terminate CMD once installation has been completed . if you run again it deletes and start from 0. but i can modify script. how you would like it to behave? by the way after it is completed you run Automatic1111 Web UI instance from inside the folder automatic_web_ui with webui-user.bat

Phillip Berry

The fact that i can run all of these on my external SSD is wild.. You the man! worth the subscribe for sure!

John S

Hi SEC, I have this error: "OutOfMemoryError: CUDA out of memory. Tried to allocate 20.00 MiB (GPU 0; 4.00 GiB total capacity; 2.12 GiB already allocated; 18.50 MiB free; 2.14 GiB reserved in total by PyTorch) If reserved memory is >> allocated memory try setting max_split_size_mb to avoid fragmentation. See documentation for Memory Management and PYTORCH_CUDA_ALLOC_CONF" could you help with this??

CryptoAddict

I encountered the exact problem and found this and installed it. My question is: are all the settings in stable diffusion tool the same as yours here or shall I leave them as defaults?

CryptoAddict

This is the warning message I am getting: Launching Web UI with arguments: WARNING:xformers:WARNING[XFORMERS]: xFormers can't load C++/CUDA extensions. xFormers was built for: PyTorch 2.0.1+cu118 with CUDA 1108 (you have 2.0.0+cpu) Python 3.10.11 (you have 3.10.6) Please reinstall xformers (see https://github.com/facebookresearch/xformers#installing-xformers) Memory-efficient attention, SwiGLU, sparse and more won't be available. Set XFORMERS_MORE_DETAILS=1 for more details No module 'xformers'. Proceeding without it.

Rabadan

RuntimeError: Expected all tensors to be on the same device, but found at least two devices, cpu and cuda:0! (when checking argument for argument mat1 in method wrapper_CUDA_addmm) Any ideia?

Rabadan

Sorry. How?

Rabadan

I'm using the default version. Is it possible to switch to the DEV version and overwrite the default content in some way? I would not like to lose the actual installation of the A1111 that has already been carried out.

jaehyun AI

Wow... thank you. I'm thrilled. Another productivity upgrade today.

Rafael Villalba

Does this mean that my RTX 3050 4GB could work? Heheh. Thank you anyway if that's not the case.

Ran Bensimon

Thanks! it will affect Quadro RTX as well? And also, auto installer will overwrite existing installation? or make a new one?

Ran Bensimon

I'm getting this error: return F.linear(input, self.weight, self.bias) RuntimeError: Expected all tensors to be on the same device, but found at least two devices, cpu and cuda:0! (when checking argument for argument mat1 in method wrapper_CUDA_addmm) Did I miss something? :)

Ran Bensimon

do we know if there's a fix for the CUDA errors in the startup?

Joel Maynard

hello, can i install TensorRT on runpod in automatic 1111

Samuel Mallevaes

Hello, did you get an answer about the Lora for SDXL issue ?

Hassan Alhassan

the issue am facing is every time i restart A1111 i need to rebuild the model again, am not sure why, otherwise it will give me the error below, i did switch to Dev then Git pull then back to master still this is showing RuntimeError: Expected all tensors to be on the same device, but found at least two devices, cpu and cuda:0! (when checking argument for argument mat1 in method wrapper_CUDA_addmm)

Hassan Alhassan

for some reason, i used IP-Adapter-SDXL contol net and it worked without rebuilding

Michael Harleman

I got annoying startup errors having something to do with cudnn three times before the interface would start. I found this post that describes a fix which seemed to work: https://github.com/NVIDIA/Stable-Diffusion-WebUI-TensorRT/issues/27#issuecomment-1767570566. I used the fix and it seemed to get rid of the errors, but the model won't generate. It gets stuck on the last step and never generates the ONNX model file. I ended up restarting the process from the beginning of the tutorial. I'll see if the automatic installer works if I don't make any mistakes. If I may offer a suggestion, I think you clearly know what you are doing, but your students have never seen any of the things you are demonstrating done before, so they can't absorb it nearly as fast as you can cram it into an hour and a half video presentation. I have calculated that for every 30 minutes of your tutorials it will take me 8 to 10 hours to understand what I need to do and fix all the errors I manage to create. Not everyone that takes your classes is fit for Harvard or MIT.

Michael Harleman

TensorRT seems to be working fine. I'm not sure why I get the errors, but I spoke to you on Discord and you told me to just ignore the errors. The fix was working however when I tried it, so you might want to look at it.

Michael Harleman

I didn't use the dev branch because the video said that TensorRT failed to generate the model because you needed to be in the master branch. I'm really lost. It has been in processing mode all day. I have just been letting it run. As long as it shows it is processing, I don't want to mess it up. I'm not sure what to do to fix the issue now. I don't want to wait another 10 hours or however long to generate the model again. I'm afraid to use the fix now.

Michael Harleman

The fix didn't solve the problem. It only created another one. I don't remember what happened, but SD requires its own install of cudnn. Otherwise, it detects your GPU and Cuda:0 as two separate processors, and doesn't know which one to use. It is designed to use the one installed with Auto1111. I reinstalled from the beginning and am now running Tensor to rebuild the seriously long wait for a model it needs to export. The problem seems to stem from the step the fix takes where it uninstalls Cuda 11 thinking once cudnn is installed you don't need it anymore. It gets rid of the warnings, but causes another issue.

Vasiliy Bulanov

Hi! Got this error, is it ever occur to you? RuntimeError: Expected all tensors to be on the same device, but found at least two devices, cpu and cuda:0! (when checking argument for argument mat1 in method wrapper_CUDA_addmm) Trying to fix it that way: def transfer_tensors_to_gpu(): if torch.cuda.is_available(): tensor_on_cpu = torch.tensor([1, 2, 3], dtype=torch.float32) tensor_on_gpu = tensor_on_cpu.cuda() looks probably a bit naive.:) Anyway I would be very grateful for any tip.

Tapiocapioca

My install is fresh, I think something happen after you made the guide. The error I had is about some dll. Anyway you are amazing with your job.

Tapiocapioca

Take your time. Always thank you about your support.

Hassan Alhassan

am getting stuck here, Building wheels for collected packages: tensorrt Building wheel for tensorrt (pyproject.toml) ... /

Hassan Alhassan

ill reinstall it again while going through the video, it was working on the previous version fine. python 3.10.11

Bartosz Polecki

Hi Mate, could you make easy installation and tutorial for X-adapter ? Im to stupid to make it run :D anyway love your stuff, regards

Bartosz Polecki

Yeah it dropped like 2 days ago but im glad i made you check it out ;) , XA has potential to make good old sd1.5 cnet TILE/Resample work with sdxl and i love tile so much. Anyway goodnight or day :)

Pallavi Chauhan

Have you made an installer for DRAG GAN gradio app?

100Sachen80

Hi Mate, the installation of install_automatic1111_Web_UI.bat gives the following error: installing stuff stuff stuff then: Collecting mpmath>=0.19 Using cached https://download.pytorch.org/whl/mpmath-1.3.0-py3-none-any.whl (536 kB) Installing collected packages: mpmath, urllib3, typing-extensions, sympy, pillow, numpy, networkx, MarkupSafe, idna, fsspec, filelock, charset-normalizer, certifi, requests, jinja2, torch, torchvision Successfully installed MarkupSafe-2.1.5 certifi-2024.2.2 charset-normalizer-3.3.2 filelock-3.13.1 fsspec-2024.2.0 idna-3.6 jinja2-3.1.3 mpmath-1.3.0 networkx-3.2.1 numpy-1.26.4 pillow-10.2.0 requests-2.31.0 sympy-1.12 torch-2.1.2+cu121 torchvision-0.16.2+cu121 typing-extensions-4.10.0 urllib3-2.2.1 [notice] A new release of pip available: 22.3.1 -> 24.0 [notice] To update, run: g:\Auto1111_secourses\stable-diffusion-webui\venv\Scripts\python.exe -m pip install --upgrade pip Installing clip Installing open_clip Installing xformers Cloning assets into G:\Auto1111_secourses\stable-diffusion-webui\repositories\stable-diffusion-webui-assets... Cloning into 'G:\Auto1111_secourses\stable-diffusion-webui\repositories\stable-diffusion-webui-assets'... remote: Enumerating objects: 20, done. remote: Counting objects: 100% (20/20), done. remote: Compressing objects: 100% (18/18), done. remote: Total 20 (delta 0), reused 20 (delta 0), pack-reused 0 Receiving objects: 100% (20/20), 132.70 KiB | 310.00 KiB/s, done. Traceback (most recent call last): File "g:\Auto1111_secourses\stable-diffusion-webui\launch.py", line 48, in main() File "g:\Auto1111_secourses\stable-diffusion-webui\launch.py", line 39, in main prepare_environment() File "g:\Auto1111_secourses\stable-diffusion-webui\modules\launch_utils.py", line 410, in prepare_environment git_clone(assets_repo, repo_dir('stable-diffusion-webui-assets'), "assets", assets_commit_hash) File "g:\Auto1111_secourses\stable-diffusion-webui\modules\launch_utils.py", line 197, in git_clone run(f'"{git}" -C "{dir}" checkout {commithash}', None, "Couldn't checkout {name}'s hash: {commithash}") File "g:\Auto1111_secourses\stable-diffusion-webui\modules\launch_utils.py", line 115, in run raise RuntimeError("\n".join(error_bits)) RuntimeError: Couldn't checkout {name}'s hash: {commithash}. Command: "git" -C "G:\Auto1111_secourses\stable-diffusion-webui\repositories\stable-diffusion-webui-assets" checkout 6f7db241d2f8ba7457bac5ca9753331f0c266917 Error code: 128 stderr: fatal: detected dubious ownership in repository at 'G:/Auto1111_secourses/stable-diffusion-webui/repositories/stable-diffusion-webui-assets' 'G:/Auto1111_secourses/stable-diffusion-webui/repositories/stable-diffusion-webui-assets' is on a file system that does not record ownership To add an exception for this directory, call: git config --global --add safe.directory G:/Auto1111_secourses/stable-diffusion-webui/repositories/stable-diffusion-webui-assets Press any key . . .

100Sachen80

Thanks for the update for windows and thanks for your hard work! I really learned so much with your tutorials and programs / scripts!

100Sachen80

Another question: Can i use tensorrt with controlnet? I read that many controlnet models or preproccessors do not work with tensorrt installed.

100Sachen80

Hi Furkan, when selecting Controlnet -> IP-Adapter -> IP-Adapter-Auto Preprocessor and ip-adapter-faceid-plusv2_sd15 [6e14fc1a] Model, i get the following red error message in the console. When installing a1111 from scratch it also gives an error when installing onnxruntime and all the dependencies, stating something about cuda 12 and incompatibilty with onnxruntime? I guess this leads the error below? Can you check? 2024-05-20 11:29:59,858 - ControlNet - INFO - Preview Resolution = 512 2024-05-20 11:29:59,858 - ControlNet - INFO - ip-adapter-auto => ip-adapter_face_id_plus 2024-05-20 11:29:59.9806034 [E:onnxruntime:Default, provider_bridge_ort.cc:1548 onnxruntime::TryGetProviderInfo_CUDA] D:\a\_work\1\s\onnxruntime\core\session\provider_bridge_ort.cc:1209 onnxruntime::ProviderLibrary::Get [ONNXRuntimeError] : 1 : FAIL : LoadLibrary failed with error 126 "" when trying to load "g:\installer_auto1111\stable-diffusion-webui\venv\lib\site-packages\onnxruntime\capi\onnxruntime_providers_cuda.dll" Applied providers: ['CPUExecutionProvider'], with options: {'CPUExecutionProvider': {}} find model: G:\installer_auto1111\stable-diffusion-webui\extensions\sd-webui-controlnet\annotator\downloads\insightface\models\buffalo_l\1k3d68.onnx landmark_3d_68 ['None', 3, 192, 192] 0.0 1.0 2024-05-20 11:30:00.5415761 [E:onnxruntime:Default, provider_bridge_ort.cc:1548 onnxruntime::TryGetProviderInfo_CUDA] D:\a\_work\1\s\onnxruntime\core\session\provider_bridge_ort.cc:1209 onnxruntime::ProviderLibrary::Get [ONNXRuntimeError] : 1 : FAIL : LoadLibrary failed with error 126 "" when trying to load "g:\installer_auto1111\stable-diffusion-webui\venv\lib\site-packages\onnxruntime\capi\onnxruntime_providers_cuda.dll" Applied providers: ['CPUExecutionProvider'], with options: {'CPUExecutionProvider': {}} find model: G:\installer_auto1111\stable-diffusion-webui\extensions\sd-webui-controlnet\annotator\downloads\insightface\models\buffalo_l\2d106det.onnx landmark_2d_106 ['None', 3, 192, 192] 0.0 1.0 2024-05-20 11:30:00.6250399 [E:onnxruntime:Default, provider_bridge_ort.cc:1548 onnxruntime::TryGetProviderInfo_CUDA] D:\a\_work\1\s\onnxruntime\core\session\provider_bridge_ort.cc:1209 onnxruntime::ProviderLibrary::Get [ONNXRuntimeError] : 1 : FAIL : LoadLibrary failed with error 126 "" when trying to load "g:\installer_auto1111\stable-diffusion-webui\venv\lib\site-packages\onnxruntime\capi\onnxruntime_providers_cuda.dll" Applied providers: ['CPUExecutionProvider'], with options: {'CPUExecutionProvider': {}} find model: G:\installer_auto1111\stable-diffusion-webui\extensions\sd-webui-controlnet\annotator\downloads\insightface\models\buffalo_l\det_10g.onnx detection [1, 3, '?', '?'] 127.5 128.0 2024-05-20 11:30:00.7516377 [E:onnxruntime:Default, provider_bridge_ort.cc:1548 onnxruntime::TryGetProviderInfo_CUDA] D:\a\_work\1\s\onnxruntime\core\session\provider_bridge_ort.cc:1209 onnxruntime::ProviderLibrary::Get [ONNXRuntimeError] : 1 : FAIL : LoadLibrary failed with error 126 "" when trying to load "g:\installer_auto1111\stable-diffusion-webui\venv\lib\site-packages\onnxruntime\capi\onnxruntime_providers_cuda.dll" Applied providers: ['CPUExecutionProvider'], with options: {'CPUExecutionProvider': {}} find model: G:\installer_auto1111\stable-diffusion-webui\extensions\sd-webui-controlnet\annotator\downloads\insightface\models\buffalo_l\genderage.onnx genderage ['None', 3, 96, 96] 0.0 1.0 2024-05-20 11:30:00.9349707 [E:onnxruntime:Default, provider_bridge_ort.cc:1548 onnxruntime::TryGetProviderInfo_CUDA] D:\a\_work\1\s\onnxruntime\core\session\provider_bridge_ort.cc:1209 onnxruntime::ProviderLibrary::Get [ONNXRuntimeError] : 1 : FAIL : LoadLibrary failed with error 126 "" when trying to load "g:\installer_auto1111\stable-diffusion-webui\venv\lib\site-packages\onnxruntime\capi\onnxruntime_providers_cuda.dll"

Erakwo

Thx so much, i just found your amazing youtube video. I am so hapapy there is more, more on patreon. All your work and tutorilas that is masterpiece of AI. I think there is nothing commpared to your youtobe and your patreon. Thx

Erakwo

:-) I was fist happy but now i am not happy anymore. I found out that this new installer doenst work with dreambooth. It would have save me a lot of time, if there had been a notice about this.

jonathan sanchez

Are the .yaml files no longer necessary? are they obsolete? Your ControlNet model download script does not download them. thank you for your work, honestly it's one of the best you can find on the internet.

Jimmy V

Hi, just found this page after purchasing a laptop with a 4050 in it to help with SD. My question is, I'm running SD on Stability Matrix, will this 1-click installer work for this type of install or should I just do a fresh install of SD only?

Rabadan

Which is better today, Automatic1111 or webui-forge?

Nedo Braun

Next app working with the 5000er series! thank you Doc.!

Nedo Braun

i tried myself your 1-click SUPIR to get it working with the 5090, but as i expected i got an error somewhere ;) but no hurry Doc!

VoloflustAI

Which NVIDIA driver do I need for this to work? The latest 581.80 isn't working.

VoloflustAI

I fixed it. I didn't have the basic drivers. It works also on Python 3.10.6.

Fire Girls AI (edited)

Comment edits

2026-09-07 10:00 Do you you can test/update this? The installer doesn't work on my pc anymore.
2026-03-27 21:24

TAGopolis

Any thoughts on releasing a 1-click install for Mistral 7B at some point? Would love to get off the Eleven Labs TEET.

JS

I installed your fork specifically to use the Deforum extension. It was downloaded from available extensions tab inside Automatic111 and shows installed in the extension installed section. The Deforum tab dose not show up in the Automatic 111 interface. I am using your Windows_Start_Automatic1111_Web_UI.bat opposed to the standard webui-user.bat. I would really like to be able to use Defourm and have no use for Automatic 111 otherwise. Is there anyway to make it work with your current install fork?

JS

Anyone else get Defourm to work with this install?

JS

Thanks for fixing Deforum.