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 * Setup the environment
Install from conda file Install from conda file
``` ```
conda env create --name lion_env --file=env.yaml mamba env create -f environment.yml
conda activate lion_env # 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 pip install git+https://github.com/openai/CLIP.git
# build some packages first (optional) # 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 python build_pkg.py
``` ```
Tested with conda version 22.9.0 Tested with conda version 22.9.0