未验证 提交 f517fb60 编写于 作者: T tangwei12 提交者: GitHub

deprecated for distribute transpiler api (#22513) (#22617)

* add deprecated for distribute transpiler, will delete it after 2.0.0, test=develop
上级 2057f76a
...@@ -577,6 +577,15 @@ class DistributeTranspiler(object): ...@@ -577,6 +577,15 @@ class DistributeTranspiler(object):
sync_mode=False, sync_mode=False,
current_endpoint="127.0.0.1:7000") current_endpoint="127.0.0.1:7000")
""" """
err_msg = """
API is deprecated since 2.0.0 Please use FleetAPI instead.
WIKI: https://github.com/PaddlePaddle/Fleet/blob/develop/markdown_doc/transpiler
"""
print(err_msg, file=sys.stderr)
if program is None: if program is None:
program = default_main_program() program = default_main_program()
if startup_program is None: if startup_program is None:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册