Skip to content

Commit

Permalink
Update MKL to 2022.1
Browse files Browse the repository at this point in the history
As previous one occasionally crashes on AMD CPUs
  • Loading branch information
malfet committed Dec 18, 2022
1 parent 3a407b2 commit 8094997
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions common/install_mkl.sh
Expand Up @@ -3,8 +3,8 @@
set -ex

# MKL
MKL_VERSION=2020.0
MKL_BUILD=166
MKL_VERSION=2022.1.1
MKL_BUILD=16993
mkdir -p /opt/intel/lib
pushd /tmp
curl -fsSL https://anaconda.org/intel/mkl-static/${MKL_VERSION}/download/linux-64/mkl-static-${MKL_VERSION}-intel_${MKL_BUILD}.tar.bz2 | tar xjv
Expand Down
2 changes: 1 addition & 1 deletion wheel/build_wheel.sh
Expand Up @@ -168,7 +168,7 @@ conda create ${EXTRA_CONDA_INSTALL_FLAGS} -yn "$tmp_env_name" python="$desired_p
source activate "$tmp_env_name"

retry conda install ${EXTRA_CONDA_INSTALL_FLAGS} -yq cmake "numpy${NUMPY_PINNED_VERSION}" nomkl "setuptools${SETUPTOOLS_PINNED_VERSION}" "pyyaml${PYYAML_PINNED_VERSION}" cffi typing_extensions ninja requests
retry conda install ${EXTRA_CONDA_INSTALL_FLAGS} -yq mkl-include==2020.1 mkl-static==2020.1 -c intel
retry conda install ${EXTRA_CONDA_INSTALL_FLAGS} -yq mkl-include==2022.2.1 mkl-static==2022.2.1 -c intel
retry pip install -qr "${pytorch_rootdir}/requirements.txt" || true

# For USE_DISTRIBUTED=1 on macOS, need libuv and pkg-config to find libuv.
Expand Down

0 comments on commit 8094997

Please sign in to comment.