From f42b7e80a25bf514fcf0c5e2f0e7a11f3a7d15e8 Mon Sep 17 00:00:00 2001 From: tazlin Date: Tue, 5 Mar 2024 10:03:54 -0500 Subject: [PATCH] feat: support more model load instructions See https://github.com/Haidra-Org/horde-sdk/pull/155 for more info. --- .pre-commit-config.yaml | 4 +-- bridgeData_template.yaml | 13 +++++-- horde-bridge.cmd | 2 +- horde_worker_regen/__init__.py | 2 +- horde_worker_regen/bridge_data/load_config.py | 8 +++++ pyproject.toml | 2 +- requirements.txt | 4 +-- tests/test_bridge_data.py | 34 ++++++++++++++++++- 8 files changed, 59 insertions(+), 10 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 4b5319b7..bb316665 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -41,6 +41,6 @@ repos: - torch - ruamel.yaml - hordelib==2.6.2 - - horde_sdk==0.8.0 - - horde_model_reference==0.6.2 + - horde_sdk==0.8.1 + - horde_model_reference==0.6.3 - semver diff --git a/bridgeData_template.yaml b/bridgeData_template.yaml index afb0b221..920d3c63 100644 --- a/bridgeData_template.yaml +++ b/bridgeData_template.yaml @@ -151,9 +151,16 @@ disable_disk_cache: false # Currently unused in reGen # "ALL" - means load all possible models. Expect this to take over 1TB of space! # "TOP n" - load the top "N" most popular models, use for example, "top 5" or "top 3", etc. # "BOTTOM n" - load the top "N" most popular models, use for example, "top 5" or "top 3", etc. +# +# "ALL SD15 MODELS" - All Stable Diffusion 1.5 models +# "ALL SD21 MODELS" - All Stable Diffusion 2.0/2.1 models +# "ALL SDXL MODELS" - All Stable Diffusion XL models +# "ALL INPAINTING MODELS" - All models marked as being for inpainting +# +# "ALL SFW MODELS" - All models marked as being SFW +# "ALL NSFW MODELS" - All models marked as being NSFW +# # (not currently supported) "ALL