yongyeol commited on
Commit
e82f7db
·
verified ·
1 Parent(s): 78ea8dc

Update requirements.txt

Browse files
Files changed (1) hide show
  1. requirements.txt +19 -11
requirements.txt CHANGED
@@ -1,22 +1,30 @@
1
- # 기존 항목 --------------------------
2
- torch==2.7.1
3
- torchaudio==2.7.1
 
 
 
 
 
4
  transformers>=4.38.0
5
- safetensors
6
  gradio>=4.0
 
7
  Pillow
8
- ffmpeg-python
9
  python-dotenv
10
- flashy==0.0.2
11
- einops
12
- hydra-core
13
- hydra-colorlog
14
- julius
15
  sentencepiece
16
  num2words
17
  soundfile>=0.12.1
18
  av==11.0.0
19
- # audiocraft 의존성 -------------------
 
 
 
 
 
 
 
20
  spacy==3.7.6
21
  encodec
22
  huggingface_hub
 
 
1
+ # ─── PyTorch CPU 전용 스택 ───
2
+ torch==2.1.0+cpu # 반드시 +cpu wheel
3
+ torchaudio==2.1.0+cpu
4
+ # (torchvision 필요하면 같이: torchvision==0.16.0+cpu)
5
+
6
+ --extra-index-url https://download.pytorch.org/whl/cpu # 위 세 줄 뒤에 두세요
7
+
8
+ # ─── 기본 패키지 ───
9
  transformers>=4.38.0
 
10
  gradio>=4.0
11
+ safetensors
12
  Pillow
13
+ ffmpeg-python # soundfile에 필요한 libsndfile은 HF 환경에 기본 포함
14
  python-dotenv
 
 
 
 
 
15
  sentencepiece
16
  num2words
17
  soundfile>=0.12.1
18
  av==11.0.0
19
+ einops
20
+ hydra-core
21
+ hydra-colorlog
22
+ flashy==0.0.2
23
+ julius
24
+ platformdirs # spacy 의존
25
+
26
+ # ─── audiocraft 필수 의존 ───
27
  spacy==3.7.6
28
  encodec
29
  huggingface_hub
30
+ # (xformers는 **절대 넣지 마세요**)