The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface. The fastest local inference engine in the world.
Fix regression. (#11194)
comfyanonymous3b0368aa3418
diff --git a/comfy/model_patcher.py b/comfy/model_patcher.pyindex 8b5edeb52..a7d24ac13 100644--- a/comfy/model_patcher.py+++ b/comfy/model_patcher.py@@ -139,6 +139,9 @@ def low_vram_patch_estimate_vram(model, key):if weight is None:return 0model_dtype = getattr(model, "manual_cast_dtype", torch.float32)+ if model_dtype is None:+ model_dtype = weight.dtype+return weight.numel() * model_dtype.itemsize * LOWVRAM_PATCH_ESTIMATE_MATH_FACTORdef get_key_weight(model, key):