jikechao opened a new pull request, #18382:
URL: https://github.com/apache/tvm/pull/18382

   This PR addresses the issue where tvm.tir.exp does not support integer types 
(e.g., int32, int64), causing an InternalError during LLVM code generation with 
the message, The issue arises because the `llvm.exp` intrinsic expects 
floating-point inputs, but no type conversion is performed for integer inputs.
   
   I opened this PR to solve it via type conversion. This change aligns the 
behavior of tir.exp with libraries like PyTorch and NumPy, which implicitly 
convert integer inputs to floating-point types for their exponential functions.
   
   
   Fix #18381


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to