Update accel_sdxl_gen_img.py

This commit is contained in:
DKnight54
2025-02-01 01:40:37 +08:00
committed by GitHub
parent f7a77b68a1
commit 938ff562fd

View File

@@ -1846,8 +1846,8 @@ def main(args):
pipe.set_control_nets(control_nets)
logger.info(f"pipeline on {device} is ready.")
distributed_state.wait_for_everyone()
pipes = gather_objects([pipe])
unets = gather_objects([unet])
pipes = gather_object([pipe])
unets = gather_object([unet])
if args.diffusers_xformers:
pipe.enable_xformers_memory_efficient_attention()