Skip to content

Commit

Permalink
fix: updated data ops to support the complete graph on OVEP (microsof…
Browse files Browse the repository at this point in the history
  • Loading branch information
ankitm3k committed May 29, 2024
1 parent 798cea2 commit 3b1f242
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 2 additions & 0 deletions onnxruntime/core/providers/openvino/ov_versions/data_ops.cc
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ std::vector<SupportedOp> supported_op_mode = {
{"GreaterOrEqual", V_2022_1, {"CPU", "GPU"}},
{"GridSample", V_2022_3, {"CPU"}},
{"GridSample", V_2023_0, {"GPU"}},
{"GRU", V_2024_1, {"CPU", "GPU"}},
{"HardMax", V_2023_1, {"CPU", "GPU"}},
{"Identity", V_2020_4, {"CPU", "GPU"}},
{"If", V_2022_3, {"CPU", "GPU"}},
Expand All @@ -155,6 +156,7 @@ std::vector<SupportedOp> supported_op_mode = {
{"LessOrEqual", V_2022_1, {"CPU", "GPU"}},
{"Log", V_2020_4, {"CPU", "GPU"}},
{"LogSoftMax", V_2022_1, {"CPU", "GPU"}},
{"LogSoftmax", V_2024_1, {"CPU", "GPU"}},
{"Loop", V_2021_4, {"CPU", "GPU"}},
{"LpNormalization", V_2023_1, {"CPU", "GPU"}},
{"LRN", V_2020_4, {"CPU", "GPU"}},
Expand Down
6 changes: 5 additions & 1 deletion onnxruntime/test/providers/cpu/rnn/deep_cpu_gru_op_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,12 @@ static void RunGruTest(const std::vector<float>& X_data,
test.AddOptionalOutputEdge<float>();
}

// TensorRT failed on GRU tests
// TensorRT, OpenVINO failed on GRU tests
#if defined(USE_OPENVINO)
test.Run(OpTester::ExpectResult::kExpectSuccess, "", {kTensorrtExecutionProvider, kOpenVINOExecutionProvider});
#else
test.Run(OpTester::ExpectResult::kExpectSuccess, "", {kTensorrtExecutionProvider});
#endif
}

void DefaultActivationsSimpleWeightsNoBias(std::string direction,
Expand Down

0 comments on commit 3b1f242

Please sign in to comment.