Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
BaiXuePrincess
PaddleRec
提交
032f657c
P
PaddleRec
项目概览
BaiXuePrincess
/
PaddleRec
与 Fork 源项目一致
Fork自
PaddlePaddle / PaddleRec
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
P
PaddleRec
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
032f657c
编写于
5月 14, 2020
作者:
T
tangwei
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
add paddle cloud run
上级
1bdfd06b
变更
5
隐藏空白更改
内联
并排
Showing
5 changed file
with
12 addition
and
15 deletion
+12
-15
core/engine/cluster/cloud/cluster.sh
core/engine/cluster/cloud/cluster.sh
+0
-2
example/cloud/config.ini
example/cloud/config.ini
+7
-9
example/cloud/job.sh
example/cloud/job.sh
+1
-1
example/cloud/submit.sh
example/cloud/submit.sh
+3
-3
run.py
run.py
+1
-0
未找到文件。
core/engine/cluster/cloud/cluster.sh
浏览文件 @
032f657c
...
...
@@ -75,9 +75,7 @@ function _submit() {
function
submit_hook
()
{
_before_submit
_submit
_after_submit
}
...
...
example/cloud/config.ini
浏览文件 @
032f657c
...
...
@@ -6,19 +6,17 @@ force_reuse_output_path="True"
fs_name
=
"afs://yinglong.afs.baidu.com:9902"
fs_ugi
=
"paddle,paddle"
FLAGS_rpc_deadline
=
300000
##train data path on hdfs
train_data_path
=
"/user/paddle/benchmark/ctr/train_data_paddle"
thirdparty_path
=
"/user/paddle/benchmark/ctr/thirdparty"
#train data path on hdfs
train_data_path
=
"/user/paddle/benchmark/ctr/train_data_paddle/part_1*"
#test data path on hdfs
#test_data_path="/user/paddle/benchmark/ctr/test_data"
#the output directory on hdfs
output_path
=
"/user/paddle/ly"
#the test data path on hdfs
test_data_path
=
"/user/paddle/benchmark/ctr/test_data"
CPU_NUM
=
16
GLOG_v
=
0
FLAGS_communicator_fake_rpc
=
0
FLAGS_rpc_
retry_times
=
0
GLOG_v
=
0
FLAGS_rpc_
deadline
=
30000
0
example/cloud/job.sh
浏览文件 @
032f657c
...
...
@@ -7,4 +7,4 @@
echo
"heheda"
python
-m
paddlerec.run
-m
paddlerec.models.rank.dnn
-e
cluster
-r
worker
python
-m
paddlerec.run
-m
config.yaml
-e
cluster
-r
worker
example/cloud/submit.sh
浏览文件 @
032f657c
...
...
@@ -34,10 +34,10 @@ function package() {
echo
"package"
temp
=
${
engine_temp_path
}
cp
${
engine_workspace
}
/submit.sh
${
temp
}
cp
${
engine_workspace
}
/job.sh
${
temp
}
cp
${
engine_workspace
}
/before_hook.sh
${
temp
}
cp
${
engine_run_config
}
${
temp
}
/config.yaml
g_submitfiles
=
"
submit.sh before_hook.sh
"
g_submitfiles
=
"
job.sh before_hook.sh config.yaml
"
g_run_cmd
=
"sh job.sh"
}
\ No newline at end of file
}
run.py
浏览文件 @
032f657c
...
...
@@ -136,6 +136,7 @@ def cluster_engine(args):
flattens
=
envs
.
flatten_environs
(
_envs
,
"_"
)
flattens
[
"engine_role"
]
=
args
.
role
flattens
[
"engine_run_config"
]
=
args
.
model
flattens
[
"engine_temp_path"
]
=
tempfile
.
mkdtemp
()
update_workspace
(
flattens
)
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录