-
Notifications
You must be signed in to change notification settings - Fork 0
/
memo.txt
23 lines (21 loc) · 1.08 KB
/
memo.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
conda env update --name p14 --file environment.yml
pip install git+https://github.com/huggingface/transformers
pip install git+https://github.com/bitsandbytes-foundation/bitsandbytes
pip install transformers -U
pip install 'accelerate>=0.26.0'
pip install 'bitsandbytes>=0.41.3'
pip install flash-attn --no-build-isolation --no-cache-dir
pip install fuzzywuzzy
pip install bitsandbytes --no-build-isolation --no-cache-dir
pip install peft --no-build-isolation --no-cache-dir
pip install sentencepiece
pip install protobuf
wget https://developer.download.nvidia.com/compute/cuda/repos/wsl-ubuntu/x86_64/cuda-wsl-ubuntu.pin
sudo mv cuda-wsl-ubuntu.pin /etc/apt/preferences.d/cuda-repository-pin-600
sudo apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/wsl-ubuntu/x86_64/3bf863cc.pub
sudo add-apt-repository 'deb https://developer.download.nvidia.com/compute/cuda/repos/wsl-ubuntu/x86_64/ /'
sudo apt-get update
sudo apt-get -y install cuda
sudo apt install nvidia-cuda-toolkit
nvcc --version
ln -s /usr/lib/wsl/lib/libcuda.so /home/stgr/miniconda3/envs/p14_3/lib/libcuda.so