Skip to content

Commit a76ecff

Browse files
committed
Add rerun annotation and further remove dependencies
1 parent d44ad23 commit a76ecff

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

requirements/extras/test_requirements.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,4 +39,3 @@ tritonclient[http]<2.37.0
3939
onnx==1.14.1
4040
# tf2onnx==1.15.1
4141
nbformat>=5.9,<6
42-
torchaudio==2.0.2

tests/integ/sagemaker/serve/test_serve_pt_happy.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,7 @@ def model_builder(request):
157157
"model_builder", ["model_builder_inference_spec_schema_builder"], indirect=True
158158
)
159159
@pytest.mark.slow_test
160+
@pytest.mark.flaky(reruns=5, reruns_delay=2)
160161
def test_happy_pytorch_local_container(sagemaker_session, model_builder, test_image):
161162
logger.info("Running in LOCAL_CONTAINER mode...")
162163
caught_ex = None
@@ -230,6 +231,7 @@ def test_happy_pytorch_sagemaker_endpoint(
230231
@pytest.mark.parametrize(
231232
"model_builder", ["model_builder_inference_spec_schema_builder"], indirect=True
232233
)
234+
@pytest.mark.slow_test
233235
def test_happy_pytorch_local_container_overwrite_to_sagemaker_endpoint(
234236
sagemaker_session, model_builder, cpu_instance_type, test_image
235237
):
@@ -276,6 +278,7 @@ def test_happy_pytorch_local_container_overwrite_to_sagemaker_endpoint(
276278
@pytest.mark.parametrize(
277279
"model_builder", ["model_builder_inference_spec_schema_builder"], indirect=True
278280
)
281+
@pytest.mark.slow_test
279282
def test_happy_pytorch_sagemaker_endpoint_overwrite_to_local_container(
280283
sagemaker_session, model_builder, test_image
281284
):

0 commit comments

Comments
 (0)