torch-mlir/python
Christopher McGirr b461daa06e
fix(TorchToTosa.cpp): adjust torch->tosa div conversion (#2200)
check the return type of the division to figure out whether to use
the floating point implementation of a division or to use the integer.

the issue rose from the fact that the inputs are all integer but the
result was casted to floating point. The conversion then chose to
use the integer implementation of division which is not legal in tosa
when all the inputs get casted to floating point.

fix(TorchToLinalg): AtenDivScalarOp

upcast self operand as well if applicable, the self operand must also
be casted to float as it can be an integer.
2023-06-12 11:18:38 +02:00
..
test Print name of the backend when tests fail to help debugging issues in CI (#2210) 2023-06-09 10:47:07 +02:00
torch_mlir Support aten.sign (#2205) 2023-06-10 20:45:35 +02:00
torch_mlir_e2e_test fix(TorchToTosa.cpp): adjust torch->tosa div conversion (#2200) 2023-06-12 11:18:38 +02:00
CMakeLists.txt Fix version comparison against stable (#2209) 2023-06-07 10:19:38 +02:00
TorchMLIRModule.cpp Miscellaneous fixes for Windows builds (#1376) 2022-09-29 12:07:43 -05:00