File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ if pip show torch &>/dev/null; then
6666 echo " **** Pinned PyTorch commit $PYTORCH_PINNED_COMMIT ****"
6767 if [ " $FORCE_REINSTALL " = false ]; then
6868 echo " **** Exiting without action. ****"
69- echo " **** INFO: Run the install -pytorch script with the --force-reinstall flag to force reinstallation of PyTorch,
69+ echo " **** INFO: Run the compile -pytorch-ipex script with the --force-reinstall flag to force reinstallation of PyTorch,
7070 or uninstall the current version of PyTorch manually. ****"
7171 exit 1
7272 fi
Original file line number Diff line number Diff line change @@ -152,7 +152,7 @@ install_deps() {
152152 echo " **** Skipping installation of pytorch ****"
153153 else
154154 echo " **** Installing pytorch ****"
155- if [ " $ TEST_BENCHMARK_SOFTMAX" = true ] || [ " $TEST_BENCHMARK_GEMM " = true ] || [ " $TEST_BENCHMARK_ATTENTION " = true ]; then
155+ if ([ ! -v USE_IPEX ] || [ " $USE_IPEX " = 1 ]) && ([ " $ TEST_BENCHMARK_SOFTMAX" = true ] || [ " $TEST_BENCHMARK_GEMM " = true ] || [ " $TEST_BENCHMARK_ATTENTION " = true ]) ; then
156156 $SCRIPTS_DIR /compile-pytorch-ipex.sh $( [ $VENV = true ] && echo " --venv" )
157157 else
158158 $SCRIPTS_DIR /install-pytorch.sh $( [ $VENV = true ] && echo " --venv" )
You can’t perform that action at this time.
0 commit comments