https://github.com/kubeflow/katib
Raw File
Tip revision: 0d8815f6b97929c4ee657cc3b40299a7c939ea3d authored by avelichk on 01 September 2020, 10:50:18 UTC
Remove backoff
Tip revision: 0d8815f
Dockerfile
FROM pytorch/pytorch:1.0-cuda10.0-cudnn7-runtime

RUN mkdir -p /katib /opt/mnist/src

WORKDIR /opt/mnist/src
ADD mnist.py /opt/mnist/src

RUN chgrp -R 0 /opt/mnist \
  && chmod -R g+rwX /opt/mnist \
  && chgrp -R 0 /katib \
  && chmod -R g+rwX /katib

ENTRYPOINT ["python", "/opt/mnist/src/mnist.py"]
back to top