未验证 提交 207e0f33 编写于 作者: W wangshengxiang 提交者: GitHub

fix: fix deformable_conv_grad op test (#53415)

上级 1c1b487c
......@@ -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")
......
......@@ -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()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册