fix: remove ALL SDK-managed packages from requirements.txt (gradio, torch, uvicorn, websockets, spaces) to resolve 6.12.0 vs 6.18.0 conflict
Browse files- requirements.txt +13 -17
requirements.txt
CHANGED
|
@@ -1,22 +1,18 @@
|
|
| 1 |
-
# NEXUS Visual Weaver -
|
| 2 |
-
torch
|
| 3 |
-
|
|
|
|
| 4 |
|
| 5 |
-
# HF Core
|
| 6 |
huggingface_hub>=0.30.0
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
accelerate>=
|
|
|
|
|
|
|
|
|
|
| 10 |
peft>=0.13.0
|
| 11 |
safetensors
|
| 12 |
|
| 13 |
-
#
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
# Runtime
|
| 17 |
-
uvicorn>=0.14.0
|
| 18 |
-
websockets>=10.4
|
| 19 |
-
spaces==0.50.4
|
| 20 |
-
|
| 21 |
-
# Note: Do NOT install 'modal' inside the Space container.
|
| 22 |
-
# Modal functions are called from outside via the Modal client.
|
|
|
|
| 1 |
+
# NEXUS Visual Weaver - HF Space Dependencies
|
| 2 |
+
# NOTE: Do NOT include gradio, torch, uvicorn, websockets, or spaces here.
|
| 3 |
+
# The HF Spaces SDK installs these automatically (currently gradio==6.18.0, torch<=2.11.0).
|
| 4 |
+
# Adding them here creates version conflicts with the SDK.
|
| 5 |
|
| 6 |
+
# HF Core
|
| 7 |
huggingface_hub>=0.30.0
|
| 8 |
+
|
| 9 |
+
# ML
|
| 10 |
+
accelerate>=1.12.0
|
| 11 |
+
transformers>=4.57.1
|
| 12 |
+
Pillow>=11.1.0
|
| 13 |
+
git+https://github.com/huggingface/diffusers.git
|
| 14 |
peft>=0.13.0
|
| 15 |
safetensors
|
| 16 |
|
| 17 |
+
# Modal client (calls external GPU functions, not installed inside Space)
|
| 18 |
+
modal
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|