Force recalculation of model size on clone

This commit is contained in:
City
2025-04-21 15:22:11 +02:00
parent 9d282bcdfd
commit 220f78ec70
+2
View File
@@ -114,6 +114,8 @@ class GGUFModelPatcher(comfy.model_patcher.ModelPatcher):
self.__class__ = src_cls
# GGUF specific clone values below
n.patch_on_device = getattr(self, "patch_on_device", False)
if src_cls != GGUFModelPatcher:
n.size = 0 # force recalc
return n
class UnetLoaderGGUF: