Temporarily disable instant patch logic

Seems to break VRAM estimation and needs more involved fix with upstream ComfyUI repo.
This commit is contained in:
City
2024-09-03 17:00:20 +02:00
parent c8923a4cd7
commit 717a0e1d0b
-1
View File
@@ -177,7 +177,6 @@ class GGUFModelPatcher(comfy.model_patcher.ModelPatcher):
if len(patches) > 0:
p.patches = []
# TODO: Find another way to not unload after patches
device_to = device_to if comfy.model_management.DISABLE_SMART_MEMORY else None
return super().unpatch_model(device_to=device_to, unpatch_weights=unpatch_weights)
mmap_released = False