Skip to content

Commit 5060f12

Browse files
authored
Fix fixture addition from PR #4200 (#4364)
* Fix fixture addition from PR #4200 * Update ['dlc_developer_config.toml'] dlc_developer_config.toml: { 'build': { 'build_frameworks': ['tensorflow'], 'build_inference': False, 'build_training': True}, 'buildspec_override': { 'dlc-pr-tensorflow-2-training': 'tensorflow/training/buildspec-2-16-sm.yml'}, 'dev': { 'deep_canary_mode': False, 'graviton_mode': False, 'neuronx_mode': False}, 'test': { 'ec2_tests': False, 'ecs_tests': False, 'eks_tests': False, 'sagemaker_local_tests': False, 'sagemaker_remote_tests': True, 'sanity_tests': False}} * add build tag override * update * Update buildspec-2-16-sm.yml * Restore ['dlc_developer_config.toml'] dlc_developer_config.toml: ('Restore to ' 'https://raw.githubusercontent.com/aws/deep-learning-containers/master/dlc_developer_config.toml') * Restore ['dlc_developer_config.toml'] dlc_developer_config.toml: ('Restore to ' 'https://raw.githubusercontent.com/aws/deep-learning-containers/master/dlc_developer_config.toml')
1 parent da5fedd commit 5060f12

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

tensorflow/training/buildspec-2-16-sm.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ images:
3838
tag: !join [ *VERSION, "-", *DEVICE_TYPE, "-", *TAG_PYTHON_VERSION, "-", *OS_VERSION, "-sagemaker" ]
3939
latest_release_tag: !join [ *VERSION, "-", *DEVICE_TYPE, "-", *TAG_PYTHON_VERSION, "-", *OS_VERSION, "-sagemaker" ]
4040
docker_file: !join [ docker/, *SHORT_VERSION, /, *DOCKER_PYTHON_VERSION, /Dockerfile., *DEVICE_TYPE ]
41+
# build_tag_override: "pr:2.16.2-cpu-py310-ubuntu20.04-sagemaker-pr-4362-autopatch"
4142
target: sagemaker
4243
enable_test_promotion: true
4344
context:
@@ -57,6 +58,7 @@ images:
5758
*OS_VERSION, "-sagemaker" ]
5859
docker_file: !join [ docker/, *SHORT_VERSION, /, *DOCKER_PYTHON_VERSION, /, *CUDA_VERSION,
5960
/Dockerfile., *DEVICE_TYPE ]
61+
# build_tag_override: "pr:2.16.2-gpu-py310-cu123-ubuntu20.04-sagemaker-pr-4362-autopatch"
6062
target: sagemaker
6163
enable_test_promotion: true
6264
context:

test/sagemaker_tests/tensorflow/tensorflow2_training/integration/sagemaker/test_mnist.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -268,12 +268,10 @@ def _test_distributed_mnist_custom_ps(
268268
_assert_checkpoint_exists_v2(sagemaker_session.boto_region_name, estimator.model_dir, 10)
269269

270270

271-
@pytest.mark.skip_tf216_only
272-
@pytest.mark.skipif(is_pr_context(), reason=SKIP_PR_REASON)
273271
@pytest.mark.model("mnist")
274272
@pytest.mark.integration("s3 plugin")
275273
@pytest.mark.team("frameworks")
276-
def test_s3_plugin(ecr_image, sagemaker_regions, instance_type, framework_version):
274+
def test_s3_plugin(ecr_image, sagemaker_regions, instance_type, framework_version, skip_tf216_only):
277275
invoke_sm_helper_function(
278276
ecr_image, sagemaker_regions, _test_s3_plugin_function, instance_type, framework_version
279277
)

0 commit comments

Comments
 (0)