Skip to content

Commit

Permalink
fix error in distributed
Browse files Browse the repository at this point in the history
  • Loading branch information
zoooo0820 committed Nov 8, 2022
1 parent 30760c1 commit 599f8b2
Showing 1 changed file with 38 additions and 10 deletions.
48 changes: 38 additions & 10 deletions python/paddle/distributed/__init__.py
Expand Up @@ -51,7 +51,7 @@
from .collective import P2POp # noqa: F401
from .collective import reduce_scatter # noqa: F401

from .communication import * # noqa: F401
from .communication import stream

from .auto_parallel import shard_op # noqa: F401
from .auto_parallel import shard_tensor # noqa: F401
Expand All @@ -66,15 +66,43 @@

from . import cloud_utils # noqa: F401

from .sharding import * # noqa: F401
from .sharding import group_sharded_parallel, save_group_sharded_model

__all__ = [ # noqa
"spawn", "launch", "scatter", "broadcast", "ParallelEnv", "new_group",
"init_parallel_env", "gloo_init_parallel_env", "gloo_barrier",
"gloo_release", "QueueDataset", "split", "CountFilterEntry",
"ShowClickEntry", "get_world_size", "get_group", "all_gather",
"all_gather_object", "InMemoryDataset", "barrier", "all_reduce", "alltoall",
"alltoall_single", "send", "reduce", "recv", "ReduceOp", "wait", "get_rank",
"ProbabilityEntry", "ParallelMode", "is_initialized",
"destroy_process_group", "isend", "irecv", "reduce_scatter", "stream"
"spawn",
"launch",
"scatter",
"broadcast",
"ParallelEnv",
"new_group",
"init_parallel_env",
"gloo_init_parallel_env",
"gloo_barrier",
"gloo_release",
"QueueDataset",
"split",
"CountFilterEntry",
"ShowClickEntry",
"get_world_size",
"get_group",
"all_gather",
"all_gather_object",
"InMemoryDataset",
"barrier",
"all_reduce",
"alltoall",
"alltoall_single",
"send",
"reduce",
"recv",
"ReduceOp",
"wait",
"get_rank",
"ProbabilityEntry",
"ParallelMode",
"is_initialized",
"destroy_process_group",
"isend",
"irecv",
"reduce_scatter",
]

0 comments on commit 599f8b2

Please sign in to comment.