From b3027e2d60db7b8030beb9a01dfcab66213ced27 Mon Sep 17 00:00:00 2001 From: Yuwen Hu <54161268+Oscilloscope98@users.noreply.github.com> Date: Fri, 17 May 2024 10:33:43 +0800 Subject: [PATCH] Update for cpu install option in performance tests (#11060) --- .github/workflows/llm_performance_tests.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/llm_performance_tests.yml b/.github/workflows/llm_performance_tests.yml index 017ba288..07c200ec 100644 --- a/.github/workflows/llm_performance_tests.yml +++ b/.github/workflows/llm_performance_tests.yml @@ -198,7 +198,7 @@ jobs: - name: Install IPEX-LLM from Pypi shell: bash run: | - pip install --pre --upgrade ipex-llm[all] --extra-index-url https://pytorch-extension.intel.com/release-whl/stable/xpu/cn/ + pip install --pre --upgrade ipex-llm[all] --extra-index-url https://download.pytorch.org/whl/cpu test_version_date=`date -d 'yesterday' '+%Y%m%d'` if ! pip show ipex-llm | grep $test_version_date; then echo "Did not install ipex-llm with excepted version $test_version_date" @@ -272,7 +272,7 @@ jobs: - name: Install IPEX-LLM from Pypi shell: bash run: | - pip install --pre --upgrade ipex-llm[all] --extra-index-url https://pytorch-extension.intel.com/release-whl/stable/xpu/cn/ + pip install --pre --upgrade ipex-llm[all] test_version_date=`date -d 'yesterday' '+%Y%m%d'` if ! pip show ipex-llm | grep $test_version_date; then echo "Did not install ipex-llm with excepted version $test_version_date"