mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2025-07-14 19:36:59 +08:00
Update model_patcher.py
This commit is contained in:
parent
3d0d386736
commit
d24e99bcbe
@ -407,8 +407,7 @@ class ModelPatcher:
|
|||||||
object patches.
|
object patches.
|
||||||
|
|
||||||
Args:
|
Args:
|
||||||
obj: The object to get the attribute from
|
name (str): The attribute path using dot notation (e.g. "model.layer.weight")
|
||||||
attr (str): The attribute path using dot notation (e.g. "model.layer.weight")
|
|
||||||
|
|
||||||
Returns:
|
Returns:
|
||||||
The value of the requested attribute
|
The value of the requested attribute
|
||||||
|
Loading…
x
Reference in New Issue
Block a user