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

Fix Cuda version in training container for ENAS #1172

Merged
merged 1 commit into from
Apr 29, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions examples/v1alpha3/nas/enas-cnn-cifar10/Dockerfile.gpu
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG cuda_version=9.0
ARG cuda_version=10.0
ARG cudnn_version=7
FROM nvidia/cuda:${cuda_version}-cudnn${cudnn_version}-devel

Expand All @@ -14,7 +14,7 @@ RUN apt-get update && apt-get install -y software-properties-common && \
libgl1-mesa-glx \
libhdf5-dev \
openmpi-bin \
python3.5 \
python3 \
python3-pip \
python3-setuptools \
python3-dev \
Expand All @@ -29,4 +29,4 @@ RUN pip3 install --upgrade pip
RUN pip3 install --no-cache-dir -r requirements-gpu.txt
ENV PYTHONPATH /usr/src/app/github.com/kubeflow/katib/examples/v1alpha3/nas/enas-cnn-cifar10

ENTRYPOINT ["python3.5", "-u", "RunTrial.py"]
ENTRYPOINT ["python3", "-u", "RunTrial.py"]
2 changes: 1 addition & 1 deletion examples/v1alpha3/nas/enas-example-cpu.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ spec:
- name: {{.Trial}}
image: docker.io/kubeflowkatib/enas-cnn-cifar10-cpu
command:
- "python3.5"
- "python3"
- "-u"
- "RunTrial.py"
{{- with .HyperParameters}}
Expand Down
2 changes: 1 addition & 1 deletion examples/v1alpha3/nas/enas-example-gpu.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ spec:
- name: {{.Trial}}
image: docker.io/kubeflowkatib/enas-cnn-cifar10-gpu
command:
- "python3.5"
- "python3"
- "-u"
- "RunTrial.py"
{{- with .HyperParameters}}
Expand Down