1
0
mirror of https://github.com/huggingface/diffusers.git synced 2026-01-27 17:22:53 +03:00

Change checkpoint key used to identify CLIP models in single file checkpoints (#8319)

update
This commit is contained in:
Dhruv Nair
2024-05-31 11:20:31 +05:30
committed by YiYi Xu
parent 77cab27c47
commit de9528ebc7

View File

@@ -63,7 +63,7 @@ CHECKPOINT_KEY_NAMES = {
"controlnet": "control_model.time_embed.0.weight",
"playground-v2-5": "edm_mean",
"inpainting": "model.diffusion_model.input_blocks.0.0.weight",
"clip": "cond_stage_model.transformer.text_model.embeddings.position_ids",
"clip": "cond_stage_model.transformer.text_model.embeddings.position_embedding.weight",
"clip_sdxl": "conditioner.embedders.0.transformer.text_model.embeddings.position_embedding.weight",
"open_clip": "cond_stage_model.model.token_embedding.weight",
"open_clip_sdxl": "conditioner.embedders.1.model.positional_embedding",