Spaces:
Sleeping
Sleeping
Update requirements.txt
Browse files- requirements.txt +10 -13
requirements.txt
CHANGED
|
@@ -1,34 +1,31 @@
|
|
| 1 |
# ML / DL Frameworks
|
| 2 |
torch==2.4.0
|
| 3 |
-
|
| 4 |
-
torchvision==0.19
|
| 5 |
-
|
| 6 |
-
# Hugging Face & Timm
|
| 7 |
-
# accelerate
|
| 8 |
-
# diffusers
|
| 9 |
-
# timm
|
| 10 |
transformers
|
| 11 |
|
| 12 |
# ML/DL Helpers
|
| 13 |
einops==0.8.0
|
| 14 |
|
| 15 |
# Data Science
|
| 16 |
-
#
|
| 17 |
-
opencv-python==4.10.0.84
|
| 18 |
pandas==2.2.3
|
| 19 |
scikit-image==0.22.0
|
| 20 |
scikit-learn==1.5.2
|
| 21 |
-
# sympy==1.13.3
|
| 22 |
|
| 23 |
# MLOps & Infrastructure
|
| 24 |
-
wandb==0.19.0
|
| 25 |
|
| 26 |
# Utilities
|
| 27 |
-
# imageio==2.34.0
|
| 28 |
PyYAML==6.0.2
|
| 29 |
tqdm==4.67.1
|
| 30 |
albumentations
|
| 31 |
ftfy
|
| 32 |
open-clip-torch
|
|
|
|
|
|
|
|
|
|
| 33 |
gradio>=4.44.1
|
| 34 |
-
|
|
|
|
|
|
|
|
|
| 1 |
# ML / DL Frameworks
|
| 2 |
torch==2.4.0
|
| 3 |
+
torchvision==0.19
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4 |
transformers
|
| 5 |
|
| 6 |
# ML/DL Helpers
|
| 7 |
einops==0.8.0
|
| 8 |
|
| 9 |
# Data Science
|
| 10 |
+
# Using headless opencv to prevent libGL errors in Docker/Spaces
|
| 11 |
+
opencv-python-headless==4.10.0.84
|
| 12 |
pandas==2.2.3
|
| 13 |
scikit-image==0.22.0
|
| 14 |
scikit-learn==1.5.2
|
|
|
|
| 15 |
|
| 16 |
# MLOps & Infrastructure
|
| 17 |
+
wandb==0.19.0
|
| 18 |
|
| 19 |
# Utilities
|
|
|
|
| 20 |
PyYAML==6.0.2
|
| 21 |
tqdm==4.67.1
|
| 22 |
albumentations
|
| 23 |
ftfy
|
| 24 |
open-clip-torch
|
| 25 |
+
|
| 26 |
+
# THE FIX:
|
| 27 |
+
# 1. We keep Gradio high
|
| 28 |
gradio>=4.44.1
|
| 29 |
+
# 2. We pin FastAPI to prevent the Pydantic 2 crash
|
| 30 |
+
fastapi==0.112.2
|
| 31 |
+
# 3. We remove the pydantic pin so WandB can install Pydantic v2 automatically
|