[Release/2.4][Cherry-pick] Fix bug of reduce_sum op (#46160)
* Fix bug of reduce_sum op. When input.numel() > INT32_MAX, its result is wrong. * Cherry-pick of PR 46045 * Fix bug of reduce_sum kp op. * Fix bug of reduce_sum kp operator compilation. If compilation device is XPU, eigen kernel should be ignored.
Showing
想要评论请 注册 或 登录