-
Notifications
You must be signed in to change notification settings - Fork 3
Setup on the coli servers
Siyu Tao edited this page Feb 2, 2022
·
1 revision
On the coli servers, we already have conda environments with allennlp v0.8.4 (from am-parser) and with allennlp v2.8.0 (for the cookbook project) set up. To use them, follow the instructions here.
- Create a file
run_conda.shwith the content below in e.g. your home directory
# set UTF encoding right
export LC_ALL=en_US.UTF-8
# run conda
. /proj/contrib/anaconda3/etc/profile.d/conda.sh
# for comet_ml
export https_proxy="http://www-proxy.uni-saarland.de:3128"
- run
$ source run_conda.sh
- append the path to conda environments to conda config
- The allennlp==0.8.4 environment is at
/proj/irtg.shadow/conda/envs/allennlp, if you need to use it, run
$ conda config --append envs_dirs /proj/irtg.shadow/conda/envs
- The allennlp==2.8.0 environment is at
/proj/cookbook.shadow/conda/envs/allennlp2.8, if you need to use it, run
$ conda config --append envs_dirs /proj/cookbook.shadow/conda/envs
- activate the environment
- allennlp==0.8.4
$ conda activate allennlp
- allennlp==2.8.0
$ conda activate allennlp2.8
Repeat step 2 and 4 as above.