未验证 提交 f45f8363 编写于 作者: Y Yi Liu 提交者: GitHub

records the offset of log when creating by paddle.distributed.launch (#25725)

test=develop
上级 4fd55855
......@@ -381,7 +381,7 @@ def start_local_trainers(cluster,
tp.rank = t.rank
tp.local_rank = idx
tp.log_fn = fn
tp.log_offset = 0 if fn else None
tp.log_offset = fn.tell() if fn else None
tp.cmd = cmd
procs.append(tp)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册