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

update tutorial #202

Merged
merged 6 commits into from
Jul 6, 2017
Merged

Conversation

Yancey1989
Copy link
Collaborator

Fixed #201

Mac OSX| paddlecloud.dawin
Windows| paddlecloud.exe
Linux | paddlecloud.x86_64

步骤1: 访问链接 https://github.com/PaddlePaddle/cloud/releases 下载最新的`paddlecloud`二进制客户端,并把`paddlecloud`拷贝到环境变量$PATH中的路径下,比如:`/usr/local/bin`,然后增加可执行权限:`chmod +x /usr/local/bin/paddlecloud`
Copy link
Collaborator

Choose a reason for hiding this comment

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

Remove this line.

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.

@@ -65,7 +73,7 @@ mkdir fit_a_line
cd fit_a_line
wget https://github.com/PaddlePaddle/cloud/blob/develop/demo/fit_a_line/train.py
cd ..
paddlecloud submit -jobname fit_a_line -cpu 1 -gpu 1 -parallelism 1 -entry "python train.py" fit_a_line/
paddlecloud submit -jobname fit-a-line -cpu 1 -gpu 1 -parallelism 1 -entry "python train.py" fit_a_line/
```

可以看到在提交任务的时候,我们指定了任务的名称`-jobname fit_a_line`、使用的CPU资源`-cpu 1`、
Copy link
Collaborator

Choose a reason for hiding this comment

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

Should replace below all "fit_a_line".

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.

```

可以看到在提交任务的时候,我们指定了任务的名称`-jobname fit_a_line`、使用的CPU资源`-cpu 1`、
可以看到在提交任务的时候,我们指定了任务的名称`-jobname fit-a-line`、使用的CPU资源`-cpu 1`、
Copy link
Collaborator

Choose a reason for hiding this comment

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

下面的输出应该也得修改。。。。比如paddlecloud get jobs的。。或者搜索下,除了目录的部分都得替换。

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.

Copy link
Collaborator

@typhoonzero typhoonzero left a comment

Choose a reason for hiding this comment

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

LGTM!

@Yancey1989 Yancey1989 merged commit fa66e4e into PaddlePaddle:develop Jul 6, 2017
@Yancey1989 Yancey1989 deleted the doc_client_platform branch July 6, 2017 11:42
Yancey1989 added a commit that referenced this pull request Jul 23, 2017
* tutorial and usage update

* first add

* rm not need

* fix bugs

* add logging

* add docker file

* fix by yancey's comment

* update

* save parameter

* fix yaml

* fix bugs

* fix bugs

* fix convert bug

* fix by wuyi's comment

* add readme

* rm logging.confg

* modify README.md

* modify README.md

* add start command

* update

* update by comments

* upload files with recursion

* prettify output

* remove replica set name

* recursion to loop

* dlnel index page (#194)

* switch to dlnel index page

* mount template files

* delete unused comments

* add port env

* update tutorial (#202)

* update tutorial

* update

* remove unused line

* update

* update

* update

* test format

* modify travis.yaml

* fix

* fix

* fix sudo

* add travis

* add glide

* add gimme

* fix style

* fix style

* add files

* modify sh

* fix by wuyi's comments

* fix pre-commit bugs

* Format quota print (#205)

* forat quota print

* update

* add sleep for pserver get ready (#216)

* Update readme (#214)

* update readme

* update

* Enable ingress notebook access (#219)

* enable ingress notebook access

* update notebook resource

* test ok

* fix

* fix

* fix login url (#229)

* Fix invalid job path (#227)

* fix invalid job path

* update doc

* check job name in clint (#231)

* [Done]Fault tolerant job (#212)

* fault tolerant job

* ft job

* update

* tested job submit with ft job

* update
Yancey1989 added a commit that referenced this pull request Jul 23, 2017
* tutorial and usage update

* first add

* rm not need

* fix bugs

* add logging

* add docker file

* fix by yancey's comment

* update

* save parameter

* fix yaml

* fix bugs

* fix bugs

* fix convert bug

* fix by wuyi's comment

* add readme

* rm logging.confg

* modify README.md

* modify README.md

* add start command

* update

* update by comments

* upload files with recursion

* prettify output

* remove replica set name

* recursion to loop

* dlnel index page (#194)

* switch to dlnel index page

* mount template files

* delete unused comments

* add port env

* update tutorial (#202)

* update tutorial

* update

* remove unused line

* update

* update

* update

* test format

* modify travis.yaml

* fix

* fix

* fix sudo

* add travis

* add glide

* add gimme

* fix style

* fix style

* add files

* modify sh

* fix by wuyi's comments

* fix pre-commit bugs

* Format quota print (#205)

* forat quota print

* update

* add sleep for pserver get ready (#216)

* Update readme (#214)

* update readme

* update

* Enable ingress notebook access (#219)

* enable ingress notebook access

* update notebook resource

* test ok

* fix

* fix

* fix login url (#229)

* Fix invalid job path (#227)

* fix invalid job path

* update doc

* check job name in clint (#231)

* [Done]Fault tolerant job (#212)

* fault tolerant job

* ft job

* update

* tested job submit with ft job

* update

* fix ci
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.

2 participants