[Phi] Move amp ops into phi (#45079)
* move check finite and unscale kernel into phi * move infershape into phi * move update_loss_scaling kernel into phi * remove original kernels * move update loss scaling infershape into phi * add header for xpu and npu * solve coverage failed * fix npu test failed * remove mutable data in cu file * fix new executor failed * add valid check for meta tensor output
Showing
paddle/phi/kernels/amp_kernel.h
0 → 100644
想要评论请 注册 或 登录