Skip to content

Commit

Permalink
Update accel_sdxl_gen_img.py
Browse files Browse the repository at this point in the history
  • Loading branch information
DKnight54 authored Feb 1, 2025
1 parent 8967e2f commit 01430d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion accel_sdxl_gen_img.py
Original file line number Diff line number Diff line change
Expand Up @@ -2887,7 +2887,7 @@ def scale_and_round(x):
sublist = []
if(len(split_into_batches) % distributed_state.num_processes != 0):
#Distributes last round of batches across available processes if last round of batches less than available processes and there is more than one prompt in the last batch
popnum = (len(split_into_batches) % distributed_state.num_processes
popnum = len(split_into_batches) % distributed_state.num_processes
else:
#force distribution check on last round of batches
popnum = distributed_state.num_processes
Expand Down

0 comments on commit 01430d0

Please sign in to comment.