-
-
Notifications
You must be signed in to change notification settings - Fork 579
HuggingFace
Manual model download from HuggingFace is supported in SD.Next, but not preferred way as SD.Next has a built-in model downloader.
You can simply type the model repo id in the model selection dropdown and SD.Next will search for it and download it automatically into the correct folder.
Example:
Type Laxhar/noobai-XL-Vpred-1.0 into the model selection dropdown
for manually downloading a model from hugginface to your local directory:
hf download --cache-dir <path-to-sdnext-diffusers-folder> <autor>/<repo-id-on-huggingface>
This will automatically create folder structure as expected by sdnext for huggingface models
Note
hf command cli guide
Important
You must set folder to a correct Diffusers folder as specified in your SD.Next config
Example:
hf download --cache-dir /sdnext/models/Diffusers/ Laxhar/noobai-XL-Vpred-1.0
Which downloaded the model into /sdnext/models/Diffusers/models--Laxhar--noobai-XL-Vpred-1.0/ folder
And model becomes visible in sdnext under name noobai-XL-Vpred-1.0
Note that in this case, model folder should not be prefixed with models--<author>-- as per standard huggingface folder structure as to indicate to SD.Next that this is a manually downloaded model and should be treated as such
You can do full download as-is using any tool
For example: browser, git lfs, wget, curl, hf cli, etc.
Example using hf cli:
hf download --local-dir /sdnext/models/Diffusers/noobai-XL-Vpred-1.0 Laxhar/noobai-XL-Vpred-1.0
Important
In this case, you specify full path to the model folder directly and that name is what SD.Next will use to identify the model