未验证 提交 19bec2fe 编写于 作者: G gongweibao 提交者: GitHub

Cherrypick 30071 (#30074)

* fix log test=release/2.0

* fix ut test=develop
上级 1ad7fcbf
...@@ -472,8 +472,8 @@ def start_local_trainers(cluster, ...@@ -472,8 +472,8 @@ def start_local_trainers(cluster,
pretty_print_envs(proc_env, ("Distributed Envs", pretty_print_envs(proc_env, ("Distributed Envs",
"Value")))) "Value"))))
logger.info( logger.info(
"details abouts PADDLE_TRAINER_ENDPOINTS can be found in {}/endpoints.log.". "details abouts PADDLE_TRAINER_ENDPOINTS can be found in {}/endpoints.log, and detail running logs maybe found in {}/workerlog.0".
format(log_dir)) format(log_dir, log_dir))
fn = None fn = None
if log_dir is not None: if log_dir is not None:
os.system("mkdir -p {}".format(log_dir)) os.system("mkdir -p {}".format(log_dir))
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册