From 59f7d6e56cfc662bef4255cbb6a1b642720990f9 Mon Sep 17 00:00:00 2001 From: mengfeil Date: Mon, 5 Aug 2024 14:24:13 +0800 Subject: [PATCH] change mkl installation via pip --- .github/workflows/_linux_ut.yml | 2 +- .github/workflows/nightly_ondemand.yml | 2 +- .github/workflows/pull.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/_linux_ut.yml b/.github/workflows/_linux_ut.yml index ba24b5631..610e3b12b 100644 --- a/.github/workflows/_linux_ut.yml +++ b/.github/workflows/_linux_ut.yml @@ -64,7 +64,7 @@ jobs: - name: Build Pytorch XPU run: | source activate xpu_op_${ZE_AFFINITY_MASK} - conda install -c intel mkl-static mkl-include -y + pip install mkl-static mkl-include cd ../pytorch pip install -r requirements.txt export USE_XPU=1 diff --git a/.github/workflows/nightly_ondemand.yml b/.github/workflows/nightly_ondemand.yml index e5be18fb5..11ae30a83 100644 --- a/.github/workflows/nightly_ondemand.yml +++ b/.github/workflows/nightly_ondemand.yml @@ -109,7 +109,7 @@ jobs: conda remove --all -y -n e2e_ci || rm -rf $(dirname ${CONDA_EXE})/../envs/e2e_ci conda create -n e2e_ci python=${{ env.python }} cmake ninja -y source activate e2e_ci - conda install -c intel mkl-static mkl-include -y + pip install mkl-static mkl-include pip install pandas scipy tqdm - name: Prepare Stock Pytorch run: | diff --git a/.github/workflows/pull.yml b/.github/workflows/pull.yml index 350c88f91..038f76140 100644 --- a/.github/workflows/pull.yml +++ b/.github/workflows/pull.yml @@ -41,7 +41,7 @@ jobs: conda remove --all -y -n e2e_ci || rm -rf $(dirname ${CONDA_EXE})/../envs/e2e_ci conda create -n e2e_ci python=3.10 cmake ninja -y source activate e2e_ci - conda install -c intel mkl-static mkl-include -y + pip install mkl-static mkl-include pip install pandas scipy tqdm - name: Prepare Stock Pytorch run: |