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

Submit Paddle Job with v2 API #1906

Closed
wants to merge 2 commits into from

Conversation

Yancey1989
Copy link
Contributor

@Yancey1989 Yancey1989 commented Apr 26, 2017

测试方法:

  1. 拷贝目录demo/word2vec/cloud->/yanxu05/word2vec/
/yanxu05/word2vec/
    |-api_train_v2.py
    `-job
        |-paddle_job.py
        ...
  1. 本地模拟Notebook中的提交过程:
docker run -it -v $PWD:/paddle -v ~/.kube/config:/root/.kube/config yancey1989/paddle-cloud /bin/bash`
cd /paddle
PADDLE_NOTEBOOK=YES python api_train_v2.py

另外:base-image目录中的脚本为保证跑通流程临时写的服务发现,获取trainerid等功能,后续会移植到trainer中。

TODO:

  • 支持提交GPU任务
  • 使用tls认证替换现在service_account认证方式

@Yancey1989
Copy link
Contributor Author

Move to repo: https://github.com/Yancey1989/paddle-job and close this PR.

@Yancey1989 Yancey1989 closed this May 4, 2017
@Yancey1989 Yancey1989 deleted the submit-paddle-job branch May 4, 2017 02:26
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.

1 participant