Skip to content

Commit

Permalink
[Interpreter] Add exp and log to the interpreter. (#3432)
Browse files Browse the repository at this point in the history
Getting errors with these in the latest version of triton.
  • Loading branch information
srush committed Mar 22, 2024
1 parent e2f97f7 commit 5ac38e7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions python/triton/runtime/interpreter.py
Original file line number Diff line number Diff line change
Expand Up @@ -687,6 +687,8 @@ def _patch_lang_math(lang):
"abs": np.abs,
"acos": np.arccos,
"asin": np.arcsin,
"exp": np.exp,
"log": np.log,
"exp2": np.exp2,
"log2": np.log2,
"max": np.maximum,
Expand Down

0 comments on commit 5ac38e7

Please sign in to comment.