santa hat
deerdeer nosedeer glow
Sign In

How do I specify another storage device (or place) for models/loras etc...?

I only have so much space for downloading models and other files for image generation. Is it possible to place these large files somewhere else and still use your software without any issues? Thanks.

3 Answers

For LoRA i use sd-webui-additional-networks

after install -> Setting -> Additional Networks -> then add your paths here a sample of mine:


If you're using Automatic1111, alternate model locations are set with commandline arguments like these (these are my paths, replace them with where you have your models):

--ckpt-dir "C:\stable-diffusion\stable-diffusion-webui\models\Stable-diffusion"

--lora-dir "C:\stable-diffusion\LoRA Training\LoRA Projects\output models"

You add these to the webui-user.bat file that you use to launch the webui, like:

@echo off

set GIT=
set COMMANDLINE_ARGS= --xformers --ckpt-dir "C:\stable-diffusion\stable-diffusion-webui\models\Stable-diffusion" --lora-dir "C:\stable-diffusion\LoRA Training\LoRA Projects\output models"

call webui.bat

Full commandline argument reference:

@SysDeep @honk_honk

Thanks for getting back to me, I should have mentioned that I am using Linux and not Windows. My bad I guess.

Your answer