File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
pkg/workloads/cortex/tf_api Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -300,13 +300,13 @@ def run_predict(sample):
300
300
301
301
transformed_sample = transform_sample (prepared_sample )
302
302
prediction_request = create_prediction_request (transformed_sample )
303
- response_proto = local_cache ["stub" ].Predict (prediction_request , timeout = 100 .0 )
303
+ response_proto = local_cache ["stub" ].Predict (prediction_request , timeout = 1000 .0 )
304
304
result = parse_response_proto (response_proto )
305
305
306
306
result ["transformed_sample" ] = transformed_sample
307
307
else :
308
308
prediction_request = create_raw_prediction_request (prepared_sample )
309
- response_proto = local_cache ["stub" ].Predict (prediction_request , timeout = 100 .0 )
309
+ response_proto = local_cache ["stub" ].Predict (prediction_request , timeout = 1000 .0 )
310
310
result = parse_response_proto_raw (response_proto )
311
311
312
312
if request_handler is not None and util .has_function (request_handler , "post_inference" ):
You can’t perform that action at this time.
0 commit comments