Audio diffusion pytorch

From VectorSpaceLab/AREX-Skill · View interactive version

Audio diffusion pytorch is an AI agent skill from the GitHub repository VectorSpaceLab/AREX-Skill. Use audio-diffusion-pytorch for PyTorch waveform diffusion generators, text-conditioned audio generation, inpainting, upsampling, vocoding, and diffusion autoencoding.

How to use this skill

Skill file

audio-diffusion-pytorch

Use this repo skill when a task involves the audio-diffusion-pytorch package or asks for PyTorch audio diffusion model setup, waveform generation, diffusion upsampling, mel vocoding, inpainting, or audio autoencoding.

This package provides building blocks and wrappers; it does not ship pretrained weights, ready-to-run checkpoints, or guaranteed Moûsai paper configs. Treat examples as model-construction and shape recipes unless the user supplies weights, data, or a training plan.

Install and quick checks

Install the public package:

pip install audio-diffusion-pytorch

Minimal import check:

python - <<'PY'
from importlib.metadata import version
import audio_diffusion_pytorch
print(version("audio-diffusion-pytorch"))
print("import ok")
PY

Optional dependencies:

Run scripts/check_install.py to report installed versions, optional modules, and public signatures. Use --check-cuda only when you want a tiny CUDA allocation.

Route map

Common decisions

  1. Identify the workflow family first:
  1. Keep smoke tests tiny: use channel counts and lengths from the bundled scripts before scaling to README-sized tensors.
  2. Set resnet_groups=1 for tiny channels, or use channel widths divisible by the default resnet_groups=8.
  3. Keep tensors on one device. Move the model and all inputs to CUDA only after CPU shape checks pass.
  4. Do not promise audio quality from random weights. Sampling APIs validate shape and execution, not trained generation quality.

Avoid this skill when

Maintenance note

This skill is self-contained for operating use. If a future checkout changes package metadata, public constructors, README workflows, or source roots, run refresh-repo-skill instead of patching this skill ad hoc.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.