File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -159,6 +159,8 @@ docker build -t your_repo/paddle:mypaddle .
159
159
docker push your_repo/paddle:mypaddle
160
160
```
161
161
162
+ 注意上述命令中` your_repo ` 表示读者所使用的Docker镜像仓库地址,读者需要替换成自己使用的仓库地址。下文使用` your_repo/paddle:mypaddle ` 这个地址来表示此步骤所构建出的镜像。
163
+
162
164
### 上传训练文件
163
165
164
166
本文使用PaddlePaddle官方的[ recommendation demo] ( http://www.paddlepaddle.org/doc/demo/index.html#recommendation ) 作为这次训练的内容,我们将训练文件与数据放在一个job name命名的目录中,上传到MFS共享存储。完成后MFS上的文件内容大致如下:
@@ -244,6 +246,8 @@ spec:
244
246
245
247
` CONF_PADDLE_GRADIENT_NUM` 表示训练节点数量,即`--num_gradient_servers`参数
246
248
249
+ 这些参数的具体描述,读者可以查看[这里](http://www.paddlepaddle.org/doc/ui/cmd_argument/detail_introduction.html#parameter-server-and-distributed-communication)。
250
+
247
251
编写完YAML文件后,可以使用Kubernetes的命令行工具创建job。
248
252
249
253
` ` ` bash
You can’t perform that action at this time.
0 commit comments