From 36ba3d8d2176df3c17cbfe875f01cdedbfa1343e Mon Sep 17 00:00:00 2001 From: RandySheriffH <48490400+RandySheriffH@users.noreply.github.com> Date: Thu, 19 Jan 2023 14:39:25 -0800 Subject: [PATCH] Exclude a multi-stream case from reduced ops build (#14351) Exclude a multi-stream case from reduced ops build to unblock [pipeline](https://dev.azure.com/onnxruntime/onnxruntime/_build?definitionId=120&_a=summary). Co-authored-by: Randy Shuai --- onnxruntime/test/shared_lib/test_inference.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/onnxruntime/test/shared_lib/test_inference.cc b/onnxruntime/test/shared_lib/test_inference.cc index a630bcddb7..09219b40de 100644 --- a/onnxruntime/test/shared_lib/test_inference.cc +++ b/onnxruntime/test/shared_lib/test_inference.cc @@ -2678,6 +2678,7 @@ TEST(CApiTest, GH_11717) { } #endif +#ifndef REDUCED_OPS_BUILD TEST(CApiTest, TestMultiStreamInferenceSimpleSSD) { Ort::SessionOptions session_options{}; session_options.SetGraphOptimizationLevel(GraphOptimizationLevel::ORT_DISABLE_ALL); @@ -2704,3 +2705,4 @@ TEST(CApiTest, TestMultiStreamInferenceSimpleSSD) { std::vector expected_output_dims = {3, 256, 150, 150}; ASSERT_TRUE(output_dims == expected_output_dims); } +#endif \ No newline at end of file