提交 e7e5df65 编写于 作者: J jingqinghe

update code

上级 95710a33
...@@ -29,7 +29,6 @@ __all__ = [ ...@@ -29,7 +29,6 @@ __all__ = [
] ]
fleet = Fleet() fleet = Fleet()
_role_maker_ = fleet._role_maker_
init = fleet.init init = fleet.init
is_first_worker = fleet.is_first_worker is_first_worker = fleet.is_first_worker
worker_index = fleet.worker_index worker_index = fleet.worker_index
......
...@@ -189,9 +189,6 @@ class Fleet(object): ...@@ -189,9 +189,6 @@ class Fleet(object):
paddle.distributed.init_parallel_env() paddle.distributed.init_parallel_env()
return None return None
def _role_maker_(self):
return self._role_maker
def is_first_worker(self): def is_first_worker(self):
""" """
Check whether the node is the first instance of worker. Check whether the node is the first instance of worker.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册