From 71b23d12e45e39fb2e94da510b823831e9a7b151 Mon Sep 17 00:00:00 2001 From: strint Date: Thu, 16 Oct 2025 22:34:55 +0800 Subject: [PATCH] rm useless log --- execution.py | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/execution.py b/execution.py index c3a4cc5fa..53f295357 100644 --- a/execution.py +++ b/execution.py @@ -652,7 +652,6 @@ class PromptExecutor: asyncio.run(self.execute_async(prompt, prompt_id, extra_data, execute_outputs)) async def execute_async(self, prompt, prompt_id, extra_data={}, execute_outputs=[]): - logging.info(f"๐Ÿš€ Workflow execution START: prompt_id={prompt_id}, nodes_count={len(prompt)}") nodes.interrupt_processing(False) if "client_id" in extra_data: @@ -676,9 +675,6 @@ class PromptExecutor: for node_id in prompt: if self.caches.outputs.get(node_id) is not None: cached_nodes.append(node_id) - - if len(cached_nodes) > 0: - logging.info(f"๐Ÿ’พ Workflow has {len(cached_nodes)} cached nodes: {cached_nodes}") comfy.model_management.cleanup_models_gc() self.add_message("execution_cached", @@ -691,8 +687,6 @@ class PromptExecutor: current_outputs = self.caches.outputs.all_node_ids() for node_id in list(execute_outputs): execution_list.add_node(node_id) - - logging.info(f"๐Ÿ“‹ Workflow execution list prepared, executing {len(execute_outputs)} output nodes") while not execution_list.is_empty(): node_id, error, ex = await execution_list.stage_node_execution() @@ -704,7 +698,6 @@ class PromptExecutor: result, error, ex = await execute(self.server, dynamic_prompt, self.caches, node_id, extra_data, executed, prompt_id, execution_list, pending_subgraph_results, pending_async_nodes) self.success = result != ExecutionResult.FAILURE if result == ExecutionResult.FAILURE: - logging.error(f"๐Ÿ’ฅ Workflow execution FAILED at node {node_id}") self.handle_execution_error(prompt_id, dynamic_prompt.original_prompt, current_outputs, executed, error, ex) break elif result == ExecutionResult.PENDING: @@ -713,7 +706,6 @@ class PromptExecutor: execution_list.complete_node_execution() else: # Only execute when the while-loop ends without break - logging.info(f"๐ŸŽ‰ Workflow execution SUCCESS: prompt_id={prompt_id}, executed_nodes={len(executed)}") self.add_message("execution_success", { "prompt_id": prompt_id }, broadcast=False) ui_outputs = {} @@ -730,10 +722,7 @@ class PromptExecutor: } self.server.last_node_id = None if comfy.model_management.DISABLE_SMART_MEMORY: - logging.info("๐Ÿงน Unloading all models (DISABLE_SMART_MEMORY is enabled)") comfy.model_management.unload_all_models() - - logging.info(f"โœจ Workflow execution COMPLETED: prompt_id={prompt_id}") async def validate_inputs(prompt_id, prompt, item, validated):