Yash Katariya ff18dedf99 Make tiling and sub_byte_element_size_in_bits private arguments of DeviceLocalLayout. This is because XLA does not respect the values passed to it.
Once the compiler supports it, we can make it public and allow users to pass those values. Right now, only `major_to_minor` is supported.

But a valid question is why even keep them as arguments in the constructor?

It's because we need to translate `PjRtLayout` which we get from the executable to `DeviceLocalLayout` and preserve the `tiling` and `sub_byte_element_size_in_bits` info that we get from the compiler. This has helped catch bugs before when the compiler was not doing the right thing in layout propagation pass.

PiperOrigin-RevId: 651644934
2024-07-11 22:06:02 -07:00
..
2024-05-14 10:40:40 -07:00
2023-11-15 22:35:52 -05:00
2023-07-24 14:38:20 -07:00
2023-10-10 08:46:36 -07:00