name: evaluation
description: "Operate MMAudio batch evaluation, evaluation dataset wiring, and
onset metrics."
disable-model-invocation: true
metadata:
disco-role: operating
license: MIT
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
- Use
torchrun even for one GPU. The batch evaluator reads distributed environment variables at import time and initializes NCCL.
- Treat CUDA as required for practical batch evaluation. CPU is only suitable for helper scripts and onset scoring.
- Do not expect video composites from batch evaluation; it writes generated audio files only.
- Check dataset paths and schemas before launching: most empty-output problems are bad CSV/JSONL/media naming rather than model failures.
- Be explicit about
duration_s, dataset, model, output_name, batch_size, num_workers, compile, and any eval_data.* path overrides.
- 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.
- 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.