You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> raise TorchMlirCompilerError(trimmed_message) from None
E torch_mlir.compiler_utils.TorchMlirCompilerError: Lowering TorchScript IR -> Torch Backend IR failed with the following diagnostics:
E error: failed to legalize operation 'torch.operator' that was explicitly marked illegal
E note: see current operation: %3 = "torch.operator"(%2) <{name = "mylib.numpy_sin"}> : (!torch.tensor<[128,128],f32>) -> !torch.tensor<[128,128],f32>
E
E
E python exception: Failure while executing pass pipeline
E
E For Torch-MLIR developers, the error can be reproduced with:
E $ torch-mlir-opt -pass-pipeline='builtin.module(torchscript-module-to-torch-backend-pipeline{backend-legal-ops= extra-library=})' /tmp/NumpySinModule.mlir
E Add '-mlir-print-ir-after-all -mlir-disable-threading' to get the IR dump for debugging purpose.
The text was updated successfully, but these errors were encountered:
test code:
bottom of error:
The text was updated successfully, but these errors were encountered: