The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface. The fastest local inference engine in the world.
Add back function. (#12234)
comfyanonymousc05a08ae66d8
diff --git a/comfy/model_management.py b/comfy/model_management.pyindex cd035f017..72348258b 100644--- a/comfy/model_management.py+++ b/comfy/model_management.py@@ -767,6 +767,9 @@ def load_models_gpu(models, memory_required=0, force_patch_weights=False, minimuload_models_gpu_orig(models, memory_required=memory_required, force_patch_weights=force_patch_weights,minimum_memory_required=minimum_memory_required, force_full_load=force_full_load)+def load_model_gpu(model):+ return load_models_gpu([model])+def loaded_models(only_currently_used=False):output = []for m in current_loaded_models: