The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface. The fastest local inference engine in the world.
Remove print.
comfyanonymous708138c77d00
diff --git a/comfy/model_management.py b/comfy/model_management.pyindex ece6db3f5..c97bfcff3 100644--- a/comfy/model_management.py+++ b/comfy/model_management.py@@ -84,7 +84,7 @@ def load_model_gpu(model):device_map = accelerate.infer_auto_device_map(real_model, max_memory={0: "256MiB", "cpu": "16GiB"})elif vram_state == LOW_VRAM:device_map = accelerate.infer_auto_device_map(real_model, max_memory={0: "{}MiB".format(total_vram_available_mb), "cpu": "16GiB"})- print(device_map, "{}MiB".format(total_vram_available_mb))+accelerate.dispatch_model(real_model, device_map=device_map, main_device="cuda")model_accelerated = Truereturn current_loaded_model