mirror of
https://git.datalinker.icu/comfyanonymous/ComfyUI
synced 2026-11-21 23:27:06 +08:00
ni
This commit is contained in:
parent
05de350ab3
commit
a2ed27f3e6
@ -44,7 +44,7 @@ def set_model_options_patch_replace(model_options, patch, name, block_name, numb
|
|||||||
return model_options
|
return model_options
|
||||||
|
|
||||||
|
|
||||||
ModelType = TypeVar("ModelType", torch.nn.Module)
|
ModelType = TypeVar("ModelType", bound=torch.nn.Module)
|
||||||
|
|
||||||
|
|
||||||
class ModelPatcher(Generic[ModelType]):
|
class ModelPatcher(Generic[ModelType]):
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user