Spaces:
Runtime error
Runtime error
Update requirements.txt
Browse files- requirements.txt +5 -12
requirements.txt
CHANGED
@@ -1,18 +1,11 @@
|
|
1 |
-
# Install
|
2 |
-
|
3 |
-
|
4 |
-
# Model and inference-related packages
|
5 |
-
torch
|
6 |
transformers
|
|
|
|
|
7 |
xformers
|
8 |
trl<0.9.0
|
9 |
peft
|
10 |
accelerate
|
11 |
bitsandbytes
|
12 |
-
|
13 |
-
|
14 |
-
# Gradio for the app interface
|
15 |
-
gradio
|
16 |
-
|
17 |
-
# Hugging Face specific requirements (optional but good to include)
|
18 |
-
huggingface_hub
|
|
|
1 |
+
# Install the required packages
|
2 |
+
torch==2.0.1+cpu # CPU-only version of PyTorch
|
|
|
|
|
|
|
3 |
transformers
|
4 |
+
triton
|
5 |
+
gradio
|
6 |
xformers
|
7 |
trl<0.9.0
|
8 |
peft
|
9 |
accelerate
|
10 |
bitsandbytes
|
11 |
+
git+https://github.com/unslothai/unsloth.git
|
|
|
|
|
|
|
|
|
|
|
|