From 319d30e50e0654b8a1769d2011adc84448457b13 Mon Sep 17 00:00:00 2001 From: George Wu Date: Thu, 30 Jul 2020 09:25:53 +0000 Subject: [PATCH] dnnl only run opset 10 model tests to reduce footprint/runtime (#4663) --- onnxruntime/test/providers/cpu/model_tests.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/onnxruntime/test/providers/cpu/model_tests.cc b/onnxruntime/test/providers/cpu/model_tests.cc index 624170d73c..6ad7b32f4d 100644 --- a/onnxruntime/test/providers/cpu/model_tests.cc +++ b/onnxruntime/test/providers/cpu/model_tests.cc @@ -58,7 +58,7 @@ TEST_P(ModelTest, Run) { // them is enabled here to save CI build time. return; } - if (model_info->GetONNXOpSetVersion() != 12 && provider_name == "dnnl") { + if (model_info->GetONNXOpSetVersion() == 10 && provider_name == "dnnl") { // DNNL can run most of the model tests, but only part of // them is enabled here to save CI build time. return;