ndc8
commited on
Commit
·
0c37db0
1
Parent(s):
6e96e6e
Add protobuf requirement for GGUF model loading
Browse files- requirements.txt +5 -0
- requirements_gguf.txt +0 -14
requirements.txt
CHANGED
@@ -12,5 +12,10 @@ transformers>=4.45.0
|
|
12 |
torch>=2.0.0
|
13 |
accelerate
|
14 |
|
|
|
|
|
|
|
|
|
|
|
15 |
# Optional: gradio for demo UI
|
16 |
# gradio
|
|
|
12 |
torch>=2.0.0
|
13 |
accelerate
|
14 |
|
15 |
+
# Required dependencies for GGUF model loading
|
16 |
+
protobuf
|
17 |
+
sentencepiece>=0.2.0
|
18 |
+
tokenizers
|
19 |
+
|
20 |
# Optional: gradio for demo UI
|
21 |
# gradio
|
requirements_gguf.txt
DELETED
@@ -1,14 +0,0 @@
|
|
1 |
-
# Hugging Face Spaces requirements (GGUF with Native Transformers Support)
|
2 |
-
fastapi
|
3 |
-
uvicorn
|
4 |
-
python-dotenv
|
5 |
-
httpx
|
6 |
-
requests
|
7 |
-
|
8 |
-
# Transformers with native GGUF support (4.45+ has this feature)
|
9 |
-
transformers>=4.45.0
|
10 |
-
torch>=2.0.0
|
11 |
-
accelerate
|
12 |
-
|
13 |
-
# Optional: gradio for demo UI
|
14 |
-
# gradio
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|