[REFACTOR][TIR] Remove buffer type and axis separators#20019
Conversation
There was a problem hiding this comment.
Code Review
This pull request removes the concepts of axis_separators and buffer_type (including kAutoBroadcast) from the TIR and Relax buffer representations, layout transformation passes, and scheduling APIs. This simplifies buffer definitions, constructors, and FFI bindings across C++ and Python, and cleans up associated tests and scheduling primitives such as SetAxisSeparator. I have no feedback to provide as there are no review comments.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
b3db6ff to
e120b11
Compare
Rationale
axes_separatorandbuffer_type(auto-broadcast buffers) add representation and propagation complexity that is not needed for flat-buffer use cases. This change removes those surfaces and standardizes buffer handling on the default flat layout. Backward compatibility for compact JSON containing the removed fields is intentionally out of scope.Changes