Generation
Use this sub-skill when a request is about:
- building or smoke-checking an unconditional audio diffusion generator,
- sampling with
DiffusionModel.sample, - enabling text conditioning with classifier-free guidance,
- filling masked waveform gaps with
VInpainter, - or handling the exported but expert-only
DiffusionARpath.
Route elsewhere:
- upsampling, vocoding, and autoencoding belong in
../conditioning/. - pretrained checkpoints, full training runs, benchmark sweeps, and paper-specific recipes are not part of this sub-skill.
- release and import workflows belong to the repo-level skill, not this route.
Quick workflow
- Start with
scripts/tiny_generation_smoke.pyfor a CPU-only, no-pretrained-weights check. - Use
references/api-reference.mdto confirm constructor names, argument rules, and route behavior. - Use
references/workflows.mdfor the smallest working shapes and expected signals. - Use
references/troubleshooting.mdwhen you hit channel, mask, text-conditioning, or step/schedule errors.
Owned capabilities
DiffusionModel.forwardloss route andDiffusionModel.samplesampler route.UNetV0construction, length checks, attention and cross-attention flags, text-conditioning flags, andresnet_groupsconstraints.VDiffusion,UniformDistribution,LinearSchedule, andVSampler.VInpaintersource/mask/noise resampling flow.- Expert notes for
DiffusionAR.
Bundled files
references/api-reference.mdreferences/workflows.mdreferences/troubleshooting.mdscripts/tiny_generation_smoke.py