Add osx-specific python install instructions

This commit is contained in:
John Albietz 2023-03-12 09:00:34 -04:00 committed by GitHub
parent b9bd1d0141
commit b577e34c1d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -135,6 +135,11 @@ make
ls ./models
65B 30B 13B 7B tokenizer_checklist.chk tokenizer.model
# install Python (osx)
brew install pyenv
pyenv install 3.10.10
pyenv local 3.10.10
# install Python dependencies
# preferred versions: python 3.10 (not 3.11), torch 1.13.1+
python3 -m pip install torch numpy sentencepiece