File size: 378 Bytes
64bbe42
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
# CPU-only PyTorch — install with the HF-friendly CPU wheels index
# (Dockerfile passes --extra-index-url https://download.pytorch.org/whl/cpu)
torch==2.1.2+cpu
torchvision==0.16.2+cpu
flask==3.1.3
Pillow==10.4.0
gunicorn==21.2.0
# torch 2.1.x was compiled against NumPy 1.x — pin to <2 to avoid
# "Failed to initialize NumPy: _ARRAY_API not found" crash at startup
numpy<2