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

YoloNetV3_vaiq_int8 model support #198

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

YoloNetV3_vaiq_int8 model support #198

AmosLewis opened this issue Apr 22, 2024 · 1 comment
Assignees
Labels

Comments

@AmosLewis
Copy link
Collaborator

Failed ops

YoloNetV3_vaiq_int8.default.onnx.torch.mlir is not generated successfully. The bug is generated when
torch-mlir-opt -convert-torch-onnx-to-torch YoloNetV3_vaiq_int8.default.torch-onnx.mlir

YoloNetV3_vaiq_int8.default.torch-onnx.mlir:1462:13: error: failed to legalize operation 'torch.operator' that was explicitly marked illegal
    %1458 = torch.operator "onnx.Resize"(%1454, %none, %1457) {torch.onnx.coordinate_transformation_mode = "asymmetric", torch.onnx.cubic_coeff_a = -7.500000e-01 : f32, torch.onnx.mode = "nearest", torch.onnx.nearest_mode = "floor"} : (!torch.vtensor<[4,256,13,13],f32>, !torch.none, !torch.vtensor<[4],f32>) -> !torch.vtensor<[?,?,?,?],f32> 
            ^
YoloNetV3_vaiq_int8.default.torch-onnx.mlir:1462:13: note: see current operation: %1309 = "torch.operator"(%1308, %143, %0) <{name = "onnx.Resize"}> {torch.onnx.coordinate_transformation_mode = "asymmetric", torch.onnx.cubic_coeff_a = -7.500000e-01 : f32, torch.onnx.mode = "nearest", torch.onnx.nearest_mode = "floor"} : (!torch.vtensor<[4,256,13,13],f32>, !torch.none, !torch.vtensor<[4],f32>) -> !torch.vtensor<[?,?,?,?],f32>
@AmosLewis
Copy link
Collaborator Author

The 2 yolo models failed again as well. https://github.com/nod-ai/e2eshark-reports/blob/main/2024-06-11/onnx_reports/statusreport.md
@zjgarvey can you take a look at?

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

2 participants