From ff77d3afe1f306cbed35745f702e0df77c2b0df8 Mon Sep 17 00:00:00 2001 From: DKnight54 <126916963+DKnight54@users.noreply.github.com> Date: Sat, 1 Feb 2025 21:50:58 +0800 Subject: [PATCH] Update accel_sdxl_gen_img.py --- accel_sdxl_gen_img.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/accel_sdxl_gen_img.py b/accel_sdxl_gen_img.py index ca30bb507..115ec6128 100644 --- a/accel_sdxl_gen_img.py +++ b/accel_sdxl_gen_img.py @@ -2907,7 +2907,7 @@ def scale_and_round(x): temp_list = [] for ext_batch in batch_separated_list: for i in range(distributed_state.num_processes): - templist.append(ext_batch[i :: distributed_state.num_processes]) + temp_list.append(ext_batch[i :: distributed_state.num_processes]) logger.info(f"templist: {len(temp_list)}") batch_separated_list = [] for sub_batch_list in temp_list: