-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.sh
executable file
·46 lines (35 loc) · 1.28 KB
/
setup.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
#!/bin/bash
#wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
#chmod +x Miniconda3-latest-Linux-x86_64.sh
#./Miniconda3-latest-Linux-x86_64.sh -b
#conda install conda-forge::conda-ecosystem-user-package-isolation
# Restart the kernel
eval "$(conda shell.bash hook)"
conda env create --file environment.yml
source deactivate
conda create -n vllm python=3.9.19 -y
conda activate vllm
pip install vllm==0.5.5
cd convcodeworld
rm -rf bigcodebench
git clone https://github.com/sfc-gh-hhan/bigcodebench.git
cd bigcodebench
# Download sanitized_calibrated_samples
wget https://github.com/sfc-gh-hhan/convcodeworld/releases/download/v0.3.6/sanitized_calibrated_samples.tar.gz
tar -xzvf sanitized_calibrated_samples.tar.gz
rm sanitized_calibrated_samples.tar.gz
conda create -n bigcodebench python=3.9.19 -y
conda activate bigcodebench
export PYTHONPATH=$PYTHONPATH:$(pwd)
pip install -e .
pip install -r https://raw.githubusercontent.com/bigcode-project/bigcodebench/main/Requirements/requirements-eval.txt
conda create -n bigcodebenchgen python=3.9.19 -y
conda activate bigcodebenchgen
export PYTHONPATH=$PYTHONPATH:$(pwd)
pip install -e .
pip install -e .[generate]
pip install -U flash-attn
pip install mistralai
pip install stop_sequencer
#pip install rich
#pip install openai