Skip to content

Commit

Permalink
Tune min version supporint custom op ComputeV2 (#18134)
Browse files Browse the repository at this point in the history
Set min version supporting custom_op::ComputeV2 to 16, since the feature
has been released since ort 1.16.

Co-authored-by: Randy Shuai <[email protected]>
  • Loading branch information
RandySheriffH and RandyShuai authored Oct 27, 2023
1 parent d9695de commit 8daabf3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion onnxruntime/core/session/custom_ops.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 8daabf3

Please sign in to comment.