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

KeypointRCNN_vaiq_int8 model support #183

Open
AmosLewis opened this issue Apr 19, 2024 · 3 comments
Open

KeypointRCNN_vaiq_int8 model support #183

AmosLewis opened this issue Apr 19, 2024 · 3 comments
Labels

Comments

@AmosLewis
Copy link
Collaborator

AmosLewis commented Apr 19, 2024

Failed op:

@PhaneeshB
Copy link
Contributor

After llvm/torch-mlir#3214
Next failure is :

KeypointRCNN_vaiq_int8.default.torch-onnx.mlir:7854:13: error: failed to legalize operation 'torch.operator' that was explicitly marked illegal
    %7310 = torch.operator "onnx.Transpose"(%7309#0) {torch.onnx.perm = [0 : si64, 2 : si64, 1 : si64]} : (!torch.vtensor<[],f32>) -> !torch.vtensor<[],f32> 
            ^

@PhaneeshB
Copy link
Contributor

PhaneeshB commented May 29, 2024

Model also has - NonMaxSuppressionOp

%7685 = torch.operator "onnx.NonMaxSuppression"(%7678, %7682, %7683, %7684) : (!torch.vtensor<[1,?,4],f32>, !torch.vtensor<[1,1,?],f32>, !torch.vtensor<[1],si64>, !torch.vtensor<[1],f32>) -> !torch.vtensor<[?,3],si64>

@stellaraccident
Copy link
Contributor

NonMaxSuppression will likely require a custom lowering to a specific backend.

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

3 participants