diff --git a/accel_sdxl_gen_img.py b/accel_sdxl_gen_img.py index 3d29cffe..9a7c7edd 100644 --- a/accel_sdxl_gen_img.py +++ b/accel_sdxl_gen_img.py @@ -2848,7 +2848,7 @@ def main(args): data_loader = get_batches(items=batch_data, batch_size=args.batch_size) with distributed_state.split_between_processes(data_loader) as batch_list: for j in range(len(batch_list)): - logger.info(f"Loading batch {j}/{len(batch_list)} of {len(batch_list[j])} prompts onto device {distributed_state.local_process_index}:") + logger.info(f"Loading batch {j+1}/{len(batch_list)} of {len(batch_list[j])} prompts onto device {distributed_state.local_process_index}:") logger.info(f"batch_list:") for i in range(len(batch_list[j])): logger.info(f"Device {distributed_state.device}: Prompt {i+1}: {batch_list[j][i].base.prompt}")