提交 8dae87ef 编写于 作者: T tangwei

add paddle cloud run

上级 67869ede
...@@ -31,8 +31,7 @@ from paddlerec.core.trainers.transpiler_trainer import TranspileTrainer ...@@ -31,8 +31,7 @@ from paddlerec.core.trainers.transpiler_trainer import TranspileTrainer
class ClusterTrainer(TranspileTrainer): class ClusterTrainer(TranspileTrainer):
def processor_register(self): def processor_register(self):
#role = PaddleCloudRoleMaker() role = PaddleCloudRoleMaker()
role = MPISymetricRoleMaker()
fleet.init(role) fleet.init(role)
if fleet.is_server(): if fleet.is_server():
......
...@@ -65,7 +65,7 @@ function submit() { ...@@ -65,7 +65,7 @@ function submit() {
g_run_stage="submit" g_run_stage="submit"
g_job_name="paddle_rec_mpi" g_job_name="paddle_rec_mpi"
g_hdfs_path=$g_hdfs_path g_hdfs_path=$g_hdfs_path
g_job_entry="worker.sh" g_job_entry="job.sh"
engine_hdfs_output=${engine_hdfs_output}/$(date +%Y%m%d%H%M%S) engine_hdfs_output=${engine_hdfs_output}/$(date +%Y%m%d%H%M%S)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册