Skip to content

Commit

Permalink
Fix some args
Browse files Browse the repository at this point in the history
  • Loading branch information
lihuahua123 committed Jan 5, 2025
1 parent dd38452 commit b83b472
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion xfuser/config/args.py
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ def add_cli_args(parser: FlexibleArgumentParser):
"--vae_parallel_size",
type=int,
default=0,
help="VAE parallel size.",
help="Number of processes for VAE parallelization. 0: no seperate process for VAE, 1: run VAE in a separate process, >1: distribute VAE across multiple processes.",
)
parallel_group.add_argument(
"--split_scheme",
Expand Down
2 changes: 1 addition & 1 deletion xfuser/config/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ class ParallelConfig:
pp_config: PipeFusionParallelConfig
tp_config: TensorParallelConfig
world_size: int = 1 # FIXME: remove this
dit_world_size: int = 1 # FIXME: remove this
dit_world_size: int = 1
vae_parallel_size: int = 1 # 0 means the vae is in the same process with diffusion

def __post_init__(self):
Expand Down

0 comments on commit b83b472

Please sign in to comment.