-
Notifications
You must be signed in to change notification settings - Fork 463
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Skip EFA tests for PT 1.13 * formatting * fix comment * use pt201 and above fixture * test 1.13 * revert toml * revert toml * revert gdrcopy skip * revert unused efa import * revert gdrcopy skip * test sagemaker only fixture * fix comments * revert toml * split ec2 sm buildspec * split ec2 sm * add sm buildspec --------- Co-authored-by: arjkesh <[email protected]>
- Loading branch information
1 parent
3a118b1
commit 4714fd1
Showing
5 changed files
with
68 additions
and
31 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,64 @@ | ||
account_id: &ACCOUNT_ID <set-$ACCOUNT_ID-in-environment> | ||
prod_account_id: &PROD_ACCOUNT_ID 763104351884 | ||
region: ®ION <set-$REGION-in-environment> | ||
framework: &FRAMEWORK pytorch | ||
version: &VERSION 1.13.1 | ||
short_version: &SHORT_VERSION "1.13" | ||
arch_type: x86 | ||
autopatch_build: "True" | ||
|
||
repository_info: | ||
training_repository: &TRAINING_REPOSITORY | ||
image_type: &TRAINING_IMAGE_TYPE training | ||
root: !join [ *FRAMEWORK, "/", *TRAINING_IMAGE_TYPE ] | ||
repository_name: &REPOSITORY_NAME !join [ pr, "-", *FRAMEWORK, "-", *TRAINING_IMAGE_TYPE ] | ||
repository: &REPOSITORY !join [ *ACCOUNT_ID, .dkr.ecr., *REGION, .amazonaws.com/, *REPOSITORY_NAME ] | ||
release_repository_name: &RELEASE_REPOSITORY_NAME !join [ *FRAMEWORK, "-", *TRAINING_IMAGE_TYPE ] | ||
release_repository: &RELEASE_REPOSITORY !join [ *PROD_ACCOUNT_ID, .dkr.ecr., *REGION, .amazonaws.com/, *RELEASE_REPOSITORY_NAME ] | ||
|
||
context: | ||
training_context: &TRAINING_CONTEXT | ||
changehostname: | ||
source: docker/build_artifacts/changehostname.c | ||
target: changehostname.c | ||
start_with_right_hostname: | ||
source: docker/build_artifacts/start_with_right_hostname.sh | ||
target: start_with_right_hostname.sh | ||
example_mnist_file: | ||
source: docker/build_artifacts/mnist.py | ||
target: mnist.py | ||
deep_learning_container: | ||
source: ../../src/deep_learning_container.py | ||
target: deep_learning_container.py | ||
|
||
images: | ||
BuildSageMakerCPUPTTrainPy3DockerImage: | ||
<<: *TRAINING_REPOSITORY | ||
build: &PYTORCH_CPU_TRAINING_PY3 false | ||
image_size_baseline: 6200 | ||
device_type: &DEVICE_TYPE cpu | ||
python_version: &DOCKER_PYTHON_VERSION py3 | ||
tag_python_version: &TAG_PYTHON_VERSION py39 | ||
os_version: &OS_VERSION ubuntu20.04 | ||
tag: !join [ *VERSION, "-", *DEVICE_TYPE, "-", *TAG_PYTHON_VERSION, "-", *OS_VERSION, "-sagemaker" ] | ||
latest_release_tag: !join [ *VERSION, "-", *DEVICE_TYPE, "-", *TAG_PYTHON_VERSION, "-", *OS_VERSION, "-sagemaker" ] | ||
docker_file: !join [ docker/, *SHORT_VERSION, /, *DOCKER_PYTHON_VERSION, /Dockerfile., *DEVICE_TYPE ] | ||
target: sagemaker | ||
context: | ||
<<: *TRAINING_CONTEXT | ||
BuildSageMakerGPUPTTrainPy3DockerImage: | ||
<<: *TRAINING_REPOSITORY | ||
build: &PYTORCH_GPU_TRAINING_PY3 false | ||
image_size_baseline: 14000 | ||
device_type: &DEVICE_TYPE gpu | ||
python_version: &DOCKER_PYTHON_VERSION py3 | ||
tag_python_version: &TAG_PYTHON_VERSION py39 | ||
cuda_version: &CUDA_VERSION cu117 | ||
os_version: &OS_VERSION ubuntu20.04 | ||
tag: !join [ *VERSION, "-", *DEVICE_TYPE, "-", *TAG_PYTHON_VERSION, "-", *CUDA_VERSION, "-", *OS_VERSION, "-sagemaker" ] | ||
latest_release_tag: !join [ *VERSION, "-", *DEVICE_TYPE, "-", *TAG_PYTHON_VERSION, "-", *CUDA_VERSION, "-", *OS_VERSION, "-sagemaker" ] | ||
docker_file: !join [ docker/, *SHORT_VERSION, /, *DOCKER_PYTHON_VERSION, /, *CUDA_VERSION, /Dockerfile., | ||
*DEVICE_TYPE ] | ||
target: sagemaker | ||
context: | ||
<<: *TRAINING_CONTEXT |
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