From 8008d2fe7a83ba6baecee894b52579f74497d6b5 Mon Sep 17 00:00:00 2001 From: Chenlei Hu Date: Thu, 12 Dec 2024 15:48:21 -0800 Subject: [PATCH] Lint and fix undefined names (2/N) (#6029) --- main.py | 1 + 1 file changed, 1 insertion(+) diff --git a/main.py b/main.py index 87ce1526b..dd6526e13 100644 --- a/main.py +++ b/main.py @@ -112,6 +112,7 @@ def cuda_malloc_warning(): logging.warning("\nWARNING: this card most likely does not support cuda-malloc, if you get \"CUDA error\" please run ComfyUI with: --disable-cuda-malloc\n") def prompt_worker(q, server): + current_time: float = 0.0 e = execution.PromptExecutor(server, lru_size=args.cache_lru) last_gc_collect = 0 need_gc = False