i0switch commited on
Commit
f96149f
·
verified ·
1 Parent(s): 4992118

Update requirements.txt

Browse files
Files changed (1) hide show
  1. requirements.txt +12 -12
requirements.txt CHANGED
@@ -1,22 +1,22 @@
1
- --extra-index-url https://download.pytorch.org/whl/cu118
2
 
3
- # --- ZeroGPU & Gradio ---
4
  gradio[mcp,oauth]==5.34.2
5
  spaces==0.37.1
6
- huggingface-hub>=0.30,<0.40 # gradio / diffusers と両立
7
 
8
- # --- ML core ---
9
- torch==2.3.1+cu118
10
- torchvision==0.18.1+cu118
 
 
11
  accelerate==0.29.3
12
  transformers==4.41.1
13
- diffusers==0.30.3
14
  peft==0.11.1
15
- xformers==0.0.27.post2 # torch 2.3.1 対応ビルド
16
- safetensors
17
- numpy==1.26.4 # NumPy 2.0 ABI 回避
18
 
19
- # --- CV / 画像処理 ---
20
  opencv-python-headless
21
  Pillow
22
  insightface
@@ -24,6 +24,6 @@ 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
+ # ==== 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