Skip to content

Commit

Permalink
temporarily turn off vae batch parallel when SP is on
Browse files Browse the repository at this point in the history
  • Loading branch information
zhtmike committed Sep 27, 2024
1 parent c49ae49 commit aa45c99
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/opensora_hpcai/scripts/train.py
Original file line number Diff line number Diff line change
Expand Up @@ -377,8 +377,8 @@ def main(args):
vae = OpenSoraVAE_V1_2(
micro_batch_size=args.vae_micro_batch_size,
micro_frame_size=args.vae_micro_frame_size,
micro_batch_parallel=args.enable_sequence_parallelism,
micro_frame_parallel=args.enable_sequence_parallelism,
micro_batch_parallel=False,
micro_frame_parallel=False,
ckpt_path=args.vae_checkpoint,
freeze_vae_2d=True,
)
Expand Down

0 comments on commit aa45c99

Please sign in to comment.