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

Update requirements.txt

Browse files
Files changed (1) hide show
  1. requirements.txt +13 -15
requirements.txt CHANGED
@@ -1,22 +1,20 @@
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
@@ -26,6 +24,6 @@ basicsr
26
  realesrgan
27
  onnxruntime-gpu
28
 
29
- # --- API グルー ---
30
  fastapi
31
  python-multipart
 
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
 
24
  realesrgan
25
  onnxruntime-gpu
26
 
27
+ # --- API / ASGI ---
28
  fastapi
29
  python-multipart