Repository navigation
Register all tensor tiling ops - #13042
nicolasvasilache wants to merge 1 commit into
Conversation
There was a problem hiding this comment.
IREE already registers the pack and unpack interfaces.
Can you point me to an iree-opt + transform example that tiles pack / unpack?
Pad interface is not supported yet (that is WIP)
I am not sure what this means, I am using it (locally)...
Without this registration, iree-opt fails on a simple dyn_cast<TilingInterface>(padOp), what other solution do yo urecommend?
Previously, we would single out tensor.pad which would incorrectly make all transforms in IREE think that this is not an op that supports TilingInterface, in violation of the upstream semantics.
|
@MaheshRavishankar ok I think I understand your comment upon digging further, I updated the PR to do what I think you meant, please LMK. Could you elaborate on why we had to segregate |
Yeah you found where pack/unpack are registered, but bringing in pad implementation causes issues. (see below).
The tiling implementation of I am wondering if you have any thoughts on changing the pad tiling implementation to not generate the For the problem at hand, we could add a separate transformation for |
|
SG, let's chat tomorrow as there are quite a few moving pieces that are converging on the unaligned matmul side. |
|
Closing stale PR. |
Previously, we would single out tensor.pad which would incorrectly make
all transforms in IREE think that this is not an op that supports TilingInterface,
in violation of the upstream semantics.