File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
unit/sagemaker/serve/utils Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -221,7 +221,7 @@ def test_happy_pytorch_sagemaker_endpoint(
221
221
)
222
222
if caught_ex :
223
223
logger .exception (caught_ex )
224
- assert ( # noqa: F631
224
+ assert ( # flake8: noqa: F631
225
225
False ,
226
226
), f"{ caught_ex } was thrown when running pytorch squeezenet sagemaker endpoint test"
227
227
Original file line number Diff line number Diff line change @@ -101,8 +101,8 @@ def test_format_instance_type_without_ml_success():
101
101
assert formatted_instance_type == "g5.48xlarge"
102
102
103
103
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" )
106
106
def test_total_inference_model_size_mib (
107
107
mock_gather_data ,
108
108
mock_parser ,
You can’t perform that action at this time.
0 commit comments