[hotfix] update benchmark for ddp (#23)

This commit is contained in:
Hongxin Liu 2024-03-04 14:31:41 +08:00 committed by GitHub
parent 9648d53d4d
commit a05e2a3d68
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View file

@ -56,7 +56,7 @@ def main(args):
video_compressor = create_video_compressor(args.compressor)
model_kwargs = {
"in_channels": video_compressor.out_channels,
"seq_parallel_group": plugin.sp_group,
"seq_parallel_group": getattr(plugin, "sp_group", None),
"seq_parallel_mode": args.sp_mode,
"seq_parallel_overlap": args.sp_overlap,
}

View file

@ -1,3 +1,3 @@
from .dit import DiT, DiT_models
from .dit import SUPPORTED_SEQ_PARALLEL_MODES, DiT, DiT_models
__all__ = ["DiT_models", "DiT"]
__all__ = ["DiT_models", "DiT", "SUPPORTED_SEQ_PARALLEL_MODES"]