From c389e1323d5ba1c27cb0b07e5bd6e8615e501b74 Mon Sep 17 00:00:00 2001 From: Yuwen Hu <54161268+Oscilloscope98@users.noreply.github.com> Date: Tue, 19 Sep 2023 17:33:30 +0800 Subject: [PATCH] fix xpu performance tests by making sure that latest bigdl-core-xe is installed (#9001) --- .github/actions/llm/setup-llm-env/action.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/actions/llm/setup-llm-env/action.yml b/.github/actions/llm/setup-llm-env/action.yml index 74cdd64d..d732904f 100644 --- a/.github/actions/llm/setup-llm-env/action.yml +++ b/.github/actions/llm/setup-llm-env/action.yml @@ -11,6 +11,10 @@ runs: - name: Create conda env for llm tests and conduct install tests shell: bash run: | + # make sure we install the latest version for bigdl-core-xe + pip uninstall bigdl-core-xe || true + sed -i 's/"bigdl-core-xe==" + VERSION + "/"bigdl-core-xe/g' python/llm/setup.py + pip install requests if [[ ${{ runner.os }} == 'Linux' ]]; then bash python/llm/dev/release_default_linux.sh default false