mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2025-01-25 15:55:18 +00:00
No longer necessary.
This commit is contained in:
parent
e1489ad257
commit
49c20cdc70
@ -393,8 +393,6 @@ def load_models_gpu(models, memory_required=0, force_patch_weights=False):
|
||||
loaded_model = LoadedModel(x)
|
||||
|
||||
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)
|
||||
else:
|
||||
if hasattr(x, "model"):
|
||||
|
Loading…
Reference in New Issue
Block a user