mirror of
https://github.com/zebrajr/pytorch.git
synced 2025-12-06 12:20:52 +01:00
[CD] Install OpenMP from homebrew (#145889)
Pull Request resolved: https://github.com/pytorch/pytorch/pull/145889 Approved by: https://github.com/atalman ghstack dependencies: #145871, #145870
This commit is contained in:
parent
0d5f0a81c5
commit
8cc6f17334
|
|
@ -186,9 +186,7 @@ source activate "$tmp_env_name"
|
||||||
|
|
||||||
pip install "numpy=${NUMPY_PINNED_VERSION}" "pyyaml${PYYAML_PINNED_VERSION}" requests ninja "setuptools${SETUPTOOLS_PINNED_VERSION}" typing_extensions
|
pip install "numpy=${NUMPY_PINNED_VERSION}" "pyyaml${PYYAML_PINNED_VERSION}" requests ninja "setuptools${SETUPTOOLS_PINNED_VERSION}" typing_extensions
|
||||||
retry pip install -r "${pytorch_rootdir}/requirements.txt" || true
|
retry pip install -r "${pytorch_rootdir}/requirements.txt" || true
|
||||||
# TODO : Remove me later (but in the interim, use Anaconda cmake, to find Anaconda installed OpenMP)
|
retry brew install libomp
|
||||||
retry pip uninstall -y cmake
|
|
||||||
retry conda install ${EXTRA_CONDA_INSTALL_FLAGS} -y llvm-openmp=14.0.6 cmake
|
|
||||||
|
|
||||||
# For USE_DISTRIBUTED=1 on macOS, need libuv, which is build as part of tensorpipe submodule
|
# For USE_DISTRIBUTED=1 on macOS, need libuv, which is build as part of tensorpipe submodule
|
||||||
export USE_DISTRIBUTED=1
|
export USE_DISTRIBUTED=1
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user