Spaces:
Running
Running
Update requirements.txt
Browse files- requirements.txt +11 -12
requirements.txt
CHANGED
@@ -1,29 +1,28 @@
|
|
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
|
7 |
|
8 |
-
#
|
9 |
-
torch==2.4.
|
10 |
-
torchvision==0.19.1
|
11 |
-
xformers==0.0.28.post1
|
12 |
-
|
|
|
|
|
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
|
18 |
|
19 |
-
#
|
20 |
opencv-python-headless
|
21 |
Pillow
|
22 |
insightface
|
23 |
basicsr
|
24 |
realesrgan
|
25 |
onnxruntime-gpu
|
26 |
-
|
27 |
-
# ==== API / ASGI ====
|
28 |
fastapi
|
29 |
python-multipart
|
|
|
1 |
+
--extra-index-url https://download.pytorch.org/whl/cu118 # GPU wheel 取得
|
2 |
|
|
|
3 |
gradio[mcp,oauth]==5.34.2
|
4 |
spaces==0.37.1
|
5 |
+
huggingface-hub>=0.30,<0.40
|
6 |
|
7 |
+
# --- PyTorch スタック(ZeroGPU 公認) ---
|
8 |
+
torch==2.4.1+cu118 # ★ 2.4.1 にアップ
|
9 |
+
torchvision==0.19.1+cu118 # ★ cu118 wheel は torch 2.4.1 固定
|
10 |
+
xformers==0.0.28.post1 # torch 2.4.1 ビルド
|
11 |
+
|
12 |
+
# --- 生成 AI ---
|
13 |
+
diffusers==0.30.3 # cached_download 不要
|
14 |
accelerate==0.29.3
|
15 |
transformers==4.41.1
|
16 |
peft==0.11.1
|
17 |
safetensors>=0.5.3
|
18 |
+
numpy==1.26.4
|
19 |
|
20 |
+
# --- CV・API などは変更なし ---
|
21 |
opencv-python-headless
|
22 |
Pillow
|
23 |
insightface
|
24 |
basicsr
|
25 |
realesrgan
|
26 |
onnxruntime-gpu
|
|
|
|
|
27 |
fastapi
|
28 |
python-multipart
|