AGENT SKILL

espnet

Use when working with ESPnet speech AI toolkit: installation, ESPnet2 recipes and training, pretrained inference/model zoo, ESPnet3 stage workflows, and repository testing.

License 许可
Apache-2.0
最近更新
2026-09-03
Stars
★ 351
Forks
27

01 前言 Front Matter

name
espnet
license
Apache 2.0
metadata
{ "disco-role": "operating" }
description
Use when working with ESPnet speech AI toolkit: installation, ESPnet2 recipes and training, pretrained inference/model zoo, ESPnet3 stage workflows, and repository testing.
disable-model-invocation
true

02 资源文件 5

03 SKILL.md 正文

ESPnet Repo Skill

Use this operating skill when a task involves ESPnet, the end-to-end speech processing toolkit for ASR, TTS, speech translation, enhancement/separation, speaker tasks, diarization, SLU, SVS, SpeechLM, and related audio workflows.

This skill is self-contained. Do not assume the source checkout used to create it is available unless the user is explicitly editing an ESPnet checkout. Prefer the bundled references and scripts here over reopening original docs, examples, or tools.

First response pattern

  1. Classify the request: install/diagnose, prepare recipe data, train/configure, run inference/model-zoo, use ESPnet3 stages, or develop/test ESPnet.
  2. Read the matching sub-skill before detailed commands.
  3. Use bundled helper scripts when they fit. They are safe by default: no downloads, no package installs, no training, no uploads.
  4. Keep backend claims honest. CPU parser/import checks do not prove CUDA, distributed, FlashAttention, k2, or recipe-scale training.

Minimal package check

python -c "import espnet2, espnet3; print('ESPnet imports ok')"

For source development or editable use, install only the selected task extras, e.g. pip install -e ".[asr]" for ASR or pip install -e ".[tts]" for TTS. Avoid .[all] unless the user truly needs many optional task families.

Route map

User intent Read next Why
Install ESPnet, choose extras, diagnose imports or optional tools installation-and-diagnostics Base dependencies, extras, host tools, CUDA probes, safe environment checker.
Create/adapt ESPnet2 recipes, validate data/, understand wav.scp/segments, stage commands, tokenization utilities recipes-and-data Kaldi-style data layouts, task script stage flow, validation helpers, utility CLIs.
Configure/train ESPnet2 models, use --print_config, dry-run configs, tune components, resume/fine-tune, GPU/distributed flags espnet2-training Train modules, Task config semantics, dry-run command generation, training troubleshooting.
Run pretrained or local inference, use from_pretrained, ModelDownloader, streaming ASR, enhancement, TTS, packaging inference-and-model-zoo Inference classes/CLIs, model file pairing, model zoo, packaging checks.
Use ESPnet3 System/Hydra stage runner, configs, --stages, demo/publication boundaries espnet3-workflows ESPnet3 stage order, required config flags, safe stage inspection.
Modify ESPnet source, choose tests, debug CI, add recipe/module tests, follow contribution conventions development-and-testing Focused pytest/CI command selection, style, recipe PR policy, maintainer troubleshooting.

Shared runtime files

Safety boundaries

  • Ask before full recipes, dataset acquisition, model downloads, Gradio demos, uploads, long training, or broad CI.
  • CUDA is optional unless the user's selected workflow requires GPU runtime.
  • Model-zoo tasks are network/cache dependent; validate local file paths before downloads.

04 同仓库更多 Skills

VectorSpaceLab
VectorSpaceLab/AREX-Skill

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.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

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.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

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.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

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.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

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.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

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).

★ 351