diff --git a/cmake/external/xpu.cmake b/cmake/external/xpu.cmake index 65c02e1e520a8e0a0611eaf475e8a93b99a8aa03..6202d4edf049606ea79471d22861e56752ce6f51 100644 --- a/cmake/external/xpu.cmake +++ b/cmake/external/xpu.cmake @@ -8,7 +8,7 @@ set(XPU_API_LIB_NAME "libxpuapi.so") set(XPU_RT_LIB_NAME "libxpurt.so") set(XPU_XFT_LIB_NAME "libxft.so") -set(XPU_BASE_DATE "20230408") +set(XPU_BASE_DATE "20230427") set(XPU_XCCL_BASE_VERSION "1.0.13") set(XPU_XFT_BASE_VERSION "latest") diff --git a/test/xpu/test_deformable_conv_op_xpu.py b/test/xpu/test_deformable_conv_op_xpu.py index 8577cb24977048a5100f593e3a8c98297527270c..62d274fbc74f04d69f4c203cd8fafbc6270597f7 100644 --- a/test/xpu/test_deformable_conv_op_xpu.py +++ b/test/xpu/test_deformable_conv_op_xpu.py @@ -138,6 +138,8 @@ class XPUTestModulatedDeformableConvOp(XPUOpTestWrapper): class TestModulatedDeformableConvOp(XPUOpTest): def setUp(self): self.op_type = "deformable_conv" + # set to e-6 because of atomic add in XPU + self.epsilon_xpu2xpu = 0.000001 self.dtype = self.in_type self.place = paddle.XPUPlace(0) self.init_group()