-
Notifications
You must be signed in to change notification settings - Fork 221
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update dockerfile and examples to v1alpha2 (#130)
- Loading branch information
1 parent
6f627a8
commit 635e145
Showing
13 changed files
with
174 additions
and
89 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
FROM alpine:3.8 AS build | ||
FROM alpine:3.10 AS build | ||
|
||
# Install kubectl. | ||
ENV K8S_VERSION v1.13.2 | ||
ENV K8S_VERSION v1.15.0 | ||
RUN apk add --no-cache wget | ||
RUN wget -q https://storage.googleapis.com/kubernetes-release/release/${K8S_VERSION}/bin/linux/amd64/kubectl | ||
RUN chmod +x ./kubectl | ||
RUN mv ./kubectl /bin/kubectl | ||
|
||
FROM alpine:3.8 | ||
FROM alpine:3.10 | ||
COPY --from=build /bin/kubectl /bin/kubectl | ||
COPY deliver_kubectl.sh . | ||
ENTRYPOINT ["./deliver_kubectl.sh"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,8 @@ | ||
FROM uber/horovod:0.15.2-tf1.12.0-torch1.0.0-py2.7 | ||
|
||
# Temporary fix until Horovod pushes out a new release. | ||
# See https://github.com/uber/horovod/pull/700 | ||
RUN sed -i '/^NCCL_SOCKET_IFNAME.*/d' /etc/nccl.conf | ||
FROM horovod/horovod:0.16.4-tf1.14.0-torch1.1.0-mxnet1.4.1-py3.6 | ||
|
||
RUN mkdir /tensorflow | ||
WORKDIR "/tensorflow" | ||
RUN git clone -b cnn_tf_v1.12_compatible https://github.com/tensorflow/benchmarks | ||
RUN git clone https://github.com/tensorflow/benchmarks | ||
WORKDIR "/tensorflow/benchmarks" | ||
|
||
CMD mpirun \ | ||
python scripts/tf_cnn_benchmarks/tf_cnn_benchmarks.py \ | ||
--model resnet101 \ | ||
--batch_size 64 \ | ||
--variable_update horovod | ||
CMD ["/bin/bash"] |
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.