From d06c38d5b4b924f9fb1b340e1d5e566ef88204ac Mon Sep 17 00:00:00 2001 From: Max Tretikov Date: Fri, 14 Jun 2024 13:19:15 -0600 Subject: [PATCH] Fix logging string formatting in main_pre.py --- comfy/cmd/main_pre.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/comfy/cmd/main_pre.py b/comfy/cmd/main_pre.py index 782159dc4..74be3de51 100644 --- a/comfy/cmd/main_pre.py +++ b/comfy/cmd/main_pre.py @@ -37,7 +37,7 @@ from ..cli_args import args if args.cuda_device is not None: os.environ['CUDA_VISIBLE_DEVICES'] = str(args.cuda_device) - logging.info("Set cuda device to:", args.cuda_device) + logging.info("Set cuda device to: {}".format(args.cuda_device)) if args.deterministic: if 'CUBLAS_WORKSPACE_CONFIG' not in os.environ: