Skip to content
Back to skills

Denoising Diffusion Pytorch

ASecurity

"Use denoising-diffusion-pytorch for PyTorch DDPM/DDIM image

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

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 denoising-diffusion-pytorch --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Denoising Diffusion Pytorch?

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

Security grade badge for Denoising Diffusion Pytorch
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-denoising-diffusion-pytorch/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-denoising-diffusion-pytorch)

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: denoising-diffusion-pytorch
description: "Use denoising-diffusion-pytorch for PyTorch DDPM/DDIM image
  diffusion, 1D sequence diffusion, conditioning and guidance, and advanced
  diffusion variants."
disable-model-invocation: true
metadata:
  disco-role: operating
license: MIT
---

# denoising-diffusion-pytorch

Use this repo skill when a Researcher needs to operate the public `denoising-diffusion-pytorch` package (`denoising_diffusion_pytorch` import) from self-contained guidance. It covers the inspected public API surface at version 2.3.1.

## Install and sanity check

```bash
python -m pip install denoising-diffusion-pytorch
python - <<'PYCODE'
from denoising_diffusion_pytorch import Unet, GaussianDiffusion, Unet1D, GaussianDiffusion1D
print('denoising_diffusion_pytorch imports ok')
PYCODE
```

For a no-training environment check, run [scripts/check_env.py](scripts/check_env.py). It verifies package metadata, public imports, a tiny CPU tensor operation, and optional CUDA visibility.

## Route by task

| User task | Read |
| --- | --- |
| 2D image DDPM/DDIM, `Unet`, `GaussianDiffusion`, image folder `Trainer`, FID, RePaint/inpainting, image tensor shape errors | [sub-skills/image-diffusion/SKILL.md](sub-skills/image-diffusion/SKILL.md) |
| 1D/time-series/sequence tensors, `Unet1D`, `GaussianDiffusion1D`, `Dataset1D`, `Trainer1D`, channel-first vs channel-last layout | [sub-skills/sequence-diffusion/SKILL.md](sub-skills/sequence-diffusion/SKILL.md) |
| classifier-free guidance, class labels, `cond_scale`, CFG++, external classifier `cond_fn`, `XMWrapper` multi-candidate loss | [sub-skills/conditioning-guidance/SKILL.md](sub-skills/conditioning-guidance/SKILL.md) |
| Karras UNets, video-shaped Karras 3D, continuous-time / v-param / EDM / simple diffusion, learned variance, weighted objective, flash/SDPA compatibility | [sub-skills/advanced-variants/SKILL.md](sub-skills/advanced-variants/SKILL.md) |

## Shared references

- [references/package-overview.md](references/package-overview.md) maps public exports, dependencies, and sub-skill ownership.
- [references/troubleshooting.md](references/troubleshooting.md) covers cross-cutting install/import, PyTorch/CUDA, Accelerate, optional FID, and smoke-test failures.
- [references/repo-provenance.md](references/repo-provenance.md) records the source snapshot and refresh baseline.

## Operating rules

- Use the bundled scripts for smoke tests; do not run long training or FID for routine verification.
- Keep data tensors normalized to `[0, 1]` unless `auto_normalize=False` is explicitly chosen.
- CPU is the default verification backend; CUDA, flash attention, FID, and Accelerate multi-GPU are optional accelerators unless a user explicitly asks for them.
- The package has no public CLI entry points. Workflows are Python API workflows.
- If a task asks to edit this repository rather than use the package, this repo skill can explain APIs, but repository-maintenance policy is outside the selected operating graph.

Files in this skill

  • SKILL.md2.9 KB
  • references/package-overview.md2.4 KB
  • references/repo-provenance.md1.4 KB
  • references/repo-routing-metadata.json540 B
  • references/troubleshooting.md1.8 KB
  • scripts/check_env.py2.8 KB
  • sub-skills/advanced-variants/SKILL.md2.7 KB
  • sub-skills/advanced-variants/references/api-reference.md3.7 KB
  • sub-skills/advanced-variants/references/compatibility.md3.5 KB
  • sub-skills/advanced-variants/references/troubleshooting.md2.9 KB
  • sub-skills/advanced-variants/references/workflows.md4.9 KB
  • sub-skills/advanced-variants/scripts/smoke_advanced_variants.py5 KB
  • sub-skills/conditioning-guidance/SKILL.md2.7 KB
  • sub-skills/conditioning-guidance/references/api-reference.md4.3 KB
  • sub-skills/conditioning-guidance/references/troubleshooting.md2.8 KB
  • sub-skills/conditioning-guidance/references/workflows.md3.1 KB
  • sub-skills/conditioning-guidance/scripts/smoke_conditioning_guidance.py4.7 KB
  • sub-skills/image-diffusion/SKILL.md2.4 KB
  • sub-skills/image-diffusion/references/api-reference.md5 KB
  • sub-skills/image-diffusion/references/troubleshooting.md3 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.