File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -216,7 +216,7 @@ ABI=1
216216cd pytorch
217217git apply ../intel-extension-for-pytorch/torch_patches/* .patch
218218python -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
220220mv version.txt version.txt.bk
221221echo " ${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
240240unset USE_STATIC_MKL
241241unset CMAKE_PREFIX_PATH
242242mv version.txt.bk version.txt
243- python -m pip uninstall -y mkl-static mkl-include
243+ conda remove mkl-static mkl-include -y
244244python -m pip install dist/* .whl
245245cd ..
246246# TorchVision
You can’t perform that action at this time.
0 commit comments