From ebcca5512c9fcc366e33933c70652180c3f1a1fa Mon Sep 17 00:00:00 2001 From: DKnight54 <126916963+DKnight54@users.noreply.github.com> Date: Sun, 26 Jan 2025 04:30:29 +0800 Subject: [PATCH] Update accel_sdxl_gen_img.py --- accel_sdxl_gen_img.py | 1 + 1 file changed, 1 insertion(+) diff --git a/accel_sdxl_gen_img.py b/accel_sdxl_gen_img.py index 98d33413..085f31bb 100644 --- a/accel_sdxl_gen_img.py +++ b/accel_sdxl_gen_img.py @@ -2433,6 +2433,7 @@ def main(args): prompt_index = 0 global_step = 0 batch_data = [] + logger.info(f"args.interactive: {args.interactive}, (prompt_index: {prompt_index} < len(prompt_list): {len(prompt_list)} and not distributed_state.is_main_process: {not distributed_state.is_main_process})") while args.interactive or (prompt_index < len(prompt_list) and not distributed_state.is_main_process): if len(prompt_list) == 0: # interactive