未验证 提交 41902dda 编写于 作者: W wangzhen38 提交者: GitHub

[gpups update] add gpups ci log print (#50522)

上级 ff86aeab
...@@ -27,8 +27,9 @@ class GpuBoxTest(unittest.TestCase): ...@@ -27,8 +27,9 @@ class GpuBoxTest(unittest.TestCase):
exitcode = os.system('bash gpubox_run.sh') exitcode = os.system('bash gpubox_run.sh')
if os.path.exists('./train_data'): if os.path.exists('./train_data'):
os.system('rm -rf train_data') os.system('rm -rf train_data')
if os.path.exists('./log'): if exitcode:
os.system('rm -rf log') os.system('cat ./log/worker.0.log')
assert exitcode == 0 assert exitcode == 0
......
...@@ -57,8 +57,9 @@ from paddle.incubate.fleet.parameter_server.distribute_transpiler.distributed_st ...@@ -57,8 +57,9 @@ from paddle.incubate.fleet.parameter_server.distribute_transpiler.distributed_st
StrategyFactory, StrategyFactory,
) )
from paddle.fluid.transpiler.details.checkport import wait_server_ready from paddle.distributed.fleet.base.private_helper_function import (
wait_server_ready,
)
from paddle.fluid.incubate.fleet.parameter_server.mode import PSMode from paddle.fluid.incubate.fleet.parameter_server.mode import PSMode
from paddle.fluid.incubate.fleet.base.fleet_base import DistributedOptimizer from paddle.fluid.incubate.fleet.base.fleet_base import DistributedOptimizer
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册