i0switch commited on
Commit
f90e181
·
verified ·
1 Parent(s): c231678

Update requirements.txt

Browse files
Files changed (1) hide show
  1. requirements.txt +13 -9
requirements.txt CHANGED
@@ -1,18 +1,22 @@
1
- # --- 必須ライブラリ(ZeroGPU 対応) ---
2
- gradio[oauth,mcp]==5.34.2 # gradio HF-Hub ≥0.28.1 を要求
3
  spaces==0.37.1
4
- huggingface-hub==0.25.2 # diffusers-0.27 系が依存する旧 API(cached_download) を残した最後の版
5
 
6
- # --- ML コア ---
7
- diffusers==0.27.2 # InstantID 動作確認済み
 
 
 
8
  torch==2.1.2
9
- torchvision
10
  accelerate==0.29.3
11
  transformers==4.41.1
12
  peft==0.11.1
13
- safetensors
14
- xformers
15
- numpy==1.26.4 # NumPy2 系との ABI 衝突回避
 
 
16
 
17
  # --- CV / 画像処理 ---
18
  opencv-python-headless
 
1
+ # --- UI / ZeroGPU ---
2
+ gradio[oauth,mcp]==5.34.2 # Gradio HF-Hub ≥0.28.1 を要求:contentReference[oaicite:1]{index=1}
3
  spaces==0.37.1
 
4
 
5
+ # --- Hub / Model I/O ---
6
+ huggingface-hub>=0.30.2,<0.40 # 0.30 系は新 API 安定版:contentReference[oaicite:2]{index=2}
7
+
8
+ # --- ML Core ---
9
+ diffusers==0.30.3 # 0.30+ で cached_download 廃止:contentReference[oaicite:3]{index=3}
10
  torch==2.1.2
11
+ torchvision # 0.22.x 自動解決(Torch 2.1 系対応):contentReference[oaicite:4]{index=4}
12
  accelerate==0.29.3
13
  transformers==4.41.1
14
  peft==0.11.1
15
+ safetensors>=0.5.3 # 0.5 系は Diffusers の推奨レンジ:contentReference[oaicite:5]{index=5}
16
+ xformers==0.0.30 # Torch 2.1 用 pre-built wheel が存在
17
+
18
+ # --- 数値計算 ---
19
+ numpy==1.26.4 # Torch 2.1 と互換、NumPy 2 ABI 衝突を回避:contentReference[oaicite:6]{index=6}
20
 
21
  # --- CV / 画像処理 ---
22
  opencv-python-headless