Browse Source

[NFC] polish colossalai/context/moe_context.py code style (#2693)

pull/2694/head
LuGY 2 years ago committed by GitHub
parent
commit
56ff1921e9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      colossalai/context/moe_context.py

4
colossalai/context/moe_context.py

@ -1,3 +1,5 @@
from typing import Tuple
import torch
import torch.distributed as dist
@ -5,8 +7,6 @@ from colossalai.context.parallel_mode import ParallelMode
from colossalai.context.singleton_meta import SingletonMeta
from colossalai.tensor import ProcessGroup
from typing import Tuple
def _check_sanity():
from colossalai.core import global_context as gpc

Loading…
Cancel
Save