mirror of
https://github.com/ROCm/jax.git
synced 2025-04-26 22:36:06 +00:00
Increase the number of iterations in a test that compares rolled versus unrolled HLO for length.
A change that avoids duplicating subcomputations in XLA causes this test to fail, but we can make it work again by increasing the number of iterations. PiperOrigin-RevId: 735875835
This commit is contained in:
parent
e0545a71eb
commit
67aa997f84
@ -2445,7 +2445,7 @@ class LaxControlFlowTest(jtu.JaxTestCase):
|
|||||||
assert b.shape == ()
|
assert b.shape == ()
|
||||||
return c, b
|
return c, b
|
||||||
|
|
||||||
xs = jnp.ones((5, 3))
|
xs = jnp.ones((20, 3))
|
||||||
c = jnp.ones(4)
|
c = jnp.ones(4)
|
||||||
|
|
||||||
scan = lambda c, xs: lax.scan(f, c, xs)
|
scan = lambda c, xs: lax.scan(f, c, xs)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user