mirror of https://github.com/hpcaitech/ColossalAI
Jiarui Fang
3 years ago
committed by
GitHub
18 changed files with 39 additions and 47 deletions
@ -1,6 +1,6 @@
|
||||
from .config import Config, ConfigException |
||||
from .parallel_context import ParallelContext |
||||
from .moe_context import MoeContext |
||||
from .parallel_mode import ParallelMode |
||||
from .moe_context import MOE_CONTEXT |
||||
from .process_group_initializer import * |
||||
from .random import * |
||||
|
@ -1,7 +1,4 @@
|
||||
#!/usr/bin/env python |
||||
# -*- encoding: utf-8 -*- |
||||
|
||||
from colossalai.context import ParallelContext, MoeContext |
||||
|
||||
global_context = ParallelContext.get_instance() |
||||
MOE_CONTEXT = MoeContext.get_instance() |
||||
from colossalai.context.parallel_context import global_context |
||||
|
Loading…
Reference in new issue