Skip to content

Commit

Permalink
Change checkpoint key used to identify CLIP models in single file che…
Browse files Browse the repository at this point in the history
…ckpoints (#8319)

update
  • Loading branch information
DN6 authored and yiyixuxu committed Jun 4, 2024
1 parent 77cab27 commit de9528e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/diffusers/loaders/single_file_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
"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",
Expand Down

0 comments on commit de9528e

Please sign in to comment.