IFMedTechdemo commited on
Commit
c50bac9
·
verified ·
1 Parent(s): cb6f69e

split requirements for each model

Browse files
Files changed (1) hide show
  1. requirements.txt +35 -30
requirements.txt CHANGED
@@ -1,42 +1,47 @@
1
- # Core dependencies aligned with official neutts-air/requirements.txt
2
- datasets==4.0.0
3
- librosa==0.11.0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4
  neucodec>=0.0.3
5
- numpy>=1.26.0,<2.0 # Resolved conflict: Balances NeuTTS (prefers 2.x) and Chatterbox/silero-vad (needs 1.x stability)
6
- pandas==2.3.2
7
  phonemizer==3.3.0
8
- requests==2.32.5
9
- scipy>=1.15
10
- soundfile==0.13.1
11
- torch==2.8.0
12
- torchao==0.13.0
13
- torchaudio==2.8.0
14
- torchtune==0.6.1
15
- tqdm==4.67.1
16
- transformers==4.56.1 # Upgraded from Chatterbox's 4.46.3 for torch 2.8.0 compatibility
17
  vector-quantize-pytorch==1.17.8
 
 
18
  resemble-perth==1.0.1
19
- accelerate==1.10.1
20
- gradio==4.44.0 # Pinned for stability across all engines
21
 
22
- # Additional dependencies for Kokoro TTS integration
23
  kokoro>=0.2
24
- bitsandbytes
25
- snac
26
- pyttsx3
27
- gitpython
28
 
29
- # Chatterbox Multilingual dependencies (merged, conflicts resolved)
30
  resampy==0.4.3
31
- s3tokenizer
32
- diffusers==0.29.0 # Compatible with torch 2.8.0
33
  omegaconf==2.3.0
34
- silero-vad>=5.1.2 # Updated for potential NumPy 2.x fixes if needed
35
  conformer==0.3.2
36
- safetensors
37
 
38
- # Optional language-specific dependencies for Chatterbox (uncomment as needed)
39
- # spacy_pkuseg # For Chinese text segmentation
40
- # pykakasi>=2.2.0 # For Japanese text processing (Kanji to Hiragana)
41
  # russian-text-stresser @ git+https://github.com/Vuizur/add-stress-to-epub
42
- # dicta-onnx>=0.1.0 # For Hebrew diacritization
 
1
+ # Core dependencies (pinned for stability; updated for Oct 2025)
2
+ torch==2.9.0
3
+ torchaudio==2.9.0
4
+ torchvision==0.20.0 # Matches torch 2.9.0
5
+ numpy==2.0.0 # Stable 2.x; compatible with all (librosa, silero-vad, torch)
6
+ librosa==0.11.0 # Supports NumPy 2.x
7
+ soundfile==0.13.1
8
+ scipy>=1.11.0
9
+ pandas>=2.0.0
10
+ requests>=2.28.0
11
+ tqdm>=4.65.0
12
+
13
+ # HF Ecosystem (pinned to avoid known 2025 conflicts)
14
+ transformers==4.56.1 # Stable; avoids 4.57+ bugs with diffusers
15
+ diffusers==0.34.0 # Pre-0.35 TypeError; compatible with torch 2.9 & transformers 4.56
16
+ accelerate>=0.33.0 # Latest stable; works with Spaces
17
+ fsspec==2024.9.0 # Fixes gcsfs/diffusers conflicts
18
+ safetensors>=0.4.0
19
+ datasets>=2.14.0 # Loose for flexibility
20
+
21
+ # NeuTTS-Air specific (loosened where possible)
22
  neucodec>=0.0.3
 
 
23
  phonemizer==3.3.0
 
 
 
 
 
 
 
 
 
24
  vector-quantize-pytorch==1.17.8
25
+ torchao>=0.3.0 # Updated for torch 2.9
26
+ torchtune>=0.3.0 # Loose
27
  resemble-perth==1.0.1
 
 
28
 
29
+ # Kokoro TTS
30
  kokoro>=0.2
31
+ bitsandbytes>=0.43.0 # Compatible with torch 2.9
32
+ snac>=0.1.0
33
+ pyttsx3>=3.1
34
+ gitpython>=3.1.0
35
 
36
+ # Chatterbox Multilingual (merged; conflicts resolved)
37
  resampy==0.4.3
38
+ s3tokenizer>=0.1.0
 
39
  omegaconf==2.3.0
40
+ silero-vad==6.0.0 # Latest; NumPy 2.x compatible via torch
41
  conformer==0.3.2
 
42
 
43
+ # Optionals (uncomment for languages)
44
+ # spacy_pkuseg>=0.0.29 # Chinese
45
+ # pykakasi>=2.2.0 # Japanese
46
  # russian-text-stresser @ git+https://github.com/Vuizur/add-stress-to-epub
47
+ # dicta-onnx>=0.1.0 # Hebrew