nilotpaldhar2004 commited on
Commit
a02ba1b
·
verified ·
1 Parent(s): 2ea4813

Update requirements.txt

Browse files
Files changed (1) hide show
  1. requirements.txt +4 -4
requirements.txt CHANGED
@@ -2,8 +2,8 @@ fastapi==0.111.0
2
  uvicorn[standard]==0.29.0
3
  python-multipart==0.0.9
4
  pandas==2.2.2
 
 
 
5
  transformers==4.41.2
6
- torch==2.3.0
7
- sentencepiece==0.2.0
8
- protobuf==4.25.3
9
- accelerate==0.30.1
 
2
  uvicorn[standard]==0.29.0
3
  python-multipart==0.0.9
4
  pandas==2.2.2
5
+ # Replace transformers/torch with llama-cpp for CPU speed
6
+ llama-cpp-python==0.2.76
7
+ # Keep these for your existing T5 logic if you want a dual-model setup
8
  transformers==4.41.2
9
+ torch==2.3.0 --index-url https://download.pytorch.org/whl/cpu