未验证 提交 bfa65993 编写于 作者: H houj04 提交者: GitHub

[XPU] fix ut threshold for depthwise_conv2d. (#56140)

上级 307128d1
...@@ -24,7 +24,7 @@ set(XPU_XFT_LIB_NAME "libxft.so") ...@@ -24,7 +24,7 @@ set(XPU_XFT_LIB_NAME "libxft.so")
set(XPU_XPTI_LIB_NAME "libxpti.so") set(XPU_XPTI_LIB_NAME "libxpti.so")
if(NOT DEFINED XPU_BASE_DATE) if(NOT DEFINED XPU_BASE_DATE)
set(XPU_BASE_DATE "20230807") set(XPU_BASE_DATE "20230810")
endif() endif()
set(XPU_XCCL_BASE_VERSION "1.0.53.6") set(XPU_XCCL_BASE_VERSION "1.0.53.6")
if(NOT DEFINED XPU_XFT_BASE_VERSION) if(NOT DEFINED XPU_XFT_BASE_VERSION)
......
...@@ -70,7 +70,6 @@ class XPUTestDepthwiseConv2DOp(XPUOpTestWrapper): ...@@ -70,7 +70,6 @@ class XPUTestDepthwiseConv2DOp(XPUOpTestWrapper):
class TestDepthwiseConvWithDilation(XPUTestConv2DOp.TestConv2DOp): class TestDepthwiseConvWithDilation(XPUTestConv2DOp.TestConv2DOp):
def init_test_case(self): def init_test_case(self):
self.epsilon_xpu2xpu = 0.00005
self.use_cuda = False self.use_cuda = False
self.pad = [1, 1] self.pad = [1, 1]
self.stride = [2, 2] self.stride = [2, 2]
...@@ -150,7 +149,6 @@ class XPUTestDepthwiseConv2DOp_v2(XPUOpTestWrapper): ...@@ -150,7 +149,6 @@ class XPUTestDepthwiseConv2DOp_v2(XPUOpTestWrapper):
XPUTestConv2DOp_v2.TestConv2DOp_v2 XPUTestConv2DOp_v2.TestConv2DOp_v2
): ):
def init_test_case(self): def init_test_case(self):
self.epsilon_xpu2xpu = 0.00005
self.use_cuda = False self.use_cuda = False
self.pad = [1, 1] self.pad = [1, 1]
self.stride = [2, 2] self.stride = [2, 2]
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册