Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
renzhc
diffusers_dcu
Commits
f9fa8a86
Unverified
Commit
f9fa8a86
authored
May 31, 2024
by
Dhruv Nair
Committed by
GitHub
May 31, 2024
Browse files
Change checkpoint key used to identify CLIP models in single file checkpoints (#8319)
update
parent
05be622b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/diffusers/loaders/single_file_utils.py
src/diffusers/loaders/single_file_utils.py
+1
-1
No files found.
src/diffusers/loaders/single_file_utils.py
View file @
f9fa8a86
...
...
@@ -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"
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment