I’m new at TVM and working with TVM to compile and run onnx models.
I have some questions about the rounding mode for floating-point arithmetic in TVM:
Can one change the rounding mode in TVM?
Also, what is the default rounding mode in TVM?
I run into this issue recently. ONNX and numpy.round is round to even, TVM doesn’t define round mode, it depends on intrinsic on each platform. CUDA/LLVM uses round to integer by default.
I happened to run into the same issue. IMO, if you really need roundeven, it is required to add the corresponding new intrinsic from backends like llvm.roundeven.