From beffcd1982f6d957f89145432f6c58306ad37e16 Mon Sep 17 00:00:00 2001 From: Anatoly Myachev Date: Fri, 11 Oct 2024 10:58:19 +0200 Subject: [PATCH] The use of `mkl-static` and `mkl-include` pip packages seems redundant; remove them (#2464) Closes #2468 Signed-off-by: Anatoly Myachev --- scripts/compile-pytorch-ipex.sh | 2 +- scripts/install-pytorch.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/compile-pytorch-ipex.sh b/scripts/compile-pytorch-ipex.sh index 095b095226..483f8e997e 100755 --- a/scripts/compile-pytorch-ipex.sh +++ b/scripts/compile-pytorch-ipex.sh @@ -117,7 +117,7 @@ if [[ $BUILD_PYTORCH = true ]]; then echo "****** Building $PYTORCH_PROJ ******" pip install -r requirements.txt - pip install cmake ninja mkl-static mkl-include "numpy<2.0" + pip install cmake ninja "numpy<2.0" python setup.py bdist_wheel echo "****** Installing PyTorch ******" diff --git a/scripts/install-pytorch.sh b/scripts/install-pytorch.sh index 143105155d..a8a0f2b83a 100755 --- a/scripts/install-pytorch.sh +++ b/scripts/install-pytorch.sh @@ -154,7 +154,7 @@ $SCRIPTS_DIR/patch-pytorch.sh echo "****** Building $PYTORCH_PROJ ******" pip install -r requirements.txt -pip install cmake ninja mkl-static mkl-include +pip install cmake ninja python setup.py bdist_wheel echo "****** Installing PyTorch ******"