-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
Fix kube jobs generator's bugs. #11557
Conversation
benchmark/fluid/kube_gen_job.py
Outdated
envs.append({"name": "ENTRY", "value": args.entry}) | ||
envs.append({"name": "PADDLE_INIT_PORT", "value": str(args.port)}) | ||
#envs.append({"name": "PADDLE_INIT_PORT", "value": str(args.port)}) |
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.
Delete the comment code.
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.
benchmark/fluid/Dockerfile
Outdated
|
||
RUN sh -c 'echo "import paddle.v2 as paddle\npaddle.dataset.cifar.train10()\npaddle.dataset.flowers.fetch()" | python' | ||
RUN sh -c 'echo "import paddle.v2 as paddle\npaddle.dataset.mnist.train()\npaddle.dataset.mnist.test()\npaddle.dataset.imdb.fetch()" | python' | ||
RUN sh -c 'echo "import paddle.v2 as paddle\npaddle.dataset.imikolov.fetch()" | python' | ||
RUN pip uninstall -y paddlepaddle && mkdir /workspace | ||
|
||
ADD *.whl / |
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.
Don't move ADD *.whl /
? We can cache ADD https://raw.githubusercontent.com/PaddlePaddle/cloud/develop/docker/paddle_k8s /usr/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.
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.
I see some duplicate changes in another PR, please merge that and update this PR later.
benchmark/fluid/Dockerfile
Outdated
@@ -1,11 +1,17 @@ | |||
FROM nvidia/cuda:9.0-cudnn7-devel-ubuntu16.04 | |||
|
|||
ARG UBUNTU_MIRROR |
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.
Not all versions of docker support ARG
. And change one line of Dockerfile seems easier?
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
No description provided.