minhvtt commited on
Commit
b76f7e3
·
verified ·
1 Parent(s): db0789b

Update requirements.txt

Browse files
Files changed (1) hide show
  1. requirements.txt +35 -15
requirements.txt CHANGED
@@ -1,15 +1,35 @@
1
- fastapi
2
- uvicorn[standard]
3
- python-multipart
4
- pillow
5
- opencv-python-headless
6
- numpy==1.26.4
7
- torch==2.3.1
8
- torchvision==0.18.1
9
- scipy
10
- scikit-learn
11
- shapely
12
- alphashape
13
- pydantic
14
- onnxruntime==1.18.0
15
- onnx
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # ============================================
2
+ # HUGGING FACE SPACES - DOCKER SDK GPU
3
+ # CUDA 12.1 Compatible Packages
4
+ # ============================================
5
+
6
+ # FastAPI
7
+ fastapi==0.109.0
8
+ uvicorn[standard]==0.27.0
9
+ python-multipart==0.0.6
10
+
11
+ # Image Processing
12
+ pillow==10.2.0
13
+ opencv-python-headless==4.9.0.80
14
+ numpy>=1.24.0,<2.0
15
+
16
+ # PyTorch with CUDA 12.1 support
17
+ --extra-index-url https://download.pytorch.org/whl/cu121
18
+ torch==2.1.2+cu121
19
+ torchvision==0.16.2+cu121
20
+
21
+ # ONNX Runtime GPU - CUDA 12.x compatible
22
+ onnxruntime-gpu==1.17.0
23
+ onnx==1.15.0
24
+
25
+ # CuPy for CUDA 12.x
26
+ cupy-cuda12x==13.0.0
27
+
28
+ # Scientific computing
29
+ scipy==1.12.0
30
+ scikit-learn==1.4.0
31
+ shapely==2.0.2
32
+ alphashape==1.3.1
33
+
34
+ # Pydantic
35
+ pydantic>=2.0