uniform hf auth check

Signed-off-by: Vladimir Mandic <mandic00@live.com>
This commit is contained in:
Vladimir Mandic
2025-08-29 10:34:40 -04:00
parent 928b8838b9
commit 032bf6972a
9 changed files with 67 additions and 66 deletions
+1 -1
View File
@@ -339,7 +339,7 @@ def load_diffuser_force(model_type, checkpoint_info, diffusers_load_config, op='
sd_model = load_meissonic(checkpoint_info, diffusers_load_config)
allow_post_quant = True
elif model_type in ['OmniGen2']: # forced pipeline
from pipelines.model_omnigen2 import load_omnigen2
from pipelines.model_omnigen import load_omnigen2
sd_model = load_omnigen2(checkpoint_info, diffusers_load_config)
allow_post_quant = False
elif model_type in ['OmniGen']: # forced pipeline