Update accel_sdxl_gen_img.py

This commit is contained in:
DKnight54
2025-02-08 22:31:49 +08:00
committed by GitHub
parent 22ed684fb3
commit 375971daa6

View File

@@ -2949,15 +2949,6 @@ def main(args):
batchlogstr += f" Image {z} of {len(ext_separated_list_of_batches[x][y])} break: {ext_separated_list_of_batches[x][y][z].global_count}\n"
logger.info(batchlogstr)
ext_separated_list_of_batches = gather_object(ext_separated_list_of_batches)
batchlogstr = "Running through ext_separated_list_of_batches After Gather:\n"
for x in range(len(ext_separated_list_of_batches)):
batchlogstr += f"Batch_ext {x} of {len(ext_separated_list_of_batches)}:\n"
for y in range(len(ext_separated_list_of_batches[x])):
batchlogstr += f" Batch {y} of {len(ext_separated_list_of_batches[x])}:\n"
for z in range(len(ext_separated_list_of_batches[x][y])):
batchlogstr += f" Image {z} of {len(ext_separated_list_of_batches[x][y])}: {ext_separated_list_of_batches[x][y][z].global_count}\n"
logger.info(batchlogstr)
del extinfo
#logger.info(f"\nDevice {distributed_state.device}: {ext_separated_list_of_batches}")
if len(ext_separated_list_of_batches) > 0: