Spaces:
Running
Running
Update requirements.txt
Browse files- requirements.txt +12 -12
requirements.txt
CHANGED
@@ -1,22 +1,22 @@
|
|
1 |
-
--extra-index-url https://download.pytorch.org/whl/cu118
|
2 |
|
3 |
-
#
|
4 |
gradio[mcp,oauth]==5.34.2
|
5 |
spaces==0.37.1
|
6 |
-
huggingface-hub>=0.30,<0.40
|
7 |
|
8 |
-
#
|
9 |
-
torch==2.
|
10 |
-
torchvision==0.
|
|
|
|
|
11 |
accelerate==0.29.3
|
12 |
transformers==4.41.1
|
13 |
-
diffusers==0.30.3
|
14 |
peft==0.11.1
|
15 |
-
|
16 |
-
|
17 |
-
numpy==1.26.4 # NumPy 2.0 ABI 回避
|
18 |
|
19 |
-
#
|
20 |
opencv-python-headless
|
21 |
Pillow
|
22 |
insightface
|
@@ -24,6 +24,6 @@ basicsr
|
|
24 |
realesrgan
|
25 |
onnxruntime-gpu
|
26 |
|
27 |
-
#
|
28 |
fastapi
|
29 |
python-multipart
|
|
|
1 |
+
--extra-index-url https://download.pytorch.org/whl/cu118 # GPU wheel を取得
|
2 |
|
3 |
+
# ==== ZeroGPU & Gradio ====
|
4 |
gradio[mcp,oauth]==5.34.2
|
5 |
spaces==0.37.1
|
6 |
+
huggingface-hub>=0.30,<0.40 # gradio が要求
|
7 |
|
8 |
+
# ==== ML Core ====
|
9 |
+
torch==2.4.0 # ★ ZeroGPU 対応世代 :contentReference[oaicite:2]{index=2}
|
10 |
+
torchvision==0.19.1 # torch-2.4 用ビルド :contentReference[oaicite:3]{index=3}
|
11 |
+
xformers==0.0.28.post1 # torch-2.4 向け wheel :contentReference[oaicite:4]{index=4}
|
12 |
+
diffusers==0.30.3 # cached_download 不要バージョン
|
13 |
accelerate==0.29.3
|
14 |
transformers==4.41.1
|
|
|
15 |
peft==0.11.1
|
16 |
+
safetensors>=0.5.3
|
17 |
+
numpy==1.26.4 # NumPy-2 ABI 衝突回避
|
|
|
18 |
|
19 |
+
# ==== CV / 画像処理 ====
|
20 |
opencv-python-headless
|
21 |
Pillow
|
22 |
insightface
|
|
|
24 |
realesrgan
|
25 |
onnxruntime-gpu
|
26 |
|
27 |
+
# ==== API / ASGI ====
|
28 |
fastapi
|
29 |
python-multipart
|