Skip to content
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

Merged
merged 3 commits into from
Jun 29, 2017
Merged

Conversation

typhoonzero
Copy link
Collaborator

@typhoonzero typhoonzero commented Jun 26, 2017

Fix #180
Fix #2

`paddlecloud`是提交PaddlePaddleCloud分布式训练任务的命令行工具。

步骤1: 访问链接 https://github.com/PaddlePaddle/cloud/releases 下载最新的`paddlecloud`二进制客户端,并把`paddlecloud`拷贝到环境变量$PATH中的路径下,比如:`/usr/local/bin`

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?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point! Done.

使用的GPU资源`-gpu 1`、并行度`-parallelism 1`(训练节点个数),启动命令`-entry "python train.py"`
和任务程序目录`fit_a_line/`。

***说明:*** 如果希望查看完整的任务提交参数说明,可以执行`paddlecloud submit -h`。
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

说明1, 说明2

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

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
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing local filename ?

Copy link
Collaborator Author

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
Copy link
Collaborator

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 \
Copy link
Collaborator

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。
Copy link
Collaborator

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?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tutorial是类似quick_start的东西,快速使用和上手的教程。只涉及最少的使用流程。usage中将包含更详细的使用说明

Copy link
Collaborator

@Yancey1989 Yancey1989 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@typhoonzero typhoonzero merged commit 7aa6486 into PaddlePaddle:develop Jun 29, 2017
@typhoonzero typhoonzero deleted the update_doc branch November 2, 2017 10:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants