From 17e755e0628174105cc79f8c8fceb9b42f050ef3 Mon Sep 17 00:00:00 2001 From: mauwii Date: Sat, 17 Sep 2022 03:05:13 +0200 Subject: [PATCH] shorten long commands in codeblocks this way it looks much better in MkDocs Codeblocks (and ofc still works) also remove a markdown styled link from a bash-codeblock --- docs/installation/INSTALL_MAC.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/docs/installation/INSTALL_MAC.md b/docs/installation/INSTALL_MAC.md index 5c3bc42082..5e1968f038 100644 --- a/docs/installation/INSTALL_MAC.md +++ b/docs/installation/INSTALL_MAC.md @@ -62,11 +62,13 @@ pyenv activate anaconda3-2022.05 brew install cmake rust # install miniconda for M1 arm64: -curl https://repo.anaconda.com/miniconda/Miniconda3-latest-MacOSX-arm64.sh -o Miniconda3-latest-MacOSX-arm64.sh +curl https://repo.anaconda.com/miniconda/Miniconda3-latest-MacOSX-arm64.sh \ + -o Miniconda3-latest-MacOSX-arm64.sh /bin/bash Miniconda3-latest-MacOSX-arm64.sh # OR install miniconda for Intel: -curl https://repo.anaconda.com/miniconda/Miniconda3-latest-MacOSX-x86_64.sh -o Miniconda3-latest-MacOSX-x86_64.sh +curl https://repo.anaconda.com/miniconda/Miniconda3-latest-MacOSX-x86_64.sh \ + -o Miniconda3-latest-MacOSX-x86_64.sh /bin/bash Miniconda3-latest-MacOSX-x86_64.sh @@ -222,7 +224,6 @@ There are several causes of these errors: ```bash conda deactivate - conda env remove -n ldm PIP_EXISTS_ACTION=w CONDA_SUBDIR=osx-arm64 \ conda env create \ @@ -360,7 +361,7 @@ python scripts/preload_models.py ... NotImplementedError: The operator 'aten::_index_put_impl_' is not current implemented for the MPS device. If you want this op to be added in priority during the prototype phase of this feature, please comment on -[https://github.com/pytorch/pytorch/issues/77764](https://github.com/pytorch/pytorch/issues/77764). +https://github.com/pytorch/pytorch/issues/77764. As a temporary fix, you can set the environment variable `PYTORCH_ENABLE_MPS_FALLBACK=1` to use the CPU as a fallback for this op. WARNING: this will be slower than running natively on MPS.