Skip to content

The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface. The fastest local inference engine in the world.

Let all model memory be offloaded on nvidia.

comfyanonymous41c30e92e7c4
diff --git a/comfy/model_management.py b/comfy/model_management.py
index 9066e0dc2..331aa9fd3 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: