From a8a82647a9b064f94377b94dfba085ad02b11e86 Mon Sep 17 00:00:00 2001 From: Manuel Schmid Date: Sun, 19 May 2024 12:26:59 +0200 Subject: [PATCH] feat: remove hyper-sd8 performance still waiting for the release of hyper-sd 4step CFG LoRA, not yet satisfied with any of the CFG LoRAs compared to non-cfg ones. see https://huggingface.co/ByteDance/Hyper-SD --- modules/config.py | 12 +----------- modules/flags.py | 3 --- 2 files changed, 1 insertion(+), 14 deletions(-) diff --git a/modules/config.py b/modules/config.py index 0647c3e7..b61cdec4 100644 --- a/modules/config.py +++ b/modules/config.py @@ -539,9 +539,8 @@ wildcard_filenames = [] sdxl_lcm_lora = 'sdxl_lcm_lora.safetensors' sdxl_lightning_lora = 'sdxl_lightning_4step_lora.safetensors' -sdxl_hyper_sd_cfg_lora = 'sdxl_hyper_sd_8step_cfg_lora.safetensors' sdxl_hyper_sd_lora = 'sdxl_hyper_sd_4step_lora.safetensors' -loras_metadata_remove = [sdxl_lcm_lora, sdxl_lightning_lora, sdxl_hyper_sd_cfg_lora, sdxl_hyper_sd_lora] +loras_metadata_remove = [sdxl_lcm_lora, sdxl_lightning_lora, sdxl_hyper_sd_lora] def get_model_filenames(folder_paths, extensions=None, name_filter=None): @@ -626,15 +625,6 @@ def downloading_sdxl_hyper_sd_lora(): return sdxl_hyper_sd_lora -def downloading_sdxl_hyper_sd_cfg_lora(): - load_file_from_url( - url='https://huggingface.co/mashb1t/misc/resolve/main/sdxl_hyper_sd_8step_cfg_lora.safetensors', - model_dir=paths_loras[0], - file_name=sdxl_hyper_sd_cfg_lora - ) - return sdxl_hyper_sd_lora - - def downloading_controlnet_canny(): load_file_from_url( url='https://huggingface.co/lllyasviel/misc/resolve/main/control-lora-canny-rank128.safetensors', diff --git a/modules/flags.py b/modules/flags.py index e31a0f5a..3dc7a021 100644 --- a/modules/flags.py +++ b/modules/flags.py @@ -107,7 +107,6 @@ class Steps(IntEnum): SPEED = 30 EXTREME_SPEED = 8 LIGHTNING = 4 - HYPER_SD8 = 8 HYPER_SD = 4 @@ -116,7 +115,6 @@ class StepsUOV(IntEnum): SPEED = 18 EXTREME_SPEED = 8 LIGHTNING = 4 - HYPER_SD8 = 8 HYPER_SD = 4 @@ -125,7 +123,6 @@ class Performance(Enum): SPEED = 'Speed' EXTREME_SPEED = 'Extreme Speed' LIGHTNING = 'Lightning' - HYPER_SD8 = 'Hyper-SD8' HYPER_SD = 'Hyper-SD' @classmethod