Skip to content

Commit

Permalink
Remove plugin WAR due to mlir-tensorrt issue #915 (#438)
Browse files Browse the repository at this point in the history
  • Loading branch information
parthchadha authored Dec 11, 2024
1 parent 85d1d7d commit 498eb8a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions tripy/tests/integration/test_plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@

class TestPlugin:
def test_gelu(self):
# TODO: We add `+ 1` as a hack to work around MLIR-TRT Issue #915. We should be able to remove it once fixed
inp = tp.iota((2, 2)) + 1
inp = tp.iota((2, 2))
out = tp.plugin(
"CustomGeluPluginDynamic",
[inp],
Expand Down
3 changes: 1 addition & 2 deletions tripy/tripy/frontend/trace/ops/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,7 @@ def plugin(
:linenos:
:caption: Example
# TODO: We add `+ 1` as a hack to work around MLIR-TRT Issue #915. We should be able to remove it once fixed # doc: omit
inp = tp.iota((2, 1, 4)) + 1
inp = tp.iota((2, 1, 4))
out = tp.plugin(
"CustomGeluPluginDynamic",
[inp],
Expand Down

0 comments on commit 498eb8a

Please sign in to comment.