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
Failure : unimplemented: found unhandled case of expansion/collapse in aten.view
#16887
Comments
llvm/torch-mlir#2969 (comment) The above issue implements lowering for onnx.LSTM and i'm having similar issues lowering to linalg |
from what @qedawkins told me, the "failure destroying a value" error might be a spurious error message generated by the unrolling process in the dialect conversion framework. @gabeweisz could you post the full log & full error message of torch-mlir-opt? |
It might be - I'm actually running this in the iree compiler. I posted this here rather than in their github because that is what the instructions at the top of the error message told me to do Full stack when running on the .mlir file attached: |
@gabeweisz when i encountered this error, there were two error messages & two stack traces. do you see the same or is this all you got? |
This is all that I got - I'm running iree-compile (commit aa72368 from March 21) with the attached file and no other options. It is a "release with debug info" build |
If I were triaging this I'd run the reproducer .mlir file through the compiler with |
iree-build/tools/iree-compile model_small.mlir --print-before-all --debug >stdout.txt 2>stderr.txt
|
If I add the right flag for "--mlir-print-ir-before-all" I get this stderr The last thing printed was: |
aten.view
Still fails with commit 5cd0a0c Some more from the log (with --mlir-print-ir-before-all --debug) : //===-------------------------------------------===//
//===-------------------------------------------===//
//===-------------------------------------------===//
|
What happened?
iree-compile: /path_to/iree/third_party/llvm-project/mlir/include/mlir/IR/UseDefLists.h:198: mlir::IRObjectWithUseListmlir::OpOperand::~IRObjectWithUseList() [OperandType = mlir::OpOperand]: Assertion `use_empty() && "Cannot destroy a value that still has uses!"' failed.
Steps to reproduce your issue
iree-build/tools/iree-compile model_small.mlir.txt
model_small.mlir.txt
What component(s) does this issue relate to?
No response
Version information
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: