Skip to content
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

Inception_v4_vaiq_int8 model support #190

Open
AmosLewis opened this issue Apr 19, 2024 · 1 comment
Open

Inception_v4_vaiq_int8 model support #190

AmosLewis opened this issue Apr 19, 2024 · 1 comment
Labels

Comments

@AmosLewis
Copy link
Collaborator

AmosLewis commented Apr 19, 2024

Failer op in Inception_v4_vaiq_int8.default.onnx.torch.elide.mlir

(mlir_venv) ➜  Inception_v4_vaiq_int8 git:(reduceprod) ✗ torch-mlir-opt --convert-torch-onnx-to-torch  --torch-decompose-complex-ops --cse --canonicalize --convert-torch-to-linalg ./Inception_v4_vaiq_int8.default.onnx.torch.elide.mlir > Inception_v4_vaiq_int8.default.onnx.linalg.mlir
./Inception_v4_vaiq_int8.default.onnx.torch.elide.mlir:1053:12: error: failed to legalize operation 'torch.aten.avg_pool2d' that was explicitly marked illegal
    %816 = torch.aten.avg_pool2d %656, %813, %815, %814, %false_224, %false_225, %none_226 : !torch.vtensor<[32,384,25,25],f32>, !torch.list<int>, !torch.list<int>, !torch.list<int>, !torch.bool, !torch.bool, !torch.none -> !torch.vtensor<[32,384,25,25],f32>
           ^
./Inception_v4_vaiq_int8.default.onnx.torch.elide.mlir:1053:12: note: see current operation: %3001 = "torch.aten.avg_pool2d"(%2081, %642, %172, %3000, %16, %16, %88) : (!torch.vtensor<[32,384,25,25],f32>, !torch.list<int>, !torch.list<int>, !torch.list<int>, !torch.bool, !torch.bool, !torch.none) -> !torch.vtensor<[32,384,25,25],f32>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant