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

[XPU] update ut threshold for depthwise_conv2d. (#56054)

上级 1262e787
...@@ -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 "20230620") set(XPU_BASE_DATE "20230807")
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,6 +70,7 @@ class XPUTestDepthwiseConv2DOp(XPUOpTestWrapper): ...@@ -70,6 +70,7 @@ 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]
...@@ -149,6 +150,7 @@ class XPUTestDepthwiseConv2DOp_v2(XPUOpTestWrapper): ...@@ -149,6 +150,7 @@ 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.
先完成此消息的编辑!
想要评论请 注册