Skip to content

Commit

Permalink
feat: remove hyper-sd8 performance
Browse files Browse the repository at this point in the history
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
  • Loading branch information
mashb1t committed May 19, 2024
1 parent 8ef1a21 commit a8a8264
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 14 deletions.
12 changes: 1 addition & 11 deletions modules/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -539,9 +539,8 @@ def add_ratio(x):

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):
Expand Down Expand Up @@ -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',
Expand Down
3 changes: 0 additions & 3 deletions modules/flags.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,6 @@ class Steps(IntEnum):
SPEED = 30
EXTREME_SPEED = 8
LIGHTNING = 4
HYPER_SD8 = 8
HYPER_SD = 4


Expand All @@ -116,7 +115,6 @@ class StepsUOV(IntEnum):
SPEED = 18
EXTREME_SPEED = 8
LIGHTNING = 4
HYPER_SD8 = 8
HYPER_SD = 4


Expand All @@ -125,7 +123,6 @@ class Performance(Enum):
SPEED = 'Speed'
EXTREME_SPEED = 'Extreme Speed'
LIGHTNING = 'Lightning'
HYPER_SD8 = 'Hyper-SD8'
HYPER_SD = 'Hyper-SD'

@classmethod
Expand Down

0 comments on commit a8a8264

Please sign in to comment.