disable onnx_test_runner -x invocations for dnnl (#2568)

This commit is contained in:
George Wu 2019-12-05 23:05:34 -08:00 committed by GitHub
parent 7eddac16c2
commit 73c682b97c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -674,13 +674,17 @@ def dnnl_run_onnx_tests(build_dir, configs, onnx_test_data_dir):
opset10_model_dir = os.path.join(model_dir, 'opset10')
opset10_cmd = cmd_base + [opset10_model_dir]
run_subprocess([exe] + opset7_cmd, cwd=cwd)
run_subprocess([exe, '-x'] + opset7_cmd, cwd=cwd)
run_subprocess([exe] + opset8_cmd, cwd=cwd)
run_subprocess([exe, '-x'] + opset8_cmd, cwd=cwd)
run_subprocess([exe] + opset9_cmd, cwd=cwd)
run_subprocess([exe, '-x'] + opset9_cmd, cwd=cwd)
run_subprocess([exe] + opset10_cmd, cwd=cwd)
run_subprocess([exe, '-x'] + opset10_cmd, cwd=cwd)
# temporarily disable -x invocations on Windows as they
# are causing instability in CI
if not is_windows():
run_subprocess([exe, '-x'] + opset7_cmd, cwd=cwd)
run_subprocess([exe, '-x'] + opset8_cmd, cwd=cwd)
run_subprocess([exe, '-x'] + opset9_cmd, cwd=cwd)
run_subprocess([exe, '-x'] + opset10_cmd, cwd=cwd)
# nuphar temporary function for running python tests separately as it requires ONNX 1.5.0