Skip to content

Open-source speech recognition toolkit for training, inference, streaming ASR, VAD, punctuation, speaker diarization pipelines, and OpenAI-compatible/MCP serving.

fix: update install_requires — add torchaudio, transformers, tiktoken, huggingface_hub, safetensors

游雁613418885c83
diff --git a/setup.py b/setup.py
index 2e7545dce..72b6dc9c4 100644
--- a/setup.py
+++ b/setup.py
@@ -10,38 +10,38 @@ from setuptools import setup
requirements = {
"install": [
+ # Core
+ "torchaudio",
"scipy>=1.4.1",
"librosa",
- "jamo", # For kss
- "PyYAML>=5.1.2",
"soundfile>=0.12.1",
+ "numpy",
+ "PyYAML>=5.1.2",
+ "tqdm",
+ "requests",
+ # Model loading
+ "omegaconf>=2.0",
+ "hydra-core>=1.3.2",
+ "modelscope",
+ "huggingface_hub",
+ "safetensors",
+ # ASR models
+ "transformers",
+ "tiktoken",
+ "sentencepiece",
"kaldiio>=2.17.0",
- "torch_complex",
- # "nltk>=3.4.5",
- "sentencepiece", # train
+ # Multilingual tokenizers
"jieba",
- # "rotary_embedding_torch",
- # "ffmpeg-python",
- # "pypinyin>=0.44.0",
- # "espnet_tts_frontend",
- # ENH
- "pytorch_wpe",
- "editdistance>=0.5.2",
- # "g2p",
- # "nara_wpe",
- # PAI
- "oss2",
- # "edit-distance",
- # "textgrid",
- # "protobuf",
- "tqdm",
- "umap_learn",
+ "jamo",
"jaconv",
- "hydra-core>=1.3.2",
+ # Speaker & evaluation
+ "umap_learn",
+ "editdistance>=0.5.2",
+ # Optional (training/enhancement)
+ "torch_complex",
"tensorboardX",
- # "rotary_embedding_torch",
- "requests",
- "modelscope",
+ # PAI/Aliyun
+ "oss2",
],
# train: The modules invoked when training only.
"train": [