Browse Source

[NFC] polish colossalai/context/process_group_initializer/initializer_2d.py code style (#2726)

pull/2737/head
Zirui Zhu 2 years ago committed by GitHub
parent
commit
c9e3ee389e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      colossalai/context/process_group_initializer/initializer_2d.py

5
colossalai/context/process_group_initializer/initializer_2d.py

@ -2,10 +2,11 @@ import math
import torch.distributed as dist
from colossalai.global_variables import tensor_parallel_env as env
from colossalai.registry import DIST_GROUP_INITIALIZER
from .process_group_initializer import ProcessGroupInitializer
from ..parallel_mode import ParallelMode
from colossalai.global_variables import tensor_parallel_env as env
from .process_group_initializer import ProcessGroupInitializer
def _check_summa_env_var(summa_dim):

Loading…
Cancel
Save