[NFC] Update misleading seed-tts-eval optional dependency guidance (#4619)
Signed-off-by: Yuanheng <jonathan.zhaoyh@gmail.com>
This commit is contained in:
1 parent
50bc51ffdf
commit
9177b37e2f
3 files changed
+6
-6
No files matched your search
@@ -33,7 +33,7 @@ Prerequisites
|
||||
|
||||
* **Seed-TTS** optional extras for WER/SIM/UTMOS::
|
||||
|
||||
pip install 'vllm-omni[seed-tts-eval]'
|
||||
pip install 'vllm-omni[dev]'
|
||||
|
||||
Examples
|
||||
--------
|
||||
|
||||
@@ -33,7 +33,7 @@ https://github.com/zhaochenyang20/seed-tts-eval):
|
||||
|
||||
Enable with ``SEED_TTS_WER_EVAL=1`` or ``--seed-tts-wer-eval``. Install optional deps::
|
||||
|
||||
pip install 'vllm-omni[seed-tts-eval]'
|
||||
pip install 'vllm-omni[dev]'
|
||||
|
||||
Env: ``SEED_TTS_EVAL_DEVICE`` (e.g. ``cuda:0``, ``cpu``); ``SEED_TTS_HF_WHISPER_MODEL``
|
||||
defaults to ``openai/whisper-large-v3`` (override for debugging only).
|
||||
@@ -446,7 +446,7 @@ def _missing_deps_message(lang: str) -> str | None:
|
||||
import jiwer # noqa: F401
|
||||
from zhon.hanzi import punctuation # noqa: F401
|
||||
except ImportError as e:
|
||||
return f"Seed-TTS WER eval needs jiwer and zhon ({e!s}). Install: pip install 'vllm-omni[seed-tts-eval]'"
|
||||
return f"Seed-TTS WER eval needs jiwer and zhon ({e!s}). Install: pip install 'vllm-omni[dev]'"
|
||||
try:
|
||||
import scipy.signal # noqa: F401
|
||||
import soundfile # noqa: F401
|
||||
@@ -457,13 +457,13 @@ def _missing_deps_message(lang: str) -> str | None:
|
||||
import torch # noqa: F401
|
||||
from transformers import WhisperForConditionalGeneration # noqa: F401
|
||||
except ImportError as e:
|
||||
return f"English WER needs torch and transformers ({e!s}). Install: pip install 'vllm-omni[seed-tts-eval]'"
|
||||
return f"English WER needs torch and transformers ({e!s}). Install: pip install 'vllm-omni[dev]'"
|
||||
else:
|
||||
try:
|
||||
import zhconv # noqa: F401
|
||||
from funasr import AutoModel # noqa: F401
|
||||
except ImportError as e:
|
||||
return f"Chinese WER needs funasr and zhconv ({e!s}). Install: pip install 'vllm-omni[seed-tts-eval]'"
|
||||
return f"Chinese WER needs funasr and zhconv ({e!s}). Install: pip install 'vllm-omni[dev]'"
|
||||
return None
|
||||
|
||||
|
||||
|
||||
@@ -119,7 +119,7 @@ def add_seed_tts_cli_args(parser: argparse.ArgumentParser) -> None:
|
||||
help="Keep synthesized audio as 24 kHz mono PCM for WER (works with "
|
||||
"--backend openai-audio-speech or openai-chat-omni). Scoring follows "
|
||||
"zhaochenyang20/seed-tts-eval (Whisper-large-v3 / Paraformer-zh + jiwer). "
|
||||
"Sets SEED_TTS_WER_EVAL=1. Install: pip install 'vllm-omni[seed-tts-eval]'. "
|
||||
"Sets SEED_TTS_WER_EVAL=1. Install: pip install 'vllm-omni[dev]'. "
|
||||
"Optional: SEED_TTS_EVAL_DEVICE, SEED_TTS_HF_WHISPER_MODEL.",
|
||||
)
|
||||
g.add_argument(
|
||||
|
||||
Reference in new issue
Block a user