AGENT SKILL

evaluation

Operate MMAudio batch evaluation, evaluation dataset wiring, and onset metrics.

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

01 前言 Front Matter

name
evaluation
license
MIT
metadata
{ "disco-role": "operating" }
description
Operate MMAudio batch evaluation, evaluation dataset wiring, and onset metrics.
disable-model-invocation
true

02 资源文件 5

03 SKILL.md 正文

MMAudio Evaluation

Use this sub-skill when the task is to generate batched MMAudio evaluation outputs, configure evaluation datasets, or score onset timing on generated audio.

What this route owns

  • Batch generation with batch_eval.py through Hydra and torchrun.
  • AudioCaps, AudioCaps-full, VGGSound, and MovieGen evaluation data configuration.
  • Output naming, run-directory expectations, DDP/CUDA launch assumptions, and per-GPU batch sizing.
  • Safe command construction for batch evaluation without launching the model.
  • CPU onset scoring for predicted .flac/.wav files against ground-truth onset text files.

Route elsewhere

  • Single prompt, single video, API generation, video compositing, or Gradio usage -> inference.
  • Feature extraction, training memmaps, or manifest preparation -> data-preparation.
  • DDP training, checkpoints, EMA, or TensorBoard training outputs -> training.

Operating rules

  1. Use torchrun even for one GPU. The batch evaluator reads distributed environment variables at import time and initializes NCCL.
  2. Treat CUDA as required for practical batch evaluation. CPU is only suitable for helper scripts and onset scoring.
  3. Do not expect video composites from batch evaluation; it writes generated audio files only.
  4. Check dataset paths and schemas before launching: most empty-output problems are bad CSV/JSONL/media naming rather than model failures.
  5. Be explicit about duration_s, dataset, model, output_name, batch_size, num_workers, compile, and any eval_data.* path overrides.
  6. Model weights and external module checkpoints may be downloaded when the real batch command runs if they are absent; command builders in this sub-skill never download them.
  7. Use onset scoring only for 8-second-style onset benchmarks unless you deliberately override sample rate, duration, and naming assumptions.

Start here

Evidence labels

This sub-skill was distilled from these source evidence labels: docs/EVAL.md, batch_eval.py, eval_onsets.py, config/eval_config.yaml, config/eval_data/base.yaml, and the mmaudio/data/eval package. The runtime guidance above is self-contained; do not send future agents back to those source files for normal operation.

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