Skip to content

Commit 6384575

Browse files
authored
Update compile_bundle.sh (#3855)
1 parent 44c35bc commit 6384575

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/compile_bundle.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ ABI=1
216216
cd pytorch
217217
git apply ../intel-extension-for-pytorch/torch_patches/*.patch
218218
python -m pip install -r requirements.txt
219-
python -m pip install mkl-static mkl-include
219+
conda install --force-reinstall intel::mkl-static intel::mkl-include -y
220220
mv version.txt version.txt.bk
221221
echo "${VER_TORCH:1}a0" > version.txt
222222
# Ensure cmake can find python packages when using conda or virtualenv
@@ -240,7 +240,7 @@ unset _GLIBCXX_USE_CXX11_ABI
240240
unset USE_STATIC_MKL
241241
unset CMAKE_PREFIX_PATH
242242
mv version.txt.bk version.txt
243-
python -m pip uninstall -y mkl-static mkl-include
243+
conda remove mkl-static mkl-include -y
244244
python -m pip install dist/*.whl
245245
cd ..
246246
# TorchVision

0 commit comments

Comments
 (0)