multiple patches

This commit is contained in:
Vladimir Mandic
2024-05-27 16:29:32 -04:00
parent 2f323aa55d
commit b5c1ec1941
10 changed files with 40 additions and 17 deletions
+3
View File
@@ -6,6 +6,9 @@ from modules.hidiffusion import hidiffusion
def apply_hidiffusion(p, model_type):
if model_type not in ['sd', 'sdxl'] and p.hidiffusion:
shared.log.warning(f'HiDiffusion: class={shared.sd_model.__class__.__name__} not supported')
return
remove_hidiffusion(p)
if p.hidiffusion:
t0 = time.time()