barathm2001 commited on
Commit
31e78c2
·
verified ·
1 Parent(s): 83f125c

Upload requirements.txt

Browse files
Files changed (1) hide show
  1. requirements.txt +5 -4
requirements.txt CHANGED
@@ -1,10 +1,11 @@
1
- fastapi==0.74.*
 
2
  requests==2.27.*
3
  uvicorn[standard]==0.17.*
4
- sentencepiece==0.1.97
5
  torch>=1.13.0
6
- transformers==4.28.0 # Updated to be compatible with huggingface-hub >=0.17.0
7
  numpy<2
8
  peft==0.11.1
9
  huggingface-hub==0.17.0
10
- mistral-common
 
1
+ # Adjust FastAPI and mistral-common to compatible versions
2
+ fastapi==0.73.0 # Downgrade FastAPI to match pydantic version required by mistral-common
3
  requests==2.27.*
4
  uvicorn[standard]==0.17.*
5
+ sentencepiece==0.2.0 # Use version required by mistral-common
6
  torch>=1.13.0
7
+ transformers==4.28.0
8
  numpy<2
9
  peft==0.11.1
10
  huggingface-hub==0.17.0
11
+ mistral-common==1.3.0 # Version compatible with FastAPI and pydantic