torch-mlir/python/torch_mlir_e2e_test
Ramiro Leal-Cavazos 96d662647f
Fix import of constant bool tensor parameters (#2047)
Bool tensors are represented in TorchScript as an array of
`int8_t`s. However, when importing them into Torch-MLIR, the importer
was assuming the array had `int32_t` elements, leading to the importer
reading into memory that was out of bounds. This commit fixes the
casting of the bool tensor.
2023-04-20 18:38:48 -07:00
..
configs [Torch Dialect] add folder for aten.sub.float (#1871) 2023-03-02 09:07:33 -08:00
debug [torchdynamo] Add "lockstep" numerical accuracy debugger. 2022-12-06 07:57:45 -08:00
linalg_on_tensors_backends Update LLVM and MHLO submodules. 2023-01-31 06:08:21 -08:00
stablehlo_backends mhlo: migrate conversion to stablehlo (#1840) 2023-02-02 07:29:47 -06:00
test_suite Fix import of constant bool tensor parameters (#2047) 2023-04-20 18:38:48 -07:00
tosa_backends Update to LLVM 029313cc979ae71877b65794b1063d4e51184cc8 2023-03-21 04:16:20 -07:00
CMakeLists.txt Move external/torch-mlir to the root of the repo. 2021-09-27 17:11:08 -07:00
__init__.py Move external/torch-mlir to the root of the repo. 2021-09-27 17:11:08 -07:00
annotations.py Remove "torchscript" association from the e2e framework. 2022-08-29 14:10:03 -07:00
framework.py [Torch Dialect] Scatter reduce lowering (#1884) 2023-02-21 23:05:55 +00:00
registry.py Ensure that tests have unique names 2022-08-29 16:25:23 -07:00
reporting.py Remove "torchscript" association from the e2e framework. 2022-08-29 14:10:03 -07:00
utils.py Remove "torchscript" association from the e2e framework. 2022-08-29 14:10:03 -07:00