-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
torch.aten.avg_pool2d to linalg #643
Comments
This was referenced Apr 19, 2024
Tried to add an new e2e tests for this case:
Run:
|
AmosLewis
added a commit
to llvm/torch-mlir
that referenced
this issue
Jun 12, 2024
Issues was found here nod-ai/SHARK-ModelDev#643 - [ONNX] Fix padding attributes for onnx.AveragePool - [Linalg] Add countIncludePad false support for AtenAvgPool1/2dOp - [Linalg] Add an avg_pool2d countIncludePad False e2e tests - [Linalg] Fix conflict with AtenAvgPool3dOp - [Linalg] Fix e2e crash with AtenAvgPool1dOp - [Linalg] Add dynamic dim support for AtenAvgPool2dOp - [Linalg] Fix AvgPool2dDivisorOverrideModule crash
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Find this failed in Inception_v4_vaiq_int8 model support nod-ai/SHARK-TestSuite#190
%446 = torch.operator "onnx.AveragePool"(%403) {torch.onnx.ceil_mode = 0 : si64, torch.onnx.kernel_shape = [3 : si64, 3 : si64], torch.onnx.pads = [1 : si64, 1 : si64, 1 : si64, 1 : si64], torch.onnx.strides = [1 : si64, 1 : si64]} : (!torch.vtensor<[32,384,25,25],f32>) -> !torch.vtensor<[32,384,25,25],f32>
Previouse related patch:
torch-to-linalg
[MLIR][TORCH] Add E2E support for aten.avg_pool2d op
[Stablehlo]Add support for AvgPool1dOp
[RFC] general support for Adaptive Pooling Ops
onnx-to-torch:
[MLIR][ONNX] Add OnnxToTorch support for AveragePool op
count_include_pad=True/False explaned
The text was updated successfully, but these errors were encountered: