Skip to content

Commit fde254b

Browse files
committed
Merge branch 'main' of github.com:yuiseki/infinite-tinyllama
2 parents e0b9d4a + 05a906c commit fde254b

File tree

3 files changed

+8
-6
lines changed

3 files changed

+8
-6
lines changed

.vscode/settings.json

+1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
"cosmopedia",
2222
"CSDS",
2323
"csebuetnlp",
24+
"cuda",
2425
"curid",
2526
"dataframe",
2627
"datetime",

Makefile

+4-3
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,11 @@ all: $(targets)
77

88
.PHONY: setup lock
99
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
1312
pip install -U pip
13+
pip install packaging
14+
pip install flash-attn --no-build-isolation
1415
pip install -Ur requirements.txt
1516
lock:
1617
pip freeze > requirements.txt.lock

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -37,15 +37,15 @@ VRAM 24GB で日本語データセットでファインチューニングしよ
3737
## Setup
3838

3939
```bash
40-
conda create -n peft
40+
conda create -n peft python=3.10
4141
```
4242

4343
```bash
44-
conda install -c nvidia cuda-toolkit=12.1
44+
conda activate peft
4545
```
4646

4747
```bash
48-
conda activate peft
48+
conda install -c nvidia cuda-toolkit=12.1
4949
```
5050

5151
## Training all models

0 commit comments

Comments
 (0)