-
Notifications
You must be signed in to change notification settings - Fork 160
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* deprecation: drop py2 support, Update python and other CI * update image uris * update tf requirement * test only py39 * fix tox * correct docker image URI * Trigger CI * fix tf dependency * test with tf 2.8 * test with tf.25 and py37 * change everything to 2.5.0 * fix tox.ini * fix: pin protobuf version * fix: dlc name * fix: don't touch docker dir * revert changes in docker/ * fix: revert more changes * test: use p3 instances * fix: protobuf version * update: bump pip version * reduce protobuf version * fix: use py37 * update: use py38 * install tfio, separate tf builds * fix: install ssh * no-op to retrigger cb * Revert "no-op to retrigger cb" This reverts commit 9582aee. * update: use python 3.8 for ec2 env * trigger ci * install ssh in gen gpu * fix nvidia gpg * use mnist custom; update instance type; reduce reruns * fix gpg issue again * reduce horovod tests; fix test_mnist flake8 issues * fix: use p3.16 and skip gen * protobuf and use p3.2xl Co-authored-by: Satish Pasumarthi <spasuma@amazon.com>
- Loading branch information
1 parent
777d9fc
commit a58d124
Showing
23 changed files
with
257 additions
and
119 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,4 +17,4 @@ partial_branches = | |
|
||
show_missing = True | ||
|
||
fail_under = 90 | ||
fail_under = 90 |
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
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
Binary file not shown.
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
test/container/2.3.1/Dockerfile.dlc.cpu → test/container/2.7.1/Dockerfile.dlc.cpu
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
2 changes: 1 addition & 1 deletion
2
test/container/2.3.1/Dockerfile.dlc.gpu → test/container/2.7.1/Dockerfile.dlc.gpu
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
4 changes: 3 additions & 1 deletion
4
test/container/2.2.0/Dockerfile.tf → test/container/2.7.1/Dockerfile.tf.cpu
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,7 +1,9 @@ | ||
FROM tensorflow/tensorflow:2.3.0-gpu | ||
FROM tensorflow/tensorflow:2.7.1 | ||
|
||
ENV SAGEMAKER_TRAINING_MODULE sagemaker_tensorflow_container.training:main | ||
|
||
COPY dist/sagemaker_tensorflow_training-*.tar.gz /sagemaker_tensorflow_training.tar.gz | ||
RUN pip install --upgrade --no-cache-dir /sagemaker_tensorflow_training.tar.gz && \ | ||
rm /sagemaker_tensorflow_training.tar.gz | ||
RUN pip install --no-cache-dir tensorflow-io | ||
RUN apt-get update && apt-get install -y --no-install-recommends openssh-server && mkdir -p /var/run/sshd |
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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
FROM tensorflow/tensorflow:2.7.1-gpu | ||
|
||
ENV SAGEMAKER_TRAINING_MODULE sagemaker_tensorflow_container.training:main | ||
|
||
COPY dist/sagemaker_tensorflow_training-*.tar.gz /sagemaker_tensorflow_training.tar.gz | ||
RUN pip install --upgrade --no-cache-dir /sagemaker_tensorflow_training.tar.gz && \ | ||
rm /sagemaker_tensorflow_training.tar.gz | ||
RUN pip install --no-cache-dir tensorflow-io | ||
RUN apt-key del 7fa2af80 \ | ||
&& rm /etc/apt/sources.list.d/nvidia-ml.list \ | ||
&& apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64/3bf863cc.pub \ | ||
&& apt-get update \ | ||
&& apt-get install -y --no-install-recommends openssh-server && mkdir -p /var/run/sshd |
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
Oops, something went wrong.