torch-mlir icon indicating copy to clipboard operation
torch-mlir copied to clipboard

onnx.Gather error: failed to legalize operation 'torch.operator' that was explicitly marked illegal

Open muwys518 opened this issue 1 year ago • 2 comments

error: failed to legalize operation 'torch.operator' that was explicitly marked illegal %714 = torch.operator "onnx.Gather"(%232, %233) {torch.onnx.axis = 0 : si64} : (!torch.vtensor<[4],si64>, !torch.vtensor<[],si64>) -> !torch.vtensor<[],si64>

muwys518 avatar Mar 08 '24 09:03 muwys518

Can you please mention the steps to reproduce the error

Abhishek-TyRnT avatar Mar 11 '24 02:03 Abhishek-TyRnT

Can you please mention the steps to reproduce the error

torch-mlir-import-onnx efficientNet.onnx -o c1.mlir torch-mlir-opt --convert-torch-onnx-to-torch c1.mlir -o c2.mlir see error,model is efficientNet.onnx

muwys518 avatar Mar 11 '24 05:03 muwys518