Skip to content

Commit f160df0

Browse files
More thorough propagation of host linear layout. Currently linear layout on host
can only originate from entry computation. Propagation only goes strickly down/up. More needs to be done later if such layout can original from host compute itself. Removed the temporary pattern match solution. PiperOrigin-RevId: 702966364
1 parent 28528d4 commit f160df0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/memories_test.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1578,7 +1578,7 @@ def test_fn(x_in, y_in):
15781578
test_fn,
15791579
out_shardings=(
15801580
Layout(custom_dll, sharding),
1581-
Layout(custom_dll, p_sharding),
1581+
Layout(custom_dll_linear, p_sharding),
15821582
),
15831583
)
15841584
x_out, y_out = jit_fn(x, y)
@@ -1621,7 +1621,7 @@ def test_fn(x_in, y_in):
16211621
test_fn,
16221622
out_shardings=(
16231623
Layout(custom_dll, sharding),
1624-
Layout(custom_dll, p_sharding),
1624+
Layout(custom_dll_linear, p_sharding),
16251625
),
16261626
)
16271627
x_out, y_out = jit_fn(x, y)

0 commit comments

Comments
 (0)