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
chenpangpang
ComfyUI
Commits
93e876a3
Commit
93e876a3
authored
May 09, 2024
by
comfyanonymous
Browse files
Remove warnings that confuse people.
parent
cd07340d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
comfy/sd.py
comfy/sd.py
+5
-1
No files found.
comfy/sd.py
View file @
93e876a3
...
...
@@ -486,7 +486,11 @@ def load_checkpoint_guess_config(ckpt_path, output_vae=True, output_clip=True, o
clip
=
CLIP
(
clip_target
,
embedding_directory
=
embedding_directory
)
m
,
u
=
clip
.
load_sd
(
clip_sd
,
full_model
=
True
)
if
len
(
m
)
>
0
:
logging
.
warning
(
"clip missing: {}"
.
format
(
m
))
m_filter
=
list
(
filter
(
lambda
a
:
".logit_scale"
not
in
a
and
".transformer.text_projection.weight"
not
in
a
,
m
))
if
len
(
m_filter
)
>
0
:
logging
.
warning
(
"clip missing: {}"
.
format
(
m
))
else
:
logging
.
debug
(
"clip missing: {}"
.
format
(
m
))
if
len
(
u
)
>
0
:
logging
.
debug
(
"clip unexpected {}:"
.
format
(
u
))
...
...
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