Update requirements.txt
Browse files- requirements.txt +4 -13
requirements.txt
CHANGED
|
@@ -1,14 +1,5 @@
|
|
| 1 |
-
#
|
| 2 |
-
torch==2.5.1
|
| 3 |
-
transformers==4.55.4
|
| 4 |
-
peft==0.5.0
|
| 5 |
-
gradio==3.39.0
|
| 6 |
-
requests==2.31.0
|
| 7 |
|
| 8 |
-
#
|
| 9 |
-
git+https://github.com/unslothai/unsloth.git#egg=unsloth[cu121]
|
| 10 |
-
|
| 11 |
-
# Optional utilities (often required by Gradio and model pipelines)
|
| 12 |
-
networkx==2.8.8
|
| 13 |
-
psutil==5.9.4
|
| 14 |
-
numpy==1.25.0
|
|
|
|
| 1 |
+
# Step 1: Install core PyPI packages with pinned versions
|
| 2 |
+
pip install torch==2.5.1 transformers==4.55.4 peft==0.5.0 gradio==3.39.0 requests==2.31.0 --use-deprecated=legacy-resolver
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
|
| 4 |
+
# Step 2: Install unsloth from GitHub
|
| 5 |
+
pip install git+https://github.com/unslothai/unsloth.git#egg=unsloth[cu121] --use-deprecated=legacy-resolver
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|