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 ******"