File tree Expand file tree Collapse file tree 7 files changed +10
-12
lines changed
examples/v1beta1/trial-images
sdk/python/v1beta1/kubeflow/katib/constants Expand file tree Collapse file tree 7 files changed +10
-12
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ ADD examples/v1beta1/trial-images/darts-cnn-cifar10 ${TARGET_DIR}
66
77WORKDIR ${TARGET_DIR}
88
9+ RUN pip install --prefer-binary --no-cache-dir torch==2.2.1 torchvision==0.17.1
910RUN pip install --prefer-binary --no-cache-dir -r requirements.txt
1011RUN chgrp -R 0 ${TARGET_DIR} \
1112 && chmod -R g+rwX ${TARGET_DIR}
Original file line number Diff line number Diff line change 11# We need to use the nvcr.io/nvidia/pytorch image as a base image to support both linux/amd64 and linux_arm64 platforms.
2- # PyTorch=1.13 .0, cuda=11.8.0
3- # Ref: https://docs.nvidia.com/deeplearning/frameworks/pytorch-release-notes/rel-22-11 .html#rel-22-11
4- FROM nvcr.io/nvidia/pytorch:22.11 -py3
2+ # PyTorch=2.2 .0, cuda=12.3.2
3+ # Ref: https://docs.nvidia.com/deeplearning/frameworks/pytorch-release-notes/rel-24-01 .html#rel-24-01
4+ FROM nvcr.io/nvidia/pytorch:24.01 -py3
55
66ENV TARGET_DIR /opt/darts-cnn-cifar10
77
Original file line number Diff line number Diff line change 1- torch == 1.13.1
2- torchvision == 0.14.1
31Pillow >= 9.1.1
Original file line number Diff line number Diff line change @@ -6,7 +6,8 @@ WORKDIR /opt/pytorch-mnist
66
77# Add folder for the logs.
88RUN mkdir /katib
9- RUN pip install --prefer-binary --no-cache-dir -r requirements.txt
9+ RUN pip install --prefer-binary --no-cache-dir torch==2.2.1 torchvision==0.17.1
10+ RUN pip install --prefer-binary --no-cache-dir -r requirements-cpu.txt
1011
1112RUN chgrp -R 0 /opt/pytorch-mnist \
1213 && chmod -R g+rwX /opt/pytorch-mnist \
Original file line number Diff line number Diff line change 11# We need to use the nvcr.io/nvidia/pytorch image as a base image to support both linux/amd64 and linux_arm64 platforms.
2- # PyTorch=1.13 .0, cuda=11.8.0
3- # Ref: https://docs.nvidia.com/deeplearning/frameworks/pytorch-release-notes/rel-22-11 .html#rel-22-11
4- FROM nvcr.io/nvidia/pytorch:22.11 -py3
2+ # PyTorch=2.2 .0, cuda=12.3.2
3+ # Ref: https://docs.nvidia.com/deeplearning/frameworks/pytorch-release-notes/rel-24-01 .html#rel-24-01
4+ FROM nvcr.io/nvidia/pytorch:24.01 -py3
55
66ADD examples/v1beta1/trial-images/pytorch-mnist /opt/pytorch-mnist
77
Original file line number Diff line number Diff line change 11cloudml-hypertune == 0.1.0.dev6
2- torch == 1.13.1
3- torchvision == 0.14.1
42Pillow >= 9.1.1
Original file line number Diff line number Diff line change 5252# TODO (andreyvelich): Implement list_base_images function to get each image description.
5353BASE_IMAGE_TENSORFLOW = "docker.io/tensorflow/tensorflow:2.13.0"
5454BASE_IMAGE_TENSORFLOW_GPU = "docker.io/tensorflow/tensorflow:2.13.0-gpu"
55- BASE_IMAGE_PYTORCH = "docker.io/pytorch/pytorch:1.12 .1-cuda11.3 -cudnn8-runtime"
55+ BASE_IMAGE_PYTORCH = "docker.io/pytorch/pytorch:2.2 .1-cuda12.1 -cudnn8-runtime"
5656BASE_IMAGE_MXNET = "docker.io/mxnet/python:1.9.1_native_py3"
5757
5858DEFAULT_DB_MANAGER_ADDRESS = "katib-db-manager.kubeflow:6789"
You can’t perform that action at this time.
0 commit comments