Skip to content

Commit f35b373

Browse files
committed
Fix local import patch path
1 parent d8b599b commit f35b373

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

tests/integ/sagemaker/serve/test_serve_pt_happy.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ def test_happy_pytorch_sagemaker_endpoint(
221221
)
222222
if caught_ex:
223223
logger.exception(caught_ex)
224-
assert ( # noqa: F631
224+
assert ( # flake8: noqa: F631
225225
False,
226226
), f"{caught_ex} was thrown when running pytorch squeezenet sagemaker endpoint test"
227227

tests/unit/sagemaker/serve/utils/test_hardware_detector.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,8 @@ def test_format_instance_type_without_ml_success():
101101
assert formatted_instance_type == "g5.48xlarge"
102102

103103

104-
@patch("sagemaker.serve.utils.hardware_detector.estimate_command_parser")
105-
@patch("sagemaker.serve.utils.hardware_detector.gather_data")
104+
@patch("accelerate.commands.estimate.estimate_command_parser")
105+
@patch("accelerate.commands.estimate.gather_data")
106106
def test_total_inference_model_size_mib(
107107
mock_gather_data,
108108
mock_parser,

0 commit comments

Comments
 (0)