Update requirements.txt
Browse files- requirements.txt +4 -2
requirements.txt
CHANGED
|
@@ -1,8 +1,10 @@
|
|
| 1 |
# SAM 3 Inference Endpoint Requirements
|
|
|
|
|
|
|
|
|
|
| 2 |
transformers>=4.48.0
|
| 3 |
-
torch>=2.7.0
|
| 4 |
accelerate>=0.25.0
|
| 5 |
Pillow>=9.0.0
|
| 6 |
requests>=2.28.0
|
| 7 |
numpy>=1.24.0,<2.0.0
|
| 8 |
-
opencv-python-headless>=4.8.0
|
|
|
|
| 1 |
# SAM 3 Inference Endpoint Requirements
|
| 2 |
+
# IMPORTANT: torch and torchvision must be compatible versions
|
| 3 |
+
# The HF container has torchvision 0.20.1 which requires torch 2.5.1
|
| 4 |
+
# Don't upgrade torch without matching torchvision upgrade
|
| 5 |
transformers>=4.48.0
|
|
|
|
| 6 |
accelerate>=0.25.0
|
| 7 |
Pillow>=9.0.0
|
| 8 |
requests>=2.28.0
|
| 9 |
numpy>=1.24.0,<2.0.0
|
| 10 |
+
opencv-python-headless>=4.8.0
|