未验证 提交 d4cd2590 编写于 作者: G Guoxia Wang 提交者: GitHub

fix bug of module 'paddle' has no attribute 'distributed' for python3.6 (#35848)

* fix bug
上级 da441363
......@@ -13,7 +13,7 @@
# limitations under the License.
from .spawn import spawn # noqa: F401
from paddle.distributed.fleet.launch import launch # noqa: F401
from .fleet.launch import launch # noqa: F401
from .parallel import init_parallel_env # noqa: F401
from .parallel import get_rank # noqa: F401
......
......@@ -13,8 +13,8 @@
# limitations under the License.
from paddle.distributed.fleet import launch_utils
import paddle.distributed.fleet.cloud_utils as cloud_utils
import paddle.distributed.fleet.ascend_utils as ascend_utils
from paddle.distributed.fleet import cloud_utils
from paddle.distributed.fleet import ascend_utils
from paddle.distributed.fleet.launch_utils import *
......
......@@ -72,8 +72,8 @@ from paddle.distributed.fleet import launch_utils
# TODO(danleifeng): Don't import * from a module
from paddle.distributed.fleet.launch_utils import *
import paddle.distributed.fleet.cloud_utils as cloud_utils
import paddle.distributed.fleet.ascend_utils as ascend_utils
from paddle.distributed.fleet import cloud_utils
from paddle.distributed.fleet import ascend_utils
from paddle.distributed.fleet.elastic import enable_elastic, launch_elastic
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册