From 8514e969362073f00eda910d2f8467ea07707771 Mon Sep 17 00:00:00 2001 From: Jedrzej Kosinski Date: Tue, 20 May 2025 22:37:42 -0700 Subject: [PATCH] Remove random line of code, not sure how it got there --- comfy_api/torch_helpers/torch_compile.py | 1 - 1 file changed, 1 deletion(-) diff --git a/comfy_api/torch_helpers/torch_compile.py b/comfy_api/torch_helpers/torch_compile.py index 0dcc2e80c..9223f58db 100644 --- a/comfy_api/torch_helpers/torch_compile.py +++ b/comfy_api/torch_helpers/torch_compile.py @@ -39,7 +39,6 @@ def set_torch_compile_wrapper(model: ModelPatcher, backend: str, options: Option When keys is None, it will default to using ["diffusion_model"], compiling the whole diffusion_model. When a list of keys is provided, it will perform torch.compile on only the selected modules. ''' - torch.compile() # clear out any other torch.compile wrappers model.remove_wrappers_with_key(WrappersMP.APPLY_MODEL, COMPILE_KEY) # if no keys, default to 'diffusion_model'