tts
Use for NeMo Speech TTS synthesis, FastPitch and HiFi-GAN cascades, MagpieTTS and EasyMagpie inference or finetuning, G2P, audio codecs, TTS manifests, preprocessing, evaluation, and TTS troubleshooting.
- License 许可
- Apache-2.0
- 最近更新
- 2026-09-03
- Stars
- ★ 351
- Forks
- 27
01 前言 Front Matter
- name
- tts
- license
- Apache 2.0
- metadata
- { "disco-role": "operating" }
- description
- Use for NeMo Speech TTS synthesis, FastPitch and HiFi-GAN cascades, MagpieTTS and EasyMagpie inference or finetuning, G2P, audio codecs, TTS manifests, preprocessing, evaluation, and TTS troubleshooting.
- disable-model-invocation
- true
02 资源文件 5
- 参考文档references/data-formats.md11.8 KB
- 参考文档references/model-overview.md10.4 KB
- 参考文档references/troubleshooting.md14.7 KB
- 参考文档references/workflows.md18.9 KB
- 脚本scripts/check_tts_manifest.py30.2 KB
03 SKILL.md 正文
TTS
Use this sub-skill for NeMo Speech text-to-speech work: cascaded FastPitch/HiFi-GAN synthesis, MagpieTTS and EasyMagpie inference or finetuning, G2P conversion and training, audio codec training, text and phoneme preprocessing, checkpoint compatibility, manifest validation, TTS evaluation, and TTS-specific troubleshooting.
Route generic audio enhancement/restoration/separation to ../audio/SKILL.md. Route generic manifest sharding, tokenizer building, and dataset conversion utilities to ../data-tools/SKILL.md when present. Route SpeechLM2 voice-chat, SALM, and duplex speech-language modeling to ../speechlm2/SKILL.md. Route repository testing, formatting, packaging, or CI tasks to ../repo-development/SKILL.md when present.
Start Here
- Read
references/model-overview.mdto choose FastPitch/HiFi-GAN, MagpieTTS/EasyMagpie, G2P, audio codec, aligner, SSL TTS, or preference-optimization workflows. - Read
references/data-formats.mdbefore creating or auditing TTS, MagpieTTS, G2P, vocoder, or audio-codec manifests and dataset metadata. - Read
references/workflows.mdfor concrete Python, Hydra, inference, finetuning, G2P, codec, and evaluation contracts. - Read
references/troubleshooting.mdwhen installation, CUDA, optional dependencies, text normalization, phonemization, checkpoint loading, Hydra overrides, long-form inference, or evaluation metrics fail.
Safe Bundled Tool
scripts/check_tts_manifest.pyvalidates TTS/G2P-style JSONL manifests without importing NeMo, opening audio contents, downloading models, training, or writing outputs.- Run it from this sub-skill directory before training, finetuning, evaluation, or batch inference:
python scripts/check_tts_manifest.py train.jsonl --mode tts --require-audio --check-files --min-duration 0.1 --max-duration 30. - For G2P manifests:
python scripts/check_tts_manifest.py g2p_train.jsonl --mode g2p --grapheme-field text_graphemes --phoneme-field text. - For MagpieTTS context manifests:
python scripts/check_tts_manifest.py magpie.jsonl --mode magpie --require-audio --require-context --style-summary.
Evidence Base
This sub-skill distills repository evidence from TTS docs, TTS example scripts/configs, nemo.collections.tts model/data/G2P source, and TTS tests. Runtime guidance is self-contained; do not require future agents to reopen original source docs, examples, scripts, or tests.
04 同仓库更多 Skills
passnet-triton-opt
Make a single PassNet Triton kernel fast AND numerically faithful: performance model (when a replacement can win at all), block/grid/warp tuning, autotune policy, launch overhead, and per-op numeric recipes to pass the dtype baseline tolerances. Use when a pass matches and is correct but speedup below expected, or when correctness fails by small numeric margins.
passnet-solve
END-TO-END playbook for solving one PassNet sample: analyze the computation graphs, decide the optimization strategy (what to fuse, what to replace, what to leave alone), drive the iteration loop, and maximize the sample score. This is the ENTRY skill — invoke it first for any PassNet optimization task; it tells you when to use passnet-pattern-fusion, passnet-triton-opt and passnet-feedback.
passnet-skill
PassNet GPU kernel optimization via compiler passes. Design and implement Triton-based optimization passes, create pass files under ./pass_dir/, self-evaluate with pass_evaluator, and iterate to maximize GPU speedup.
passnet-pattern-fusion
Author PassNet pass files: write patterns that actually MATCH the FX graph, pick fusion regions (which ops to absorb into one Triton kernel), and structure multi-pass submissions with the mandatory shared-dispatch architecture. Use when creating or fixing pattern()/replacement_args()/replacement_func() files, when a pass "failed to match", or when deciding how to fuse multiple kernels/ops.
passnet-orchestrate
Round/batch planning and decision support for PassNet graph optimization. Use for multi-sample triage, worker allocation, eval-budget policy, and post-eval keep/revert decisions. For solving one concrete sample end to end, use passnet-solve as the entry skill; consult this skill only when you need broader planning or a specific decision gate.
passnet-feedback
Fast, deterministic feedback for PassNet work: pre-flight pattern/match verification WITHOUT burning a GPU evaluation, per-node bottleneck analysis of a sample's graphs, and eval-log parsing into per-variant status + estimated score + failure classification. Use BEFORE every GPU evaluation (check_pattern), at the START of a sample (analyze_graph), and AFTER every evaluation (parse_eval_log).