We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 20f951a commit 117df4fCopy full SHA for 117df4f
compiler/src/iree/compiler/Dialect/LinalgExt/Transforms/Padding.cpp
@@ -90,7 +90,7 @@ padAttention(IREE::LinalgExt::AttentionOp attnOp,
90
Location loc = attnOp.getLoc();
91
rewriter.setInsertionPoint(attnOp);
92
93
- int64_t domainRank = maps[0].getNumDims();
+ int64_t domainRank = opInfo.getDomainRank();
94
if (domainRank != 5) {
95
return definiteFailureHelper(
96
transformOp, attnOp,
0 commit comments