Closed zjgarvey closed 2 months ago
dom_error_repro.torch.mlir:62:11: error: operand #0 does not dominate this use %55 = torch.aten.item %54 : !torch.vtensor<[],si64> -> !torch.int
It usually indicates that we don't set insertion point before creating an operation. @IanWood1 could help with this? I think you have some context about FormScalarDispatchesPass
. I can jump in if you need some help.
cc @MaheshRavishankar
dom_error_repro.torch.mlir:62:11: error: operand #0 does not dominate this use %55 = torch.aten.item %54 : !torch.vtensor<[],si64> -> !torch.int
It usually indicates that we don't set insertion point before creating an operation. @IanWood1 could help with this? I think you have some context about
FormScalarDispatchesPass
. I can jump in if you need some help.cc @MaheshRavishankar
Oh crap... I havent touched that pass in ages.
it seems like horizontal fusion is moving ops into the region that have uses before rootOp
/the new region.
What happened?
This error came from testing the
/onnx/models/opt-125M-vaiq
model in https://github.com/nod-ai/SHARK-TestSuite:Steps to reproduce your issue
Download a smaller reproducer from this gist, then run
This will result in the error message:
It seems to be failing on the pass
iree-flow-form-scalar-dispatches
. Here is the dump after failure:What component(s) does this issue relate to?
Compiler
Version information
using a local build at commit 3b5d269c7fec61743cc41f4394b33a31625ef2ae
Additional context
No response