George Necula f960c287c4 [pallas] Improve error messages for input_output_aliasing
Currently, we get MLIR verification errors when the inputs
and outputs declared to be aliased do not have matching
shapes and dtypes. We add a nicer error message that localizes
the inputs and outputs in the corresponding PyTrees.

Interestingly, if the output index is out of bounds, there
is no MLIR verification error. This seems to be a bug
in the StableHLO verification code.

Currently, in interpreter mode we get a mix of internal
assertion errors when there are errors in input_output_aliasing.
2024-07-08 15:18:27 +03:00
..
2024-05-14 10:40:40 -07:00
2024-05-14 10:40:40 -07:00
2024-07-04 17:16:32 +04:00