i0switch commited on
Commit
0472832
ยท
verified ยท
1 Parent(s): e0bbeb9

Update requirements.txt

Browse files
Files changed (1) hide show
  1. requirements.txt +14 -12
requirements.txt CHANGED
@@ -1,28 +1,30 @@
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
 
1
+ # CUDA 11.8 Wheel ็”จใ‚คใƒณใƒ‡ใƒƒใ‚ฏใ‚น
2
+ --extra-index-url https://download.pytorch.org/whl/cu118
3
 
4
+ ### โ”€โ”€ UI & Hugging Face SDK โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€
5
  gradio[mcp,oauth]==5.34.2
6
+ spaces==0.37.0 # 0.37.1 ใฏไปŠใฎๆ‰€ 0.37.0 ใจๅŒๅ†…ๅฎน
7
  huggingface-hub>=0.30,<0.40
8
 
9
+ ### โ”€โ”€ PyTorch ใ‚นใ‚ฟใƒƒใ‚ฏ๏ผˆZeroGPU ๅ…ฌ่ช๏ผ‰ โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€
10
+ torch==2.4.1+cu118
11
+ torchvision==0.19.1+cu118 # 0.19 ็ณปใฏ Torch 2.4 ็ณปๅฐ‚็”จ :contentReference[oaicite:0]{index=0}
12
+ xformers==0.0.27.post1+cu118 # 0.28 ไปฅ้™ใฏ Torch โ‰ฅ 2.6 / CUDA 12.4 ็”จ :contentReference[oaicite:1]{index=1}
13
 
14
+ ### โ”€โ”€ ็”Ÿๆˆ AI โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€
15
+ diffusers==0.30.3 # `cached_download` ไพๅญ˜ใŒๆถˆใˆใŸๆœ€ๆ–ฐ็‰ˆ
16
  accelerate==0.29.3
17
  transformers==4.41.1
18
  peft==0.11.1
19
  safetensors>=0.5.3
20
  numpy==1.26.4
21
 
22
+ ### โ”€โ”€ CV / ็”ปๅƒๅ‡ฆ็† & API โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€
23
  opencv-python-headless
24
  Pillow
25
  insightface
26
+ basicsr>=1.4.4 # 1.4.4 ใง `functional_tensor` ๅ•้กŒใ‚’ไฟฎๆญฃ :contentReference[oaicite:2]{index=2}
27
+ realesrgan>=0.3.1 # ๅŒไธŠ
28
+ onnxruntime==1.22.0 # GPU ็‰ˆโ†’CPU ็‰ˆใซ็ฝฎๆ›ใง CUDA ใƒฉใ‚คใƒ–ใƒฉใƒชไธ่ถณใ‚’ๅ›ž้ฟ :contentReference[oaicite:3]{index=3}
29
  fastapi
30
  python-multipart