mirror of
https://github.com/lllyasviel/Fooocus.git
synced 2026-08-16 13:13:16 +02:00
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
This commit is contained in:
+1
-11
@@ -539,9 +539,8 @@ wildcard_filenames = []
|
|||||||
|
|
||||||
sdxl_lcm_lora = 'sdxl_lcm_lora.safetensors'
|
sdxl_lcm_lora = 'sdxl_lcm_lora.safetensors'
|
||||||
sdxl_lightning_lora = 'sdxl_lightning_4step_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'
|
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):
|
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
|
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():
|
def downloading_controlnet_canny():
|
||||||
load_file_from_url(
|
load_file_from_url(
|
||||||
url='https://huggingface.co/lllyasviel/misc/resolve/main/control-lora-canny-rank128.safetensors',
|
url='https://huggingface.co/lllyasviel/misc/resolve/main/control-lora-canny-rank128.safetensors',
|
||||||
|
|||||||
@@ -107,7 +107,6 @@ class Steps(IntEnum):
|
|||||||
SPEED = 30
|
SPEED = 30
|
||||||
EXTREME_SPEED = 8
|
EXTREME_SPEED = 8
|
||||||
LIGHTNING = 4
|
LIGHTNING = 4
|
||||||
HYPER_SD8 = 8
|
|
||||||
HYPER_SD = 4
|
HYPER_SD = 4
|
||||||
|
|
||||||
|
|
||||||
@@ -116,7 +115,6 @@ class StepsUOV(IntEnum):
|
|||||||
SPEED = 18
|
SPEED = 18
|
||||||
EXTREME_SPEED = 8
|
EXTREME_SPEED = 8
|
||||||
LIGHTNING = 4
|
LIGHTNING = 4
|
||||||
HYPER_SD8 = 8
|
|
||||||
HYPER_SD = 4
|
HYPER_SD = 4
|
||||||
|
|
||||||
|
|
||||||
@@ -125,7 +123,6 @@ class Performance(Enum):
|
|||||||
SPEED = 'Speed'
|
SPEED = 'Speed'
|
||||||
EXTREME_SPEED = 'Extreme Speed'
|
EXTREME_SPEED = 'Extreme Speed'
|
||||||
LIGHTNING = 'Lightning'
|
LIGHTNING = 'Lightning'
|
||||||
HYPER_SD8 = 'Hyper-SD8'
|
|
||||||
HYPER_SD = 'Hyper-SD'
|
HYPER_SD = 'Hyper-SD'
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
|
|||||||
Reference in New Issue
Block a user