Skip to content

Commit

Permalink
Fixed a typo in Pallas GPU lowering
Browse files Browse the repository at this point in the history
`abs` is not available in `triton.compat.math`.

PiperOrigin-RevId: 601709135
  • Loading branch information
superbobry authored and jax authors committed Jan 26, 2024
1 parent 8901552 commit f34bcc3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jax/_src/pallas/triton/lowering.py
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,7 @@ def _cumsum_lowering_rule(
_TRITON_FN_MAPPING = {
# Unary ops.
lax.neg_p: tc.semantic.minus,
lax.abs_p: tc.math.abs,
lax.abs_p: tc.abs,
lax.ceil_p: tc.math.ceil,
lax.floor_p: tc.math.floor,
lax.exp_p: tc.math.exp,
Expand Down

0 comments on commit f34bcc3

Please sign in to comment.