From 41c30e92e7c468dde630714a27431299de438490 Mon Sep 17 00:00:00 2001 From: comfyanonymous Date: Fri, 21 Feb 2025 06:32:11 -0500 Subject: [PATCH] Let all model memory be offloaded on nvidia. --- comfy/model_management.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/comfy/model_management.py b/comfy/model_management.py index 9066e0dc2c3..331aa9fd36b 100644 --- a/comfy/model_management.py +++ b/comfy/model_management.py @@ -220,7 +220,7 @@ def is_amd(): MIN_WEIGHT_MEMORY_RATIO = 0.4 if is_nvidia(): - MIN_WEIGHT_MEMORY_RATIO = 0.1 + MIN_WEIGHT_MEMORY_RATIO = 0.0 ENABLE_PYTORCH_ATTENTION = False if args.use_pytorch_cross_attention: