Skip to content

Commit

Permalink
Increase dimensions of dot operands to trigger the use of a custom ca…
Browse files Browse the repository at this point in the history
…ll in XLA.

After openxla/xla#9319 landed in XLA, the dimensions
of the tested matrix multiplication were too small to trigger the use of a
custom call, thereby breaking the assertion below.

PiperOrigin-RevId: 615559772
  • Loading branch information
bchetioui authored and jax authors committed Mar 13, 2024
1 parent 626c7ab commit d4f532e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/pgle_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def f(x, y):
z = x @ y
return z @ y

shape = (8, 8)
shape = (16, 16)
x = jnp.arange(math.prod(shape)).reshape(shape).astype(np.float32)
y = x + 1
f_lowered = f.lower(x, y)
Expand Down

0 comments on commit d4f532e

Please sign in to comment.