multiple cleanups

Signed-off-by: Vladimir Mandic <mandic00@live.com>
This commit is contained in:
Vladimir Mandic
2026-08-17 09:35:07 +02:00
parent 392c969754
commit 9f650367cb
14 changed files with 30 additions and 20 deletions
+1 -1
View File
@@ -731,7 +731,7 @@ def load_diffuser_file(model_type: str, pipeline, checkpoint_info: CheckpointInf
sd_model = load_sd3(checkpoint_info, diffusers_load_config)
elif hasattr(pipeline, 'from_single_file'):
diffusers.loaders.single_file_utils.CHECKPOINT_KEY_NAMES["clip"] = "cond_stage_model.transformer.text_model.embeddings.position_embedding.weight" # patch for diffusers==0.28.0
diffusers_load_config['safety_checker'] = None, # sd15 specific but we cant know ahead of time
diffusers_load_config['safety_checker'] = None # sd15 specific but we cant know ahead of time
diffusers_load_config['requires_safety_checker'] = False # sd15 specific but we cant know ahead of time
diffusers_load_config['use_safetensors'] = True
diffusers_load_config.pop('cache_dir', None)