"docs/source/vscode:/vscode.git/clone" did not exist on "be99201a567c1ccd841dc16fb24e88f7f239c187"
Unverified Commit f9fa8a86 authored by Dhruv Nair's avatar Dhruv Nair Committed by GitHub
Browse files

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

update
parent 05be622b
......@@ -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",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment