jikechao opened a new pull request, #17953: URL: https://github.com/apache/tvm/pull/17953
Fix https://github.com/apache/tvm/issues/17952. Since TVM's LLVM backend does not support sqrt for integer types (e.g., int16), we explicitly cast the input to float32 at the TOPI operator level before computing sqrt. This ensures compatibility with hardware-accelerated floating-point sqrt instructions. cc @Hzfengsy @tqchen -- 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]
