forked from aws/deep-learning-containers
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'aws/master'
* aws/master: [doc] Minor corrections on available_images (aws#1061) [huggingface_pytorch] upgrade PyTorch to 1.7.1 (aws#1025) Fix for hf canary tests (aws#1057) [test][huggingface_tensorflow, huggingface_pytorch] SM local and remote tests (aws#1021) hf transformer version update (aws#1060) [build] update EIA buildspec and upgrade ruamel_yaml package (aws#1051) bump transformer version (aws#1056) Including hf images into canary tests (aws#1050) fix tf1 neuron buildspec (aws#1048) [build,test] Disable dedicated telemetry tests and tags (aws#1045) [test][sagemaker] Execute SM local tests in parallel (aws#1027) Temporaru disabling sagemaker tests for HF containers. (aws#1042) Add automatic yes to prompts for apt (aws#1043)
- Loading branch information
Showing
49 changed files
with
1,908 additions
and
41 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
account_id: &ACCOUNT_ID <set-$ACCOUNT_ID-in-environment> | ||
region: ®ION <set-$REGION-in-environment> | ||
base_framework: &BASE_FRAMEWORK pytorch | ||
framework: &FRAMEWORK !join [ "huggingface_", *BASE_FRAMEWORK] | ||
version: &VERSION 1.6.0 | ||
short_version: &SHORT_VERSION 1.6 | ||
|
||
repository_info: | ||
training_repository: &TRAINING_REPOSITORY | ||
image_type: &TRAINING_IMAGE_TYPE training | ||
root: !join [ "huggingface/", *BASE_FRAMEWORK, "/", *TRAINING_IMAGE_TYPE ] | ||
repository_name: &REPOSITORY_NAME !join ["pr", "-", "huggingface", "-", *BASE_FRAMEWORK, "-", *TRAINING_IMAGE_TYPE] | ||
repository: &REPOSITORY !join [ *ACCOUNT_ID, .dkr.ecr., *REGION, .amazonaws.com/, | ||
*REPOSITORY_NAME ] | ||
|
||
images: | ||
BuildHuggingFacePytorchGpuPy37Cu110TrainingDockerImage: | ||
<<: *TRAINING_REPOSITORY | ||
build: &HUGGINGFACE_PYTORCH_GPU_TRAINING_PY3 false | ||
image_size_baseline: &IMAGE_SIZE_BASELINE 15000 | ||
device_type: &DEVICE_TYPE gpu | ||
python_version: &DOCKER_PYTHON_VERSION py3 | ||
tag_python_version: &TAG_PYTHON_VERSION py36 | ||
cuda_version: &CUDA_VERSION cu110 | ||
os_version: &OS_VERSION ubuntu18.04 | ||
transformers_version: &TRANSFORMERS_VERSION 4.5.0 | ||
datasets_version: &DATASETS_VERSION 1.5.0 | ||
tag: !join [ *VERSION, '-', 'transformers', *TRANSFORMERS_VERSION, '-', *DEVICE_TYPE, '-', *TAG_PYTHON_VERSION, '-', | ||
*CUDA_VERSION, '-', *OS_VERSION ] | ||
docker_file: !join [ docker/, *SHORT_VERSION, /, *DOCKER_PYTHON_VERSION, /, | ||
*CUDA_VERSION, /Dockerfile., *DEVICE_TYPE ] |
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
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
Empty file.
13 changes: 13 additions & 0 deletions
13
test/sagemaker_tests/huggingface_pytorch/training/__init__.py
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 @@ | ||
# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"). You | ||
# may not use this file except in compliance with the License. A copy of | ||
# the License is located at | ||
# | ||
# http://aws.amazon.com/apache2.0/ | ||
# | ||
# or in the "license" file accompanying this file. This file is | ||
# distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF | ||
# ANY KIND, either express or implied. See the License for the specific | ||
# language governing permissions and limitations under the License. | ||
from __future__ import absolute_import |
Oops, something went wrong.