Skip to content

Commit 1a67dbc

Browse files
authored
Merge branch 'master' into fix-use-workflow-parameters-in-hyperparameters
2 parents e8d37d6 + cdcfc76 commit 1a67dbc

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

tests/integ/test_huggingface.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,15 @@
1717
import pytest
1818

1919
from sagemaker.huggingface import HuggingFace
20+
from tests import integ
2021
from tests.integ import DATA_DIR, TRAINING_DEFAULT_TIMEOUT_MINUTES
2122
from tests.integ.timeout import timeout
2223

2324

2425
@pytest.mark.release
26+
@pytest.mark.skipif(
27+
integ.test_region() in integ.TRAINING_NO_P2_REGIONS, reason="no ml.p2 instances in this region"
28+
)
2529
def test_huggingface_training(
2630
sagemaker_session,
2731
gpu_instance_type,

tests/integ/test_tfs.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,9 @@ def test_predict_with_accelerator(tfs_predictor_with_accelerator):
161161

162162

163163
@pytest.mark.local_mode
164+
@pytest.mark.skip(
165+
reason="This test is broken due to a regression." "This test should be reenabled later."
166+
)
164167
def test_predict_with_entry_point(tfs_predictor_with_model_and_entry_point_same_tar):
165168
input_data = {"instances": [1.0, 2.0, 5.0]}
166169
expected_result = {"predictions": [4.0, 4.5, 6.0]}
@@ -170,6 +173,9 @@ def test_predict_with_entry_point(tfs_predictor_with_model_and_entry_point_same_
170173

171174

172175
@pytest.mark.local_mode
176+
@pytest.mark.skip(
177+
reason="This test is broken due to a regression." "This test should be reenabled later."
178+
)
173179
def test_predict_with_model_and_entry_point_and_dependencies_separated(
174180
tfs_predictor_with_model_and_entry_point_and_dependencies,
175181
):

0 commit comments

Comments
 (0)