fix: update README instructions for rosetta
This commit is contained in:
parent
c67e7faf35
commit
55902e13bc
10
README.md
10
README.md
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue