Update accel_sdxl_gen_img.py

This commit is contained in:
DKnight54
2025-02-01 11:49:08 +08:00
committed by GitHub
parent 086e90dd4f
commit e10eabfb83

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_object([pipe])
unets = gather_object([unet])
#pipes = gather_object([pipe])
#unets = gather_object([unet])
if args.diffusers_xformers:
pipe.enable_xformers_memory_efficient_attention()