The tosa to linalg generic ops indexingMaps rank use is wrong.
Find this bug in gpt2 pytorch model lowering to tosa. issue link is here https://github.com/llvm/llvm-project/issues/58154
Paths
| Differential D135343
[mlir][tosa] Fix tosa::Select to linalg::generic indexingMaps bug ClosedPublic Authored by AmosLewis on Oct 5 2022, 7:43 PM.
Details Summary The tosa to linalg generic ops indexingMaps rank use is wrong. Find this bug in gpt2 pytorch model lowering to tosa. issue link is here https://github.com/llvm/llvm-project/issues/58154
Diff Detail
Event Timelinersuderman retitled this revision from [BUG FIX] Fix tosa::Select to linalg::generic indexingMaps bug to [mlir][tosa] Fix tosa::Select to linalg::generic indexingMaps bug.Oct 6 2022, 9:20 AM Comment Actions
Done This revision is now accepted and ready to land.Oct 10 2022, 10:42 AM Closed by commit rGd325d2b407fc: [mlir][tosa] Fix tosa::Select to linalg::generic indexingMaps bug (authored by AmosLewis, committed by jpienaar). · Explain WhyOct 10 2022, 3:47 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 466653 mlir/lib/Conversion/TosaToLinalg/TosaToLinalg.cpp
mlir/test/Conversion/TosaToLinalg/tosa-to-linalg.mlir
|