File tree 4 files changed +4
-92
lines changed
4 files changed +4
-92
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
- unexpected platform type 'onnxruntim' for invalid_platform
1
+ unexpected ' platform' and 'backend' pair, got:onnxruntim, onnxruntime
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -258,6 +258,9 @@ for modelpath in \
258
258
done
259
259
260
260
# Copy other required models
261
+ mkdir -p special_cases/invalid_platform/1
262
+ cp -r /data/inferenceserver/${REPO_VERSION} /qa_model_repository/onnx_float32_float32_float32/1/model.onnx \
263
+ special_cases/invalid_platform/1/
261
264
262
265
# Create runtime escape scenario
263
266
mkdir -p special_cases/runtime_escape/1 special_cases/runtime_escape/dummy_runtime
@@ -400,34 +403,6 @@ for TARGET in `ls special_cases`; do
400
403
fi
401
404
done
402
405
403
- # Run noautofill unittest
404
- SERVER_ARGS=" --model-repository=` pwd` /models --model-control-mode=explicit --log-verbose=1"
405
- SERVER_LOG=$SERVER_LOG_BASE .special_case_noautofill_test.log
406
-
407
- rm -fr models && mkdir models
408
- cp -r special_cases/noautofill_noconfig models/.
409
-
410
- echo -e " Test on special_cases/noautofill_test" >> $CLIENT_LOG
411
-
412
- run_server
413
- if [ " $SERVER_PID " == " 0" ]; then
414
- echo -e " \n***\n*** Failed to start $SERVER \n***"
415
- cat $SERVER_LOG
416
- exit 1
417
- fi
418
-
419
- set +e
420
- python noautofill_test.py >> $CLIENT_LOG 2>&1
421
- if [ $? -ne 0 ]; then
422
- cat $CLIENT_LOG
423
- echo -e " \n***\n*** Python NoAutoFill Test Failed\n***"
424
- RET=1
425
- fi
426
- set -e
427
-
428
- kill $SERVER_PID
429
- wait $SERVER_PID
430
-
431
406
for TRIAL in $TRIALS ; do
432
407
# Run all tests that require no autofill but that add the platform to
433
408
# the model config before running the test
You can’t perform that action at this time.
0 commit comments