Skip to content

Commit 8943e28

Browse files
committed
added
1 parent ee40811 commit 8943e28

File tree

2 files changed

+17
-15
lines changed

2 files changed

+17
-15
lines changed

src/finetuning/config/saving_model_and_tokenizer.py

Whitespace-only changes.

src/finetuning/requirements.txt

Lines changed: 17 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,26 @@
1-
--upgrade pip
2-
--upgrade torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118
1+
# Install PyTorch, torchvision, torchaudio with CUDA 11.8 support
2+
torch --index-url https://download.pytorch.org/whl/cu118
3+
torchvision --index-url https://download.pytorch.org/whl/cu118
4+
torchaudio --index-url https://download.pytorch.org/whl/cu118
5+
# Install xformers for PyTorch 2.x
36
xformers[torch2]
7+
8+
# Install 'unsloth' (from GitHub repo)
49
unsloth[colab] @ git+https://github.com/unslothai/unsloth.git
5-
git+https://github.com/huggingface/transformers.git
6-
trl
7-
boto3
810

9-
--upgrade torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118
11+
# Install Hugging Face 'transformers' (from GitHub repo)
12+
git+https://github.com/huggingface/transformers.git
1013

11-
xformers
14+
# Install trl
15+
trl
1216

17+
# Install boto3
18+
boto3
1319

14-
-U torch
15-
-U torchvision
16-
-U torchaudio
17-
torch
18-
torchvision
20+
# Install PyTorch, torchvision, torchaudio with CUDA 11.8 support again
21+
torch --index-url https://download.pytorch.org/whl/cu118
22+
torchvision --index-url https://download.pytorch.org/whl/cu118
1923
torchaudio --index-url https://download.pytorch.org/whl/cu118
2024

21-
22-
-U xformers
23-
xformers[torch2]
25+
# Install xformers for PyTorch 2.x again
2426

0 commit comments

Comments
 (0)