diff --git a/comfy_api/torch_helpers/torch_compile.py b/comfy_api/torch_helpers/torch_compile.py index 2eb01b88b..c3a8b0646 100644 --- a/comfy_api/torch_helpers/torch_compile.py +++ b/comfy_api/torch_helpers/torch_compile.py @@ -3,7 +3,7 @@ import torch import comfy.utils from comfy.patcher_extension import WrappersMP -from typing import TYPE_CHECKING, Callable, Union, Optional +from typing import TYPE_CHECKING, Callable, Optional if TYPE_CHECKING: from comfy.model_patcher import ModelPatcher from comfy.patcher_extension import WrapperExecutor