Browse Source

[NFC] posh colossalai/context/process_group_initializer/initializer_sequence.py code style (#2712)

Co-authored-by: Ziyue Jiang <ziyue.jiang@gmail.com>
pull/2720/head
Ziyue Jiang 2 years ago committed by GitHub
parent
commit
4603538ddd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      colossalai/context/process_group_initializer/initializer_sequence.py

3
colossalai/context/process_group_initializer/initializer_sequence.py

@ -3,9 +3,10 @@
import torch.distributed as dist import torch.distributed as dist
from colossalai.registry import DIST_GROUP_INITIALIZER from colossalai.registry import DIST_GROUP_INITIALIZER
from ..parallel_mode import ParallelMode
from .initializer_tensor import Initializer_Tensor from .initializer_tensor import Initializer_Tensor
from .process_group_initializer import ProcessGroupInitializer from .process_group_initializer import ProcessGroupInitializer
from ..parallel_mode import ParallelMode
@DIST_GROUP_INITIALIZER.register_module @DIST_GROUP_INITIALIZER.register_module

Loading…
Cancel
Save