@@ -90,7 +90,10 @@ def tfs_predictor_with_model_and_entry_point_and_dependencies(
90
90
tests .integ .DATA_DIR , "tfs/tfs-test-entrypoint-and-dependencies/inference.py"
91
91
)
92
92
dependencies = [
93
- os .path .join (tests .integ .DATA_DIR , "tfs/tfs-test-entrypoint-and-dependencies/dependency.py" )
93
+ os .path .join (
94
+ tests .integ .DATA_DIR ,
95
+ "tfs/tfs-test-entrypoint-and-dependencies/dependency.py" ,
96
+ )
94
97
]
95
98
96
99
model_data = "file://" + os .path .join (
@@ -133,7 +136,10 @@ def tfs_predictor_with_accelerator(
133
136
name = endpoint_name ,
134
137
)
135
138
predictor = model .deploy (
136
- 1 , cpu_instance_type , endpoint_name = endpoint_name , accelerator_type = "ml.eia1.medium"
139
+ 1 ,
140
+ cpu_instance_type ,
141
+ endpoint_name = endpoint_name ,
142
+ accelerator_type = "ml.eia1.medium" ,
137
143
)
138
144
yield predictor
139
145
@@ -161,9 +167,6 @@ def test_predict_with_accelerator(tfs_predictor_with_accelerator):
161
167
162
168
163
169
@pytest .mark .local_mode
164
- @pytest .mark .skip (
165
- reason = "This test is broken due to a regression." "This test should be reenabled later."
166
- )
167
170
def test_predict_with_entry_point (tfs_predictor_with_model_and_entry_point_same_tar ):
168
171
input_data = {"instances" : [1.0 , 2.0 , 5.0 ]}
169
172
expected_result = {"predictions" : [4.0 , 4.5 , 6.0 ]}
@@ -173,9 +176,6 @@ def test_predict_with_entry_point(tfs_predictor_with_model_and_entry_point_same_
173
176
174
177
175
178
@pytest .mark .local_mode
176
- @pytest .mark .skip (
177
- reason = "This test is broken due to a regression." "This test should be reenabled later."
178
- )
179
179
def test_predict_with_model_and_entry_point_and_dependencies_separated (
180
180
tfs_predictor_with_model_and_entry_point_and_dependencies ,
181
181
):
0 commit comments