From d24e99bcbeb2dc461c3bdcf86cf4c745185bd2e0 Mon Sep 17 00:00:00 2001 From: Chenlei Hu Date: Mon, 6 Jan 2025 10:57:49 -0500 Subject: [PATCH] Update model_patcher.py --- comfy/model_patcher.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/comfy/model_patcher.py b/comfy/model_patcher.py index 55de557ae..4176a806f 100644 --- a/comfy/model_patcher.py +++ b/comfy/model_patcher.py @@ -407,8 +407,7 @@ class ModelPatcher: object patches. Args: - obj: The object to get the attribute from - attr (str): The attribute path using dot notation (e.g. "model.layer.weight") + name (str): The attribute path using dot notation (e.g. "model.layer.weight") Returns: The value of the requested attribute