fix: update README instructions for rosetta

This commit is contained in:
Laurent FAINSIN 2023-04-07 13:31:51 +02:00
parent c67e7faf35
commit 55902e13bc

View file

@ -27,13 +27,17 @@
* Setup the environment
Install from conda file
```
conda env create --name lion_env --file=env.yaml
conda activate lion_env
mamba env create -f environment.yml
# mamba env update -f environment.yml
conda activate LION
# Install some other packages
# Install some other packages (use proxy)
pip install git+https://github.com/openai/CLIP.git
# build some packages first (optional)
export CUDA_HOME=/usr/local/cud # just in case rosetta cucks you
module load gcc/11.2.0
module load mpfr/4.0.2
python build_pkg.py
```
Tested with conda version 22.9.0