Custom path for models #5053
-
(it's a question, but if the answer is "no", then it should be filed under "Ideas") Is it possible to define a specific path to the models rather than copy them inside Right now, I drop in that folder simlinks to my actual folder where I organize all my models, but it's still tedious. It would be easier to have a place where to specify your folder of choice and be done with it. |
Beta Was this translation helpful? Give feedback.
Replies: 11 comments 47 replies
-
I've been hoping for this feature/option for a while also. I'd love to be able to move my models to a different drive with more space. When originally installing SD I didn't anticipate having so many models at 2GB each, but Dreambooth has created this situation. Maybe this isn't possible? Thanks for starting a thread on it. |
Beta Was this translation helpful? Give feedback.
-
you can specify a models folder by adding you can also do this for hypernetworks and embeddings |
Beta Was this translation helpful? Give feedback.
-
I had to use single quotes for the path |
Beta Was this translation helpful? Give feedback.
-
Listen guys. There is exactly ONE way and most people failed to give the right answer. Make a symbolic directory link in the webui/models/Stable-diffusion folder. There is no other way to do this. Those who keep ranting about the ckpt-folder fail to understand that defining another folder will cancel out the original one. And you can only specify one! Do it like this:
This will create a symbolic directory link named webui/mosels/Stable-diffusion/e-drive-models and it will point to the directory e:\models |
Beta Was this translation helpful? Give feedback.
-
Is there a way to add LoRA and controlNet folders as well? |
Beta Was this translation helpful? Give feedback.
-
Super toxic |
Beta Was this translation helpful? Give feedback.
-
Ok , here is example of how cool is Linux like operating systems. Just put symbolic link into any kind of folder that you want to expand. For example : That all folks! P.S. you could create for any , LORA and etc , and as many as you need :) |
Beta Was this translation helpful? Give feedback.
-
Is it possible to set up a secondary/third models directory? I'm running SD on colab so I'd like it to read the colab folder and my local drive as well. |
Beta Was this translation helpful? Give feedback.
-
I have the same issue. I am also running EasyDiffusion (and also want to try Comfy UI sometimes). It's quite inconvenient that I can't set a models folder. I tried to create a symlink but A1111 will just create a new models folder and claim it can't find anything in there. I don't want to copy 100 of GB of models and loras etc to every UI that I use. I will go with the comandline option but I don't find it in the bat. Does it matter where the variable is placed in the file? |
Beta Was this translation helpful? Give feedback.
-
I've been doing this for a long time. It works, but it's a pain since it confuses git. I have to undo it all to update, and then redo it after. (In principle git stash should be able to do this, but it doens't seem to work in this case in Windows.) But it's worth it so my data is in a clean, centralized place and not interleaved with the application. I wish you could just set a user data directory where all of your mutable data lives (not just checkpoints, but all models, temporary files, settings, hypernet/embedding training output, etc.), and have the A1111 installation itself be read-only like most applications. That would keep the application tree clean, and also allow having multiple installations pointing at the same data, so you could test a new branch or release with your existing data without disturbing the version you know works. |
Beta Was this translation helpful? Give feedback.
you can specify a models folder by adding
--ckpt-dir "D:\path\to\models"
toCOMMANDLINE_ARGS=
in webiu-user.batyou can also do this for hypernetworks and embeddings
--hypernetwork-dir "F:\path\to\hypernetworks"
--embeddings-dir "F:\path\to\embeddings"