Skip to content

Commit 672230f

Browse files
committed
test
1 parent a5a72ba commit 672230f

File tree

1 file changed

+0
-23
lines changed

1 file changed

+0
-23
lines changed

tests/unit/sagemaker/model/test_neo.py

-23
Original file line numberDiff line numberDiff line change
@@ -330,29 +330,6 @@ def test_compile_with_pytorch_neo_in_ml_inf(session):
330330
)
331331

332332

333-
@patch("sagemaker.session.Session")
334-
def test_compile_with_tensorflow_neo_in_ml_inf(session):
335-
session.return_value.boto_region_name = REGION
336-
337-
model = _create_model()
338-
model.compile(
339-
target_instance_family="ml_inf",
340-
input_shape={"data": [1, 3, 1024, 1024]},
341-
output_path="s3://output",
342-
role="role",
343-
framework="tensorflow",
344-
framework_version="1.15",
345-
job_name="compile-model",
346-
)
347-
348-
assert (
349-
"{}.dkr.ecr.{}.amazonaws.com/sagemaker-inference-tensorflow:1.15-cpu-py3".format(
350-
NEO_REGION_ACCOUNT, REGION
351-
)
352-
!= model.image_uri
353-
)
354-
355-
356333
def test_compile_validates_framework_version(sagemaker_session):
357334
sagemaker_session.wait_for_compilation_job = Mock(
358335
return_value={

0 commit comments

Comments
 (0)