Skip to content

Commit 767016d

Browse files
megrez-yliuGoogle-ML-Automation
authored andcommitted
[SC] Specify tiling in mosaic kernel so it does not rely on global flag xla_tpu_use_tc_device_shape_on_sc.
PiperOrigin-RevId: 924832145
1 parent 0747df9 commit 767016d

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/maxtext/kernels/gather_reduce_sc.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1617,6 +1617,7 @@ def kernel_main(
16171617
return mosaic.as_tpu_kernel(
16181618
m,
16191619
out_type=out_type,
1620+
tiling=mosaic.Tiling.COMPACT,
16201621
)(
16211622
*(
16221623
[

0 commit comments

Comments
 (0)