Hunsain Mazhar commited on
Commit Β·
d055370
1
Parent(s): a48384c
Revert core infrastructure dependencies to specific versions for ZeroGPU auth compatibility; ensure stability with huggingface_hub, spaces, and gradio.
Browse files- requirements.txt +9 -9
requirements.txt
CHANGED
|
@@ -1,11 +1,12 @@
|
|
| 1 |
-
# --- CORE INFRASTRUCTURE
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
huggingface_hub
|
|
|
|
|
|
|
|
|
|
| 5 |
|
| 6 |
-
# --- AI FRAMEWORKS
|
| 7 |
-
# We MUST use these older versions because IDM-VTON's source code
|
| 8 |
-
# relies on specific internal functions that were removed in newer versions.
|
| 9 |
torch==2.1.2
|
| 10 |
torchvision==0.16.2
|
| 11 |
torchaudio==2.1.2
|
|
@@ -13,8 +14,7 @@ numpy<2.0.0
|
|
| 13 |
accelerate==0.26.1
|
| 14 |
|
| 15 |
# --- IDM-VTON DEPENDENCIES ---
|
| 16 |
-
#
|
| 17 |
-
# The "hacked" files in src/ depend on diffusers 0.25.x logic.
|
| 18 |
diffusers==0.25.1
|
| 19 |
transformers==4.36.2
|
| 20 |
pydantic>=2.0.0
|
|
|
|
| 1 |
+
# --- CORE INFRASTRUCTURE ---
|
| 2 |
+
# huggingface_hub 0.25.2 is the LAST version to support 'cached_download'
|
| 3 |
+
# We MUST use this to prevent the ImportError.
|
| 4 |
+
huggingface_hub==0.25.2
|
| 5 |
+
spaces==0.30.2
|
| 6 |
+
# Gradio 4.44.1 is stable and fixes the Auth/ZeroGPU bugs from 4.36
|
| 7 |
+
gradio==4.44.1
|
| 8 |
|
| 9 |
+
# --- AI FRAMEWORKS ---
|
|
|
|
|
|
|
| 10 |
torch==2.1.2
|
| 11 |
torchvision==0.16.2
|
| 12 |
torchaudio==2.1.2
|
|
|
|
| 14 |
accelerate==0.26.1
|
| 15 |
|
| 16 |
# --- IDM-VTON DEPENDENCIES ---
|
| 17 |
+
# Keeps 'PositionNet' working
|
|
|
|
| 18 |
diffusers==0.25.1
|
| 19 |
transformers==4.36.2
|
| 20 |
pydantic>=2.0.0
|