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
49c20cdc
Commit
49c20cdc
authored
May 12, 2024
by
comfyanonymous
Browse files
No longer necessary.
parent
e1489ad2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
2 deletions
+0
-2
comfy/model_management.py
comfy/model_management.py
+0
-2
No files found.
comfy/model_management.py
View file @
49c20cdc
...
@@ -393,8 +393,6 @@ def load_models_gpu(models, memory_required=0, force_patch_weights=False):
...
@@ -393,8 +393,6 @@ def load_models_gpu(models, memory_required=0, force_patch_weights=False):
loaded_model
=
LoadedModel
(
x
)
loaded_model
=
LoadedModel
(
x
)
if
loaded_model
in
current_loaded_models
:
if
loaded_model
in
current_loaded_models
:
index
=
current_loaded_models
.
index
(
loaded_model
)
current_loaded_models
.
insert
(
0
,
current_loaded_models
.
pop
(
index
))
models_already_loaded
.
append
(
loaded_model
)
models_already_loaded
.
append
(
loaded_model
)
else
:
else
:
if
hasattr
(
x
,
"model"
):
if
hasattr
(
x
,
"model"
):
...
...
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