diff --git a/cmake/external/xpu.cmake b/cmake/external/xpu.cmake index 4007d9d926fbc..1a1606d821b26 100644 --- a/cmake/external/xpu.cmake +++ b/cmake/external/xpu.cmake @@ -90,7 +90,7 @@ set(XPU_XCCL_URL #https://klx-sdk-release-public.su.bcebos.com/xdnn_train/dev/20240312/xctr.tar.gz #https://klx-sdk-release-public.su.bcebos.com/xdnn_train/dev/20221130/xctr.tar.gz set(XPU_XCTR_URL - https://klx-sdk-release-public.su.bcebos.com/xdnn_train/dev/20240312/xctr.tar.gz + https://klx-sdk-release-public.su.bcebos.com/xdnn_train/dev/20240701/xctr.tar.gz CACHE STRING "" FORCE) #"data-im.baidu.com:/home/work/var/CI_DATA/im/static/pack_paddle_depence.sh/pack_paddle_depence.sh" diff --git a/cmake/xpu_kp.cmake b/cmake/xpu_kp.cmake index 79beef3575ac9..253a64c384d23 100644 --- a/cmake/xpu_kp.cmake +++ b/cmake/xpu_kp.cmake @@ -81,7 +81,7 @@ set(TOOLCHAIN_ARGS) if(OPT_LEVEL) set(OPT_LEVEL ${OPT_LEVEL}) else() - set(OPT_LEVEL "-O3") + set(OPT_LEVEL "-O2") endif() message(STATUS "Build with API_ARCH=" ${API_ARCH})