Skip to content

Commit

Permalink
fix: minor changes
Browse files Browse the repository at this point in the history
* add Dockerfile context to github workflow yaml

* add commenets to the head of Dockerfile
  • Loading branch information
champon1020 committed Mar 30, 2024
1 parent 9e1d6c5 commit fbcb75b
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/publish-example-images.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,5 +57,7 @@ jobs:
context: examples/mxnet/tune
- component-name: pytorch-dist-mnist
dockerfile: examples/pytorch/mnist/Dockerfile
context: examples/pytorch/mnist
- component-name: pytorch-dist-mnist-mpi
dockerfile: examples/pytorch/mnist/Dockerfile-mpi
context: examples/pytorch/mnist
3 changes: 3 additions & 0 deletions examples/pytorch/elastic/imagenet/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# We need to use the nvcr.io/nvidia/pytorch image as a base image to support both linux/amd64 and linux_arm64 platforms.
# PyTorch=2.2.0, cuda=12.3.2
# Ref: https://docs.nvidia.com/deeplearning/frameworks/pytorch-release-notes/rel-24-01.html#rel-24-01
ARG BASE_IMAGE=nvcr.io/nvidia/pytorch:24.01-py3
FROM $BASE_IMAGE

Expand Down
3 changes: 3 additions & 0 deletions examples/pytorch/mnist/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# We need to use the nvcr.io/nvidia/pytorch image as a base image to support both linux/amd64 and linux_arm64 platforms.
# PyTorch=2.2.0, cuda=12.3.2
# Ref: https://docs.nvidia.com/deeplearning/frameworks/pytorch-release-notes/rel-24-01.html#rel-24-01
FROM nvcr.io/nvidia/pytorch:24.01-py3

RUN pip install tensorboardX==2.6.2
Expand Down
3 changes: 3 additions & 0 deletions examples/pytorch/mnist/Dockerfile-mpi
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# We need to use the nvcr.io/nvidia/pytorch image as a base image to support both linux/amd64 and linux_arm64 platforms.
# PyTorch=2.2.0, cuda=12.3.2
# Ref: https://docs.nvidia.com/deeplearning/frameworks/pytorch-release-notes/rel-24-01.html#rel-24-01
FROM nvcr.io/nvidia/pytorch:24.01-py3

RUN pip install tensorboardX==2.6.2
Expand Down
3 changes: 3 additions & 0 deletions examples/pytorch/smoke-dist/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# We need to use the nvcr.io/nvidia/pytorch image as a base image to support both linux/amd64 and linux_arm64 platforms.
# PyTorch=2.2.0, cuda=12.3.2
# Ref: https://docs.nvidia.com/deeplearning/frameworks/pytorch-release-notes/rel-24-01.html#rel-24-01
FROM nvcr.io/nvidia/pytorch:24.01-py3

RUN mkdir -p /opt/mlkube
Expand Down

0 comments on commit fbcb75b

Please sign in to comment.