lllyasviel / stable-diffusion-webui-forge

GNU Affero General Public License v3.0
7.45k stars 722 forks source link

Clarification needed on using existing models/loras from Auto111 via edit of webui-user.bat #1117

Open ewebgh33 opened 1 month ago

ewebgh33 commented 1 month ago

Hi Can't find official documentation on how this is supposed to work

YT vids "explaining" it have 2 different methods

In webui-user.bat, there is
set COMMANDLINE_ARGS= and there is the second section, @REM Uncomment following code to reference an existing A1111 checkout.

Some people just add to COMMANDLINE_ARGS= the paths to their models etc, same we would in Auto1111. Others uncomment the 2nd section, add the path the stable-diffusion-webui folder, and also add the paths on each line with carets ^.

Why two options, is one better than the other, if so why?

ewebgh33 commented 1 month ago

Also, do we need to do ALL of this, to avoid duplication of files?

--gfpgan-dir
--codeformer-models-path
--esrgan-models-path
--realesrgan-models-path
--scunet-models-path
--swinir-models-path
--ldsr-models-path

Or does Forge see upres models as a result of giving it the Auto1111 home dir?

BenDes21 commented 1 month ago

Im also lost,

m webui-user.bat is like that :

set A1111_HOME=C:\Users\Admin\Documents\Stable diffusion\stable-diffusion-webui set VENV_DIR=%A1111_HOME%/venv set COMMANDLINE_ARGS=%COMMANDLINE_ARGS% ^ --ckpt-dir %A1111_HOME%/models/Stable-diffusion ^ --hypernetwork-dir %A1111_HOME%/models/hypernetworks ^ --embeddings-dir %A1111_HOME%/embeddings ^ --lora-dir %A1111_HOME%/models/Lora

but it's not working, my models doesnt load