mirror of
https://git.datalinker.icu/comfyanonymous/ComfyUI
synced 2026-09-11 07:07:05 +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