fix V{n}_d not working

This commit is contained in:
mcDandy
2026-08-28 21:36:54 +02:00
parent 078553f45f
commit 305ab2db29
+3
View File
@@ -8,6 +8,9 @@ import torch
def _get_model_patcher(obj):
# A MODEL input *is* a ModelPatcher already - not something wrapping one.
if isinstance(obj, comfy.model_patcher.ModelPatcher):
return obj
patcher = getattr(obj, "patcher", None)
if patcher is None and hasattr(obj, "model"):
patcher = getattr(obj.model, "patcher", None)