跳到正文
cccskills
免费在 GitHub 公开

audio-diffusion-pytorch

Use audio-diffusion-pytorch for PyTorch waveform diffusion generators, text-conditioned audio generation, inpainting, upsampling, vocoding, and diffusion autoencoding.

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(15)

  • SKILL.md3.7 KB
  • references/repo-provenance.md1.7 KB
  • references/repo-routing-metadata.json443 B
  • references/troubleshooting.md4.1 KB
  • scripts/check_install.py4.2 KB
  • sub-skills/conditioning/references/api-reference.md6.9 KB
  • sub-skills/conditioning/references/troubleshooting.md3.5 KB
  • sub-skills/conditioning/references/workflows.md4.2 KB
  • sub-skills/conditioning/scripts/tiny_conditioning_smoke.py5.6 KB
  • sub-skills/conditioning/SKILL.md1.5 KB
  • sub-skills/generation/references/api-reference.md4.1 KB
  • sub-skills/generation/references/troubleshooting.md3.2 KB
  • sub-skills/generation/references/workflows.md3.2 KB
  • sub-skills/generation/scripts/tiny_generation_smoke.py4.5 KB
  • sub-skills/generation/SKILL.md1.8 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

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:

  • Text conditioning uses the default a-unet T5 embedder and requires transformers. First use may consult Hugging Face cache or network.
  • README-style autoencoder examples may use audio_encoders_pytorch and auraloss, but the core DiffusionAE wrapper can also work with a local encoder object.
  • CUDA is optional for this package. CPU is enough for tiny smoke checks; use a CUDA-capable PyTorch install only when the user wants GPU execution.

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

  • Use sub-skills/generation/SKILL.md for DiffusionModel, UNetV0, VDiffusion, VSampler, text-conditioned generation, VInpainter, schedules, distributions, and expert DiffusionAR notes.
  • Use sub-skills/conditioning/SKILL.md for DiffusionUpsampler, DiffusionVocoder, DiffusionAE, EncoderBase, AdapterBase, mel spectrogram conditioning, and transform plugins.
  • Use references/troubleshooting.md for install/import issues, optional dependencies, backend questions, no-pretrained-weights expectations, and cross-cutting shape gotchas.
  • Use references/repo-provenance.md before deciding whether this skill is current for a checkout or should be refreshed.

Common decisions

  1. Identify the workflow family first:
    • new waveform generation, text prompts, sampler errors, or masks → generation;
    • lower-rate waveform conditioning, mel spectrograms, latents, encoders, adapters, or custom losses → conditioning.
  2. Keep smoke tests tiny: use channel counts and lengths from the bundled scripts before scaling to README-sized tensors.
  3. Set resnet_groups=1 for tiny channels, or use channel widths divisible by the default resnet_groups=8.
  4. Keep tensors on one device. Move the model and all inputs to CUDA only after CPU shape checks pass.
  5. Do not promise audio quality from random weights. Sampling APIs validate shape and execution, not trained generation quality.

Avoid this skill when

  • The user wants a pretrained audio diffusion checkpoint, dataset download, or benchmark reproduction and has not supplied the missing assets.
  • The task is about non-PyTorch audio libraries, ASR/TTS pipelines unrelated to diffusion/vocoding, or image diffusion.
  • The user is editing this repository's release workflow rather than using the package APIs.

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.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Routes 3D ResNets PyTorch video action-recognition workflows across training, inference, and data preparation.

中文简介正在准备中。当前显示原文说明。

VectorSpaceLab/AREX-Skill3392026年9月3日 更新

3ddfa

免费

Guide 3DDFA Python inference, geometry rendering, training/evaluation, and optional C++ ONNX workflows for 3D dense face alignment.

中文简介正在准备中。当前显示原文说明。

VectorSpaceLab/AREX-Skill3392026年9月3日 更新

3ddfa-v2

免费

Routes 3DDFA_V2 face-alignment setup, still-image demos, video tracking, and ONNX benchmarking workflows.

中文简介正在准备中。当前显示原文说明。

VectorSpaceLab/AREX-Skill3392026年9月3日 更新

ab3dmot

免费

Operate AB3DMOT 3D multi-object tracking workflows for KITTI and nuScenes data, tracking, evaluation, and visualization.

中文简介正在准备中。当前显示原文说明。

VectorSpaceLab/AREX-Skill3392026年9月3日 更新

Use Hugging Face Accelerate for PyTorch training-loop migration, distributed launch/configuration, DeepSpeed/FSDP/TPU backend setup, big-model inference/offload, checkpointing, tracking, and troubleshooting.

中文简介正在准备中。当前显示原文说明。

VectorSpaceLab/AREX-Skill3392026年9月3日 更新

acme

免费

Route Acme reinforcement-learning framework tasks across core loops, replay/data, JAX agents, and TensorFlow/Sonnet agents.

中文简介正在准备中。当前显示原文说明。

VectorSpaceLab/AREX-Skill3392026年9月3日 更新

查看 VectorSpaceLab 的全部技能

报告此技能的问题