-
Notifications
You must be signed in to change notification settings - Fork 77
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
update tutorial #202
Conversation
doc/tutorial_cn.md
Outdated
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` |
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.
Remove this line.
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
@@ -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`、 |
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.
Should replace below all "fit_a_line".
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.
``` | ||
|
||
可以看到在提交任务的时候,我们指定了任务的名称`-jobname fit_a_line`、使用的CPU资源`-cpu 1`、 | ||
可以看到在提交任务的时候,我们指定了任务的名称`-jobname fit-a-line`、使用的CPU资源`-cpu 1`、 |
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.
下面的输出应该也得修改。。。。比如paddlecloud get jobs
的。。或者搜索下,除了目录的部分都得替换。
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.
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!
* 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
* 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
Fixed #201