Skip to playerSkip to main content
Don't waste hundreds of gigabytes duplicating your AI models! In this quick tutorial, I show you how to configure Stable Diffusion WebUI Forge to seamlessly use your existing Automatic1111 directory for checkpoints, LoRAs, VAEs, embeddings, and ControlNet models.

I walk you through exactly how to modify your "webui-user.bat" file using command-line arguments (like --forge-ref-a1111-home) to create direct paths to your main directory. We'll also cover how to link specific paths for upscalers like CodeFormer, GFPGAN, and RealESRGAN. Keep both user interfaces on your machine without destroying your local storage space!

Script SET COMMANDLINE_ARGS= --forge-ref-a1111-home "D:\forge_location\webui" --gfpgan-models-path "D:\forge_location\webui\models\GFPGAN" --codeformer-models-path "D:\forge_location\webui\models\Codeformer" --esrgan-models-path "D:\forge_location\webui\models\ESRGAN" --realesrgan-models-path "D:\forge_location\webui\models\RealESRGAN" --scunet-models-path "D:\forge_location\webui\models\ScuNET" --swinir-models-path "D:\forge_location\webui\models\SwinIR" --ldsr-models-path "D:\forge_location\webui\models\LDSR"


Original YouTube Tutorial: https://youtu.be/JpqMOI8QlSo

Connected Videos in this Series:
* How to Install & Use Stable Diffusion WebUI Forge: https://youtu.be/3ka841DNgvI
* How to Speed Up Stable Diffusion with LCM LoRA: https://youtu.be/8h5IsrYzGqs

Source/Model Resources:
* Stable Diffusion WebUI Forge GitHub: https://github.com/lllyasviel/stable-diffusion-webui-forge
* Automatic1111 WebUI GitHub: https://github.com/AUTOMATIC1111/stable-diffusion-webui

Video Details:
* Original Publish Date: May 29, 2024
* Focus: Disk Space Optimization / Directory Linking / Configuration Setup
* Test Setup: Local Windows Environment with an RTX 4060 Ti

Follow lordcaocao2025 on Dailymotion for more storage optimization tips, advanced local UI configurations, and AI tutorial workflows!

---
Connect with me:
📺 YouTube: https://www.youtube.com/@CaoCao2025
📱 TikTok: https://www.tiktok.com/@caocao20250
💎 Patreon: https://www.patreon.com/cw/Caocao2025

#StableDiffusion #WebUIForge #Automatic1111 #AILab #TechTutorial #DiskSpace #lordcaocao2025
Transcript
00:00Hello guys, welcome back with me, Chow Chow 2025.
00:05Today we're going to learn how to make Forge use model from AutomataClevin 11 directory
00:11so we don't have to have two file of the same model.
00:18As you can see, currently my Forge don't have any model but realistic vision,
00:23and it also doesn't have model for LoRa and ControlNet.
00:32To do this, we need to edit the web ui-user.bat that located in your web UI folder of
00:40Forge installation.
00:43Open the file with any text editor. You will see four parameters that could be set up.
00:48In this case, we're going to set the command line ergs.
00:52To set up checkpoint model, Ve, LoRa, Embedding, HyperNetwork,
00:57ControlNet, and ControlNet preprocessor directory,
01:01we could use the Forge ref1111 home and put your location here.
01:08Make sure to use double quote in between path.
01:12This will automatically make checkpoint model, Ve, LoRa, Embedding, HyperNetwork,
01:18ControlNet, and ControlNet preprocessor directory into AutomataClevin 11 path.
01:25You could also use GFGAN models.
01:28Path codeformer models.
01:30Path Esergan models.
01:32Path Realisergan models.
01:35Path Skunet models.
01:36Path Squinet models.
01:38Path and Eldzer models.
01:40Path and Eldzer models.
01:42Path one by one.
01:44Just follow the example on the screen.
02:14Path 102 or fourthguard splits from Main Studio to Global Teams champs,
02:18Path hallway, Lifeline cad phytor,uinaxe
02:21.com, Path 102,
02:23Path 103,
02:23Control safety message, Path 102,
02:24Path 51,
02:24Path 32,
02:24Path hind Touch.
02:27Path hon back 102,
02:49As you can see, now the model kept, LoRa, ControlNet, and other have model from Automatic 11.11 directory.
02:59So having Forge and Automatic 11.11, Gunaya cost you crazy amount of space, especially if you already have a
03:06lot of model.
03:41Okay, hope that helped.
03:44Don't forget to like, share, and comment.
03:46See you again on the next episode and have a nice day.
Comments

Recommended