Skip to content

Commit 5261a2f

Browse files
authored
Merge branch 'aws:master' into model-registry-sip
2 parents 6538f6b + 2a672bd commit 5261a2f

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

src/sagemaker/estimator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -718,7 +718,7 @@ def compile_model(
718718
'onnx', 'xgboost'
719719
framework_version (str): The version of the framework
720720
compile_max_run (int): Timeout in seconds for compilation (default:
721-
3 * 60). After this amount of time Amazon SageMaker Neo
721+
15 * 60). After this amount of time Amazon SageMaker Neo
722722
terminates the compilation job regardless of its current status.
723723
tags (list[dict]): List of tags for labeling a compilation job. For
724724
more, see

src/sagemaker/model.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -565,7 +565,7 @@ def compile(
565565
role,
566566
tags=None,
567567
job_name=None,
568-
compile_max_run=5 * 60,
568+
compile_max_run=15 * 60,
569569
framework=None,
570570
framework_version=None,
571571
target_platform_os=None,
@@ -594,7 +594,7 @@ def compile(
594594
https://docs.aws.amazon.com/sagemaker/latest/dg/API_Tag.html.
595595
job_name (str): The name of the compilation job
596596
compile_max_run (int): Timeout in seconds for compilation (default:
597-
3 * 60). After this amount of time Amazon SageMaker Neo
597+
15 * 60). After this amount of time Amazon SageMaker Neo
598598
terminates the compilation job regardless of its current status.
599599
framework (str): The framework that is used to train the original
600600
model. Allowed values: 'mxnet', 'tensorflow', 'keras', 'pytorch',

tests/integ/test_huggingface.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,9 @@ def test_huggingface_training(
6868
hf.fit(train_input)
6969

7070

71-
@pytest.mark.skip(
72-
reason="need to re enable it later",
71+
@pytest.mark.release
72+
@pytest.mark.skipif(
73+
integ.test_region() in integ.TRAINING_NO_P2_REGIONS, reason="no ml.p2 instances in this region"
7374
)
7475
def test_huggingface_training_tf(
7576
sagemaker_session,
@@ -107,9 +108,8 @@ def test_huggingface_training_tf(
107108
hf.fit(train_input)
108109

109110

110-
@pytest.mark.release
111-
@pytest.mark.skipif(
112-
integ.test_region() in integ.TRAINING_NO_P2_REGIONS, reason="no ml.p2 instances in this region"
111+
@pytest.mark.skip(
112+
reason="need to re enable it later",
113113
)
114114
def test_huggingface_inference(
115115
sagemaker_session,

0 commit comments

Comments
 (0)