i0switch commited on
Commit
65f45f0
·
verified ·
1 Parent(s): 2661feb

Update requirements.txt

Browse files
Files changed (1) hide show
  1. 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 # 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
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