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
16a493a1
Commit
16a493a1
authored
May 26, 2024
by
comfyanonymous
Browse files
Keep compatibility with some custom nodes.
parent
9a151b7d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
comfy_extras/chainner_models/model_loading.py
comfy_extras/chainner_models/model_loading.py
+5
-0
No files found.
comfy_extras/chainner_models/model_loading.py
0 → 100644
View file @
16a493a1
from
spandrel
import
ModelLoader
def
load_state_dict
(
state_dict
):
print
(
"WARNING: comfy_extras.chainner_models is deprecated and has been replaced by the spandrel library."
)
return
ModelLoader
().
load_from_state_dict
(
state_dict
).
eval
()
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