generated from Riccorl/nlp-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
requirements.txt
42 lines (33 loc) · 860 Bytes
/
requirements.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
#------- Core dependencies -------
torch>=2.1,<2.3
transformers>=4.33,<4.43
datasets>=2.15,<2.17
rich>=13.0.0,<14.0.0
scikit-learn>=1.3,<1.5
# train
lightning>=2.1,<2.3
hydra-core>=1.3,<1.4
hydra_colorlog
wandb>=0.16,<0.17
# utils
art==6.1
pprintpp==0.4.0
colorama==0.4.6
#------- Optional dependencies -------
# faiss
faiss-cpu==1.7.4 # needed by: faiss
# onnx GPU
optimum[onnxruntime-gpu]>=1.7,<1.8; platform_system == "Linux"# needed by: onnx-gpu
termcolor>=2.3,<2.5 # needed by: onnx-gpu
# onnx CPU
optimum[onnxruntime]>=1.14,<1.17 # needed by: onnx
termcolor>=2.3,<2.5 # needed by: onnx
# serve
fastapi>=0.104,<0.110 # needed by: serve
uvicorn[standard]>=0.24,<0.28 # needed by: serve
gunicorn==21.2.0 # needed by: serve
ray[serve]>=2.8,<=2.10 # needed by: serve
# dev
pre-commit # needed by: dev
black[d] # needed by: dev
isort # needed by: dev