Skip to content
Back to skills

Mmaudio

ASecurity

"Route MMAudio video-to-audio, text-to-audio, data preparation,

  • 247 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 8, 2026
toolspythonbashdebuggingapibackenddocumentation

Works with

  • cli
  • api

Security analysis

A96/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro scans all 20 files and shows the line behind each finding

Scanned September 8, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill mmaudio --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Mmaudio?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Mmaudio
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-mmaudio/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-mmaudio)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: mmaudio
description: "Route MMAudio video-to-audio, text-to-audio, data preparation,
  CUDA training, and evaluation workflows."
disable-model-invocation: true
metadata:
  disco-role: operating
license: MIT
---

# MMAudio

Use this repo skill when a task involves **MMAudio**, the PyTorch project for
synchronized audio generation from video and/or text. It is an operating guide
for future agents: it distills the repository's install, model assets, CLI/API,
training, data-preparation, and evaluation behavior without requiring the agent
to reopen the original source tree for normal use.

## First checks

1. Confirm the task is about MMAudio-style audio generation, video-to-audio,
   text-to-audio, the MMAudio model variants, training feature memmaps, or the
   repo's batch-evaluation/onset tooling.
2. Check whether the user needs a real model run. Real inference may download
   multi-GB model assets and is GPU/MPS-preferred; training/evaluation paths are
   CUDA/DDP-oriented.
3. If a checkout or package install is present, run
   [`scripts/check_mmaudio_env.py`](scripts/check_mmaudio_env.py) for a safe
   import/backend/config sanity check. It does not download weights or run a
   model.
4. Read [`references/repo-provenance.md`](references/repo-provenance.md) before
   deciding whether this skill is stale for a newer checkout.

## Route map

| User intent | Read this |
| --- | --- |
| Generate audio for one prompt/video, build a `demo.py` command, use Gradio, or call `mmaudio.eval_utils.generate` | [`sub-skills/inference/SKILL.md`](sub-skills/inference/SKILL.md) |
| Partition audio, validate captions/clip manifests, plan CLIP/Synchformer/VAE feature extraction, or inspect TensorDict memmap schemas | [`sub-skills/data-preparation/SKILL.md`](sub-skills/data-preparation/SKILL.md) |
| Launch or debug DDP training, bounded smoke runs, checkpoint/weights resume, EMA synthesis, or Hydra training overrides | [`sub-skills/training/SKILL.md`](sub-skills/training/SKILL.md) |
| Run batched generation for AudioCaps/VGGSound/MovieGen-style evaluation data or compute onset metrics | [`sub-skills/evaluation/SKILL.md`](sub-skills/evaluation/SKILL.md) |

## Shared references

- [`references/model-assets.md`](references/model-assets.md) lists MMAudio model
  variants, required checkpoint filenames, download/checksum behavior, sample
  rates, and license caveats.
- [`references/configuration.md`](references/configuration.md) summarizes shared
  Hydra conventions, sequence-length facts, default paths, and override style.
- [`references/troubleshooting.md`](references/troubleshooting.md) covers
  cross-cutting install/import, CUDA, download, media, and dependency failures.
- [`references/repo-routing-metadata.json`](references/repo-routing-metadata.json)
  is structured metadata for managed repo-skill routing.

## Installation and environment baseline

MMAudio is a Python package named `mmaudio` and requires Python 3.9+. The
repository documentation recommends a Miniforge/Conda-style environment on
Ubuntu. Install a CUDA-capable PyTorch stack first when GPU workflows are in
scope, then install the package in editable mode:

```bash
python -m pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118 --upgrade
python -m pip install -e <MMAudio checkout>
```

The package metadata declares dependencies such as `torchcodec`,
`huggingface_hub`, `hydra-core`, `gradio`, `open_clip_torch`, `av`, `timm`,
`tensordict`, `librosa`, `torchdiffeq`, and `nitrous-ema`. Training and the
built-in metric/sample path also depend on the external `av_bench` package from
the MMAudio authors' av-benchmark project.

## Model families at a glance

| Variant | Mode | Typical use |
| --- | --- | --- |
| `small_16k` | 16 kHz | Lower sample rate, smaller network, training/evaluation examples. |
| `small_44k` | 44.1 kHz | Smaller high-sample-rate generation. |
| `medium_44k` | 44.1 kHz | Larger high-sample-rate model. |
| `large_44k` | 44.1 kHz | Heavy high-sample-rate model. |
| `large_44k_v2` | 44.1 kHz | Recommended default for general inference. |

Every inference/evaluation variant needs a flow-prediction checkpoint, a VAE,
and the Synchformer checkpoint; 16 kHz additionally uses the BigVGAN vocoder
file. See the model-assets reference before downloading or debugging weights.

## Boundaries and cautions

- This skill is for operating MMAudio, not for general audio ML, TTS, ASR, or
  unrelated diffusion models.
- Full generation, training, and batch evaluation can be expensive and may
  download large files. Use the bundled command builders and schema checks
  before launching CUDA work.
- Do not treat CPU import success as proof that CUDA training, feature
  extraction, or batch evaluation will work. Those code paths use CUDA/NCCL.
- The generated helper scripts print or validate commands by default; they do
  not modify model weights, launch servers, download checkpoints, or start
  training unless a user separately runs the printed project command.

Files in this skill

  • SKILL.md4.9 KB
  • references/configuration.md4.8 KB
  • references/model-assets.md3.5 KB
  • references/repo-provenance.md2.6 KB
  • references/repo-routing-metadata.json504 B
  • references/troubleshooting.md4.9 KB
  • scripts/check_mmaudio_env.py7.4 KB
  • sub-skills/data-preparation/SKILL.md2.5 KB
  • sub-skills/data-preparation/references/data-formats.md5.6 KB
  • sub-skills/data-preparation/references/feature-extraction.md5.6 KB
  • sub-skills/data-preparation/references/troubleshooting.md3.8 KB
  • sub-skills/data-preparation/scripts/inspect_feature_plan.py12.6 KB
  • sub-skills/data-preparation/scripts/partition_audio_clips.py4.7 KB
  • sub-skills/evaluation/SKILL.md3 KB
  • sub-skills/evaluation/references/batch-evaluation.md8.9 KB
  • sub-skills/evaluation/references/evaluation-data-formats.md7.8 KB
  • sub-skills/evaluation/references/troubleshooting.md7 KB
  • sub-skills/evaluation/scripts/build_batch_eval_command.py20.2 KB
  • sub-skills/evaluation/scripts/evaluate_onsets.py14.1 KB
  • sub-skills/inference/SKILL.md2.5 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.