From bfa659937f1d8a40cd071dc06769bf2a6245994f Mon Sep 17 00:00:00 2001 From: houj04 <35131887+houj04@users.noreply.github.com> Date: Thu, 10 Aug 2023 19:38:16 +0800 Subject: [PATCH] [XPU] fix ut threshold for depthwise_conv2d. (#56140) --- cmake/external/xpu.cmake | 2 +- test/xpu/test_depthwise_conv2d_op_xpu.py | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/cmake/external/xpu.cmake b/cmake/external/xpu.cmake index 036ee8a1345..ca19fe0f3b8 100644 --- a/cmake/external/xpu.cmake +++ b/cmake/external/xpu.cmake @@ -24,7 +24,7 @@ set(XPU_XFT_LIB_NAME "libxft.so") set(XPU_XPTI_LIB_NAME "libxpti.so") if(NOT DEFINED XPU_BASE_DATE) - set(XPU_BASE_DATE "20230807") + set(XPU_BASE_DATE "20230810") endif() set(XPU_XCCL_BASE_VERSION "1.0.53.6") if(NOT DEFINED XPU_XFT_BASE_VERSION) diff --git a/test/xpu/test_depthwise_conv2d_op_xpu.py b/test/xpu/test_depthwise_conv2d_op_xpu.py index e80503d1d4c..a0b01c92128 100644 --- a/test/xpu/test_depthwise_conv2d_op_xpu.py +++ b/test/xpu/test_depthwise_conv2d_op_xpu.py @@ -70,7 +70,6 @@ class XPUTestDepthwiseConv2DOp(XPUOpTestWrapper): class TestDepthwiseConvWithDilation(XPUTestConv2DOp.TestConv2DOp): def init_test_case(self): - self.epsilon_xpu2xpu = 0.00005 self.use_cuda = False self.pad = [1, 1] self.stride = [2, 2] @@ -150,7 +149,6 @@ class XPUTestDepthwiseConv2DOp_v2(XPUOpTestWrapper): XPUTestConv2DOp_v2.TestConv2DOp_v2 ): def init_test_case(self): - self.epsilon_xpu2xpu = 0.00005 self.use_cuda = False self.pad = [1, 1] self.stride = [2, 2] -- GitLab