Fix sync batch norm op under cuda 12 (#54640)
* Fix bug of reduce_sum op. When input.numel() > INT32_MAX, its result is wrong. * Remove climits. * Fix problem of pickle and NCCL_P2P_DISABLE in distributed testcases in cuda12. * Fix problem of TimeOut of distributed testcases under cuda12. * Fix bug of test_sync_batch_norm_op_static_build accuracy problem under cuda12. * Remove useless code modification.
Showing
想要评论请 注册 或 登录