[NPU] refactor check_finite_and_scale npu kernel (#32407)
* refactor_check_finite_and_scale_npu_kernel * fix compile * add alloc_float_status op * add alloc_float_status op * add FloatStatus for check_finite_and_unscale * refine code * remove unneccessary logic * refine for fleet
Showing
想要评论请 注册 或 登录