Skip to content

Commit

Permalink
modified data_ops.cc to remove unsupported ops
Browse files Browse the repository at this point in the history
  • Loading branch information
n1harika authored and ankitm3k committed Jan 28, 2025
1 parent 3e70f87 commit b5b8e5a
Showing 1 changed file with 7 additions and 11 deletions.
18 changes: 7 additions & 11 deletions onnxruntime/core/providers/openvino/ov_versions/data_ops.cc
Original file line number Diff line number Diff line change
Expand Up @@ -95,10 +95,10 @@ std::vector<SupportedOp> supported_op_mode = {
{"Atan", V_2020_4, {"CPU", "GPU"}},
{"Atanh", V_2020_4, {"CPU"}},
{"Atanh", V_2022_1, {"GPU"}},
{"Attention", V_2024_5, {"CPU","GPU","NPU"}},
{"Attention", V_2023_0, {"CPU","GPU"}},
{"AveragePool", V_2020_4, {"CPU", "GPU"}},
{"BatchNormalization", V_2020_4, {"CPU", "GPU"}},
{"BiasGelu", V_2024_5, {"CPU","GPU","NPU"}},
{"BiasGelu", V_2023_0, {"CPU","GPU"}},
{"BitShift", V_2022_1, {"CPU"}},
{"Cast", V_2020_4, {"CPU", "GPU"}},
{"CastLike", V_2023_1, {"CPU", "GPU"}},
Expand All @@ -125,7 +125,7 @@ std::vector<SupportedOp> supported_op_mode = {
{"Dropout", V_2020_4, {"CPU", "GPU"}},
{"Elu", V_2020_4, {"CPU", "GPU"}},
{"Einsum", V_2023_1, {"CPU", "GPU"}},
{"EmbedLayerNormalization", V_2024_5, {"CPU","GPU","NPU"}},
{"EmbedLayerNormalization", V_2024_5, {"CPU","GPU"}},
{"EPContext", V_2024_0, {"CPU", "GPU", "NPU"}},
{"Equal", V_2020_4, {"CPU", "GPU"}},
{"Erf", V_2020_4, {"CPU", "GPU"}},
Expand All @@ -134,9 +134,8 @@ std::vector<SupportedOp> supported_op_mode = {
{"EyeLike", V_2022_1, {"CPU"}},
{"Flatten", V_2020_4, {"CPU", "GPU"}},
{"Floor", V_2020_4, {"CPU", "GPU"}},
{"FusedConv", V_2024_5, {"CPU","GPU","NPU"}},
{"FusedGemm", V_2024_5, {"CPU","GPU","NPU"}},
{"FusedMatMul", V_2025_0, {"CPU","GPU","NPU"}},
{"FusedConv", V_2023_0, {"CPU","GPU"}},
{"FusedGemm", V_2023_0, {"CPU","GPU"}},
{"Gather", V_2020_4, {"CPU", "GPU"}},
{"GatherElements", V_2022_2, {"CPU", "GPU"}},
{"GatherND", V_2021_4, {"CPU", "GPU"}},
Expand Down Expand Up @@ -170,7 +169,7 @@ std::vector<SupportedOp> supported_op_mode = {
{"LSTM", V_2020_4, {"CPU", "GPU"}},
{"MatMul", V_2020_4, {"CPU", "GPU"}},
{"MatMulInteger", V_2022_1, {"CPU"}},
{"MatMulNBits", V_2024_5, {"CPU","GPU","NPU"}},
{"MatMulNBits", V_2024_5, {"CPU","GPU"}},
{"Max", V_2020_4, {"CPU", "GPU"}},
{"MaxPool", V_2020_4, {"CPU", "GPU"}},
{"Mean", V_2020_4, {"CPU", "GPU"}},
Expand All @@ -191,7 +190,6 @@ std::vector<SupportedOp> supported_op_mode = {
{"PRelu", V_2020_4, {"CPU", "GPU"}},
{"QLinearMatMul", V_2022_3, {"CPU"}},
{"QuantizeLinear", V_2021_4, {"CPU", "GPU"}},
{"QuickGelu", V_2025_0, {"CPU","GPU","NPU"}},
{"RNN", V_2023_1, {"CPU", "GPU"}},
{"RandomNormalLike", V_2023_0, {"CPU", "GPU"}},
{"RandomNormalLike", V_2023_0, {"CPU", "GPU"}},
Expand Down Expand Up @@ -227,12 +225,10 @@ std::vector<SupportedOp> supported_op_mode = {
{"Sigmoid", V_2020_4, {"CPU", "GPU"}},
{"Sign", V_2020_4, {"CPU"}},
{"Sign", V_2022_1, {"GPU"}},
{"SimplifiedLayerNormalization", V_2025_0, {"CPU","GPU","NPU"}},
{"Sin", V_2022_1, {"CPU", "GPU"}},
{"Sinh", V_2020_4, {"CPU"}},
{"Size", V_2022_1, {"CPU", "GPU"}},
{"SkipLayerNormalization", V_2024_5, {"CPU","GPU","NPU"}},
{"SkipSimplifiedLayerNormalization", V_2025_0, {"CPU","GPU","NPU"}},
{"SkipLayerNormalization", V_2024_5, {"CPU","GPU"}},
{"Slice", V_2020_4, {"CPU", "GPU"}},
{"Softmax", V_2020_4, {"CPU", "GPU"}},
{"Softplus", V_2022_1, {"CPU", "GPU"}},
Expand Down

0 comments on commit b5b8e5a

Please sign in to comment.