File tree 3 files changed +8
-6
lines changed
3 files changed +8
-6
lines changed Original file line number Diff line number Diff line change 21
21
" cosmopedia" ,
22
22
" CSDS" ,
23
23
" csebuetnlp" ,
24
+ " cuda" ,
24
25
" curid" ,
25
26
" dataframe" ,
26
27
" datetime" ,
Original file line number Diff line number Diff line change @@ -7,10 +7,11 @@ all: $(targets)
7
7
8
8
.PHONY : setup lock
9
9
setup :
10
- conda install pytorch==2.2.1 torchvision==0.17.1 torchaudio==2.2.1 pytorch-cuda=12.1 -c pytorch -c nvidia
11
- conda install -c nvidia cuda-toolkit=11.6
12
- pip install flash-attn --no-build-isolation
10
+ conda install -c nvidia cuda-toolkit=12.1
11
+ conda install pytorch torchvision torchaudio pytorch-cuda=12.1 -c pytorch -c nvidia
13
12
pip install -U pip
13
+ pip install packaging
14
+ pip install flash-attn --no-build-isolation
14
15
pip install -Ur requirements.txt
15
16
lock :
16
17
pip freeze > requirements.txt.lock
Original file line number Diff line number Diff line change @@ -37,15 +37,15 @@ VRAM 24GB で日本語データセットでファインチューニングしよ
37
37
## Setup
38
38
39
39
``` bash
40
- conda create -n peft
40
+ conda create -n peft python=3.10
41
41
```
42
42
43
43
``` bash
44
- conda install -c nvidia cuda-toolkit=12.1
44
+ conda activate peft
45
45
```
46
46
47
47
``` bash
48
- conda activate peft
48
+ conda install -c nvidia cuda-toolkit=12.1
49
49
```
50
50
51
51
## Training all models
You can’t perform that action at this time.
0 commit comments