torch-mlir/test
Ramiro Leal-Cavazos 718f53ff8a
Fix handling of `!torch.number` in abstract interpretation library (#2309)
In PyTorch, the `NumberType` is equal to `Union[int, float,
complex]`. However, the abstract interpretation library was treating
the `NumberType` as `Union[int, float]`, resulting in type mismatches
when reifying certain dtype functions. This commit fixes the type
inconsistency by having the abstract interpretation functions take as
an input a `Union[int, float, complex]` for the ops that take
`!torch.number` inputs.
2023-07-17 09:52:04 -07:00
..
CAPI Expose metadata of torch-mlir types (plus verify DictType key and value types). (#1785) 2023-01-16 10:25:02 -06:00
Conversion [MLIR][TORCH] Add support for negative index values for index.Tensor op (#2233) 2023-06-16 14:21:04 -05:00
Dialect Fix handling of `!torch.number` in abstract interpretation library (#2309) 2023-07-17 09:52:04 -07:00
RefBackend [MLIR][TORCH] Add TorchConversionToMLProgram and MLProgramBufferize pass 2022-12-02 13:20:46 +05:30
python Fix import of constant bool tensor parameters (#2047) 2023-04-20 18:38:48 -07:00
CMakeLists.txt mhlo: migrate conversion to stablehlo (#1840) 2023-02-02 07:29:47 -06:00
lit.cfg.py Expose metadata of torch-mlir types (plus verify DictType key and value types). (#1785) 2023-01-16 10:25:02 -06:00
lit.site.cfg.py.in mhlo: migrate conversion to stablehlo (#1840) 2023-02-02 07:29:47 -06:00