Skip to content

Commit

Permalink
[XPU] Update Lite XPU lib to fix l3 cache crash for seg models (Paddl…
Browse files Browse the repository at this point in the history
…ePaddle#1786)

* Update kunlunxin.cmake

* [XPU] Update Lite XPU lib to fix l3 cache crash
  • Loading branch information
DefTruth authored Apr 11, 2023
1 parent e2f5a9c commit 9ec4191
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion cmake/kunlunxin.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ if(NOT PADDLELITE_URL)
else ()
if (WITH_LITE_XPU_LOG)
# set(PADDLELITE_URL "https://bj.bcebos.com/fastdeploy/third_libs/lite-linux-x64-xpu-20221215.tgz")
set(PADDLELITE_URL "https://bj.bcebos.com/fastdeploy/third_libs/lite-linux-x64-xpu-20230303.tgz")
# set(PADDLELITE_URL "https://bj.bcebos.com/fastdeploy/third_libs/lite-linux-x64-xpu-20230303.tgz")
set(PADDLELITE_URL "https://bj.bcebos.com/fastdeploy/third_libs/lite-linux-x64-xpu-20230410.tgz")
else()
set(PADDLELITE_URL "https://bj.bcebos.com/fastdeploy/third_libs/lite-linux-x64-xpu-without-log-20230303.tgz")
endif()
Expand Down
4 changes: 2 additions & 2 deletions scripts/linux/build_linux_x86_64_cpp_xpu_with_benchmark.sh
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ __build_fastdeploy_linux_x86_64_xpu_shared() {
cmake -DWITH_KUNLUNXIN=ON \
-DCMAKE_BUILD_TYPE=Release \
-DWITH_GPU=OFF \
-DENABLE_ORT_BACKEND=ON \
-DENABLE_PADDLE_BACKEND=ON \
-DENABLE_ORT_BACKEND=OFF \
-DENABLE_PADDLE_BACKEND=OFF \
-DENABLE_VISION=ON \
-DENABLE_BENCHMARK=ON \
-DBUILD_EXAMPLES=OFF \
Expand Down

0 comments on commit 9ec4191

Please sign in to comment.