From 8daabf3f15329e58d28557c9fdfd1254836b6573 Mon Sep 17 00:00:00 2001 From: RandySheriffH <48490400+RandySheriffH@users.noreply.github.com> Date: Fri, 27 Oct 2023 16:09:07 -0700 Subject: [PATCH] Tune min version supporint custom op ComputeV2 (#18134) Set min version supporting custom_op::ComputeV2 to 16, since the feature has been released since ort 1.16. Co-authored-by: Randy Shuai --- onnxruntime/core/session/custom_ops.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/onnxruntime/core/session/custom_ops.cc b/onnxruntime/core/session/custom_ops.cc index 5f1d5036e8..041250adc3 100644 --- a/onnxruntime/core/session/custom_ops.cc +++ b/onnxruntime/core/session/custom_ops.cc @@ -28,7 +28,7 @@ static constexpr uint32_t min_ort_version_with_variadic_io_support = 14; #endif #if !defined(ORT_MINIMAL_BUILD) || defined(ORT_MINIMAL_BUILD_CUSTOM_OPS) -static constexpr uint32_t min_ort_version_with_compute_v2_support = 17; +static constexpr uint32_t min_ort_version_with_compute_v2_support = 16; static constexpr uint32_t min_ort_version_with_shape_inference = 17; #endif