Fix paddle save for multi-processing (#49657)
* Fix bug of reduce_sum op. When input.numel() > INT32_MAX, its result is wrong. * Remove climits. * Fix bug of paddle.save. It may cause bug for saving sharded optimizer state_dict() in parallel.
Showing
想要评论请 注册 或 登录