Spaces:
Sleeping
Sleeping
Update requirements.txt
Browse files- requirements.txt +35 -15
requirements.txt
CHANGED
|
@@ -1,15 +1,35 @@
|
|
| 1 |
-
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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
|