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

torch.aten.mm to linalg #665

Closed
Tracked by #347
AmosLewis opened this issue May 1, 2024 · 0 comments
Closed
Tracked by #347

torch.aten.mm to linalg #665

AmosLewis opened this issue May 1, 2024 · 0 comments

Comments

@AmosLewis
Copy link
Contributor

AmosLewis commented May 1, 2024

resnet50_vaiq_int8.default.torch-onnx.mlir:1315:13: error: failed to legalize operation 'torch.aten.mm' that was explicitly marked illegal
    %1311 = torch.operator "onnx.Gemm"(%1298, %1304, %1310) {torch.onnx.alpha = 1.000000e+00 : f32, torch.onnx.beta = 1.000000e+00 : f32, torch.onnx.transB = 1 : si64} : (!torch.vtensor<[1,2048],f32>, !torch.vtensor<[1000,2048],f32>, !torch.vtensor<[1000],f32>) -> !torch.vtensor<[1,1000],f32> 
            ^
resnet50_vaiq_int8.default.torch-onnx.mlir:1315:13: note: see current operation: %11518 = "torch.aten.mm"(%11478, %11517) : (!torch.vtensor<[1,2048],f32>, !torch.vtensor<[2048,1000],!torch.qint8>) -> !torch.vtensor<[1,1000],f32>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant