From 4ebe197de9447f85bf25a45acc5dda244ffe8114 Mon Sep 17 00:00:00 2001 From: zjgarvey Date: Thu, 14 Nov 2024 22:28:36 -0600 Subject: [PATCH] reduce some min opset versions --- lib/Conversion/TorchOnnxToTorch/DefaultDomainGtoP.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Conversion/TorchOnnxToTorch/DefaultDomainGtoP.cpp b/lib/Conversion/TorchOnnxToTorch/DefaultDomainGtoP.cpp index 1f3ff7ac2346..9b7112736fca 100644 --- a/lib/Conversion/TorchOnnxToTorch/DefaultDomainGtoP.cpp +++ b/lib/Conversion/TorchOnnxToTorch/DefaultDomainGtoP.cpp @@ -1524,7 +1524,7 @@ void mlir::torch::onnx_c::populateDefaultDomainGtoP( return success(); }); - patterns.onOp("Greater", 16, + patterns.onOp("Greater", 7, [](OpBinder binder, ConversionPatternRewriter &rewriter) { Torch::ValueTensorType resultType; Value lhs, rhs; @@ -1931,7 +1931,7 @@ void mlir::torch::onnx_c::populateDefaultDomainGtoP( return success(); }); patterns.onOp( - "Gather", 13, [](OpBinder binder, ConversionPatternRewriter &rewriter) { + "Gather", 1, [](OpBinder binder, ConversionPatternRewriter &rewriter) { Torch::ValueTensorType resultType; Value data, indices; int64_t axis;