-
Notifications
You must be signed in to change notification settings - Fork 75
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tutorial and usage update #181
Conversation
doc/tutorial_cn.md
Outdated
`paddlecloud`是提交PaddlePaddleCloud分布式训练任务的命令行工具。 | ||
|
||
步骤1: 访问链接 https://github.com/PaddlePaddle/cloud/releases 下载最新的`paddlecloud`二进制客户端,并把`paddlecloud`拷贝到环境变量$PATH中的路径下,比如:`/usr/local/bin` | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do we need to put a chmod +x bin
here explicity to teach fresh new user?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good point! Done.
doc/tutorial_cn.md
Outdated
使用的GPU资源`-gpu 1`、并行度`-parallelism 1`(训练节点个数),启动命令`-entry "python train.py"` | ||
和任务程序目录`fit_a_line/`。 | ||
|
||
***说明:*** 如果希望查看完整的任务提交参数说明,可以执行`paddlecloud submit -h`。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
说明1, 说明2
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
doc/tutorial_cn.md
Outdated
paddlecloud file ls /pfs/dlnel/home/wuyi05@baidu.com/jobs/fit_a_line/output/ | ||
pass-0001.tar | ||
... | ||
paddlecloud file get /pfs/dlnel/home/wuyi05@baidu.com/jobs/fit_a_line/output/pass-0001.tar |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing local filename ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
doc/usage_cn.md
Outdated
@@ -173,43 +179,6 @@ paddlecloud submit -jobname my-paddlecloud-job \ | |||
- `-passes`:执行训练的pass个数 | |||
- `package`:HDFS 训练任务package的路径 | |||
|
|||
### 使用自定义的Runtime Docker Image |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
我们不需要自定义runtime Docker Image么?
doc/usage_cn.md
Outdated
``` | ||
|
||
- 提交基于V2 API的训练任务 | ||
|
||
```bash | ||
paddlecloud submit -jobname my-paddlecloud-job \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe the previous style is convenient to COPY && PASTE.
@@ -56,7 +56,7 @@ Use "paddlecloud flags" for a list of top-level flags | |||
|
|||
不同的PaddlePaddleCloud集群环境会提供不同的分布式存储服务。目前PaddlePaddleCloud支持HDFS和CephFS。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What's the relation of usage_cn.md and tutorial.md? usage_cn.md is for internal cluster and another one is for DLNEL?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tutorial是类似quick_start的东西,快速使用和上手的教程。只涉及最少的使用流程。usage中将包含更详细的使用说明
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Fix #180
Fix #2