Skip to content

fix: integs - pytorch transformer deps and add test retry #3849

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions tests/data/huggingface_byoc/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
transformers
datasets
transformers<=4.28.1
datasets<=2.12.0
2 changes: 2 additions & 0 deletions tests/integ/test_clarify_model_monitor.py
Original file line number Diff line number Diff line change
Expand Up @@ -291,6 +291,7 @@ def test_bias_monitor(sagemaker_session, scheduled_bias_monitor, endpoint_name,
tests.integ.test_region() in tests.integ.NO_MODEL_MONITORING_REGIONS,
reason="ModelMonitoring is not yet supported in this region.",
)
@pytest.mark.flaky(reruns=5, reruns_delay=2)
def test_run_bias_monitor(
scheduled_bias_monitor, sagemaker_session, endpoint_name, ground_truth_input, upload_actual_data
):
Expand Down Expand Up @@ -400,6 +401,7 @@ def test_explainability_monitor(sagemaker_session, scheduled_explainability_moni
tests.integ.test_region() in tests.integ.NO_MODEL_MONITORING_REGIONS,
reason="ModelMonitoring is not yet supported in this region.",
)
@pytest.mark.flaky(reruns=5, reruns_delay=2)
def test_run_explainability_monitor(
scheduled_explainability_monitor,
sagemaker_session,
Expand Down
1 change: 1 addition & 0 deletions tests/integ/test_inference_pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,7 @@ def test_inference_pipeline_model_deploy(sagemaker_session, cpu_instance_type):


@pytest.mark.slow_test
@pytest.mark.flaky(reruns=5, reruns_delay=2)
def test_inference_pipeline_model_deploy_and_update_endpoint(
sagemaker_session, cpu_instance_type, alternative_cpu_instance_type
):
Expand Down
2 changes: 2 additions & 0 deletions tests/integ/test_model_quality_monitor.py
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,7 @@ def test_model_quality_monitor(
tests.integ.test_region() in tests.integ.NO_MODEL_MONITORING_REGIONS,
reason="ModelMonitoring is not yet supported in this region.",
)
@pytest.mark.flaky(reruns=5, reruns_delay=2)
def test_run_model_quality_monitor(
scheduled_model_quality_monitor,
sagemaker_session,
Expand All @@ -260,6 +261,7 @@ def test_run_model_quality_monitor(
tests.integ.test_region() in tests.integ.NO_MODEL_MONITORING_REGIONS,
reason="ModelMonitoring is not yet supported in this region.",
)
@pytest.mark.flaky(reruns=5, reruns_delay=2)
def test_run_model_quality_monitor_baseline(
sagemaker_session,
endpoint_name,
Expand Down