Skip to content

Commit 67aa997

Browse files
hawkinspGoogle-ML-Automation
authored andcommitted
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
1 parent e0545a7 commit 67aa997

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/lax_control_flow_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2445,7 +2445,7 @@ def f(c, a):
24452445
assert b.shape == ()
24462446
return c, b
24472447

2448-
xs = jnp.ones((5, 3))
2448+
xs = jnp.ones((20, 3))
24492449
c = jnp.ones(4)
24502450

24512451
scan = lambda c, xs: lax.scan(f, c, xs)

0 commit comments

Comments
 (0)