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
I think I follow the problem but need @MaheshRavishankar 's input on what to do about it, I see that normally the tensor.dim due to dynamic shapes at the end of the program gets folded in the FormDispatchRegionsPass . I havent looked at the code but I am assuming it traverses the size of the problem and can infer that something like %0 = hal.buffer_view.dim<%arg0 : !hal.buffer_view>[0] : index is the SSA value it should use instead.
Now coming to the problem, for this op we have something like this
THis is related to #18268 and as discussed there, lowering the multinomial op that way is not going to work. So any bugs related to that is just going to keep hitting different bugs in the compiler due to the unsupported lowering of the op. I dont see a point triaging this further until the lowering is fixed.
What happened?
for given IR
getting error as
This may be related with llvm/torch-mlir#3651 but IR given in example is working fine so filing this.
log with '--mlir-print-ir-after-all --mlir-print-ir-before-all --mlir-disable-threading --mlir-elide-elementsattrs-if-larger=4 model.torch_onnx.mlir' attached
dump.log
Steps to reproduce your issue
command to reproduce:
What component(s) does this issue relate to?
Compiler
Version information
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: