Open Mgluhovskoi opened 1 month ago
The TensorRT dialect doesn't have coverage of i64 yet. Right now it's not a priority. If you need it, then feel free to exapnd I64 support in the TensorRT operator ODS spec everywhere that is relevant.
Once that is done, we would need to update StableHlo-to-TensorRT. @shelkesagar29 this is another area where we need appropriate use of the target TensorRT version in the conversion pass. I64 should only be allowed as a target datatype for the TensorRT versions that support I64.
Throws the following error:
Here is the MLIR:
From what I can tell this seems to be a MLIR-TRT bug.
If you eval before casting then it passes: