dpm-solver
Use DPM-Solver and DPM-Solver++ single-file samplers for diffusion ODE sampling, PyTorch/JAX integration, ScoreSDE/DDPM examples, and Stable Diffusion…
Skill by VectorSpaceLab
Chalk Labs
Need help deploying dpm-solver?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/vectorspacelab-dpm-solver
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: ml
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
- Runs as
- Python package
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/dpm-solver
What's inside
- Skill name
dpm-solver- Description
- Use DPM-Solver and DPM-Solver++ single-file samplers for diffusion ODE sampling, PyTorch/JAX integration, ScoreSDE/DDPM examples, and Stable Diffusion acceleration.
- License
- MIT
- Metadata
- disco-role: operating
- Instructions
- 125 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Files (32)
- SKILL.md
- api-summary.md · references/
- repo-provenance.md · references/
- repo-routing-metadata.json · references/
- solver-choice-guide.md · references/
- troubleshooting.md · references/
- check_dpm_solver_environment.py · scripts/
- dpm_solver_jax.py · scripts/
- dpm_solver_pytorch.py · scripts/
- SKILL.md · sub-skills/core-api/
- api-reference.md · sub-skills/core-api/references/
- noise-schedules-and-wrappers.md · sub-skills/core-api/references/
- troubleshooting.md · sub-skills/core-api/references/
- minimal_jax_sample.py · sub-skills/core-api/scripts/
- minimal_torch_sample.py · sub-skills/core-api/scripts/
- SKILL.md · sub-skills/jax-examples/
- jax-api-differences.md · sub-skills/jax-examples/references/
- score-sde-jax-workflows.md · sub-skills/jax-examples/references/
- troubleshooting.md · sub-skills/jax-examples/references/
- build_jax_scoresde_command.py · sub-skills/jax-examples/scripts/
- SKILL.md · sub-skills/stable-diffusion/
- dpmsolver-sampler-adapter.md · sub-skills/stable-diffusion/references/
- stable-diffusion-workflows.md · sub-skills/stable-diffusion/references/
- troubleshooting.md · sub-skills/stable-diffusion/references/
- build_sd_dpm_command.py · sub-skills/stable-diffusion/scripts/
- stable_diffusion_dpmsolver_sampler.py · sub-skills/stable-diffusion/scripts/
- SKILL.md · sub-skills/torch-examples/
- ddpm-guided-workflows.md · sub-skills/torch-examples/references/
- score-sde-pytorch-workflows.md · sub-skills/torch-examples/references/
- troubleshooting.md · sub-skills/torch-examples/references/
- build_torch_example_command.py · sub-skills/torch-examples/scripts/
- validate_torch_options.py · sub-skills/torch-examples/scripts/
SKILL.md (first lines)
# DPM-Solver Use this skill when a task asks how to integrate, configure, debug, or adapt the DPM-Solver / DPM-Solver++ samplers from Cheng Lu et al.'s `dpm-solver` project. The repository is a source-code distribution rather than a normal PyPI package: the durable user-facing artifacts are the single-file PyTorch and JAX solver modules plus example integrations for DDPM/guided-diffusion, ScoreSDE, and Stable Diffusion. ## Start Here 1. Identify whether the user wants **direct solver API integration**, a **PyTorch example workflow**, a **JAX ScoreSDE workflow**, or **Stable Diffusion sampling acceleration**. 2. If they need code, prefer the bundled implementation copies in [`scripts/dpm_solver_pytorch.py`](scripts/dpm_solver_pytorch.py) and [`scripts/dpm_solver_jax.py`](scripts/dpm_solver_jax.py) instead of relying on an original checkout. 3. Use [`references/solver-choice-guide.md`](references/solver-choice-guide.md) before recommending `algorithm_type`, `order`, `method`, `steps`, `skip_type`, thresholding, or denoising settings. 4. Run [`scripts/check_dpm_solver_environment.py`](scripts/check_dpm_solver_environment.py) when imports, PyTorch/JAX availability, CUDA visibility, or a tiny numerical smoke test are uncertain. 5. Treat full image generation, pretrained checkpoints, FID evaluation, Stable Diffusion weights, dataset downloads, and multi-GPU training as opt-in: they are network-, credential-, GPU-, memory-, and time-sensitive. 6. Read [`references/repo-provenance.md`](references/repo-provenance.md) before refreshing this skill against a newer source snapshot. ## Route By Task | User task | Read | | --- | --- | | Copy DPM-Solver into custom code, wrap a diffusion model, choose noise schedules, inspect API signatures, run tiny smoke tests | [`sub-skills/core-api/SKILL.md`](sub-skills/core-api/SKILL.md) | | Adapt DDPM, guided-diffusion, ScoreSDE PyTorch sampling commands, configs, checkpoints, or DPM-Solver flags | [`sub-skills/torch-examples/SKILL.md`](sub-skills/torch-examples/SKILL.md) | | Use the JAX ScoreSDE integration, understand JAX-specific solver differences, `pmap`/device behavior, or JAX caveats | [`sub-skills/jax-examples/SKILL.md`](sub-skills/jax-examples/SKILL.md) | | Add DPM-Solver to latent Stable Diffusion, plan `txt2img --dpm_solver`, use the sampler adapter, or troubleshoot model-weight/runtime constraints | [`sub-skills/stable-diffusion/SKILL.md`](sub-skills/stable-diffusion/SKILL.md) | ## Key Operating Facts - Direct use imports `NoiseScheduleVP`, `model_wrapper`, and `DPM_Solver` from the PyTorch or JAX module. - `NoiseScheduleVP(schedule="discrete", betas=...)` or `NoiseScheduleVP(schedule="discrete", alphas_cumprod=...)` converts a discrete diffusion schedule to continuous time labels in `(0, 1]`. - `NoiseScheduleVP(schedule="linear", continuous_beta_0=0.1, continuous_beta_1=20.)` covers continuous VP SDEs used by ScoreSDE-style examples. The bundled JAX module also exposes `schedule="cosine"`; the root PyTorch file does not, while the Stable Diffusion nested copy does. - PyTorch `DPM_Solver(..., algorithm_type="dpmsolver++")` selects data prediction internally and is the common default for guided sampling. The JAX API uses `predict_x0=True` for the DPM-Solver++-style path. - `method="multistep"`, `order=2`, `skip_type="time_uniform"`, and roughly 20-25 steps are the Stable Diffusion / large-guidance default family. - `method="singlestep"` or `method="multistep"` with order 3 is the common exploration path for unconditional or lightly guided sampling. - `correcting_x0_fn="dynamic_thresholding"` is for pixel-space guided sampling; do not use dynamic thresholding for latent-space Stable Diffusion. ## Installation And Import Baseline There is no root package metadata. For custom code, copy one bundled solver file into the target project or keep it on `PYTHONPATH` and install only the backend needed by that file: ```bash python -m pip install torch # for dpm_solver_pytorch.py python -m pip install jax jaxlib # for dpm_solver_jax.py CPU use ``` Minimal PyTorch import and smoke check: ```bash python scripts/check_dpm_solver_environment.py --backend torch --smoke ``` Minimal JAX import and smoke check: ```bash python scripts/check_dpm_solver_environment.py --backend jax --smoke ``` ## Root References And Tools - [`references/solver-choice-guide.md`](references/solver-choice-guide.md): practical solver setting choices for unconditional, guided, low-resolution, high-resolution, and latent-space workflows. - [`references/api-summary.md`](references/api-summary.md): compact signatures, naming differences, return behavior, and caveats for the PyTorch and JAX solver files. - [`references/troubleshooting.md`](references/troubleshooting.md): install, import, backend, numerical, guidance, checkpoint, and optional dependency troubleshooting shared across sub-skills. - [`scripts/check_dpm_solver_environment.py`](scripts/check_dpm_solver_environment.py): self-contained import/backend/smoke checker for the bundled solver copies. - [`scripts/dpm_solver_pytorch.py`](scripts/dpm_solver_pytorch.py) and [`scripts/dpm_solver_jax.py`](scripts/dpm_solver_jax.py): source-derived bundled implementations future agents can copy into projects. ## Safety And Scope Boundaries - Do not start model downloads, dataset downloads, FID computation, Stable Diffusion generation, notebook execution, or multi-GPU sampling unless the user explicitly approves the cost and runtime. - Do not assume a CUDA, ROCm, MPS, TPU, or JAX accelerator backend is available; run a backend probe and use CPU only for tiny API smoke tests unless real generation is requested. - Do not route Hugging Face `diffusers` scheduler API tasks here when the user is using the `diffusers` package directly; prefer a Diffusers-specific skill for `DPMSolverMultistepScheduler` pipelines. - Do not tell future agents to run original repository examples. If a workflow is useful, use this skill's distilled references and bundled command builders. - Keep Stable Diffusion safety, license, checkpoint, and gated-weight requirements explicit when constructing commands. ## Verification Expectations Start with the smallest safe checks: import the backend, construct a linear
From VectorSpaceLab/AREX-Skill, MIT.
More from VectorSpaceLab/AREX-Skill
- 0.563score
data-designer-repo-skill
VectorSpaceLab
Use when you need to design DataDesigner configs, run preview/create/validate workflows, inspect the CLI or agent context, work with plugins or MCP tools, or…
SkillBFreshness: B★ 341Claude Code +9 - 0.563score
everos
VectorSpaceLab
Use this skill for EverOS local-first Markdown memory service setup, HTTP memory and knowledge APIs, cascade/OME operations, and observability integration.
SkillBFreshness: B★ 341Claude Code +9 - 0.563score
bentoml
VectorSpaceLab
Use BentoML to author model-serving Services, build and containerize Bentos, run HTTP/gRPC servers and clients, manage models, operate the CLI and BentoCloud…
SkillBFreshness: B★ 341Claude Code +9 - 0.563score
dash
VectorSpaceLab
Use when building, debugging, testing, or maintaining Plotly Dash applications, callbacks, server backends, component packages, renderer internals, and Dash…
SkillBFreshness: B★ 341Claude Code +9 - 0.563score
diffusers
VectorSpaceLab
Use this skill for Hugging Face Diffusers tasks: pipeline inference, schedulers, adapters/loaders, training recipes, modular pipelines, conversion helpers…
SkillBFreshness: B★ 341Claude Code +9 - 0.563score
espnet
VectorSpaceLab
Use when working with ESPnet speech AI toolkit: installation, ESPnet2 recipes and training, pretrained inference/model zoo, ESPnet3 stage workflows, and…
SkillBFreshness: B★ 341Claude Code +9 - 0.563score
alphafold3
VectorSpaceLab
Use this skill for AlphaFold 3 input preparation, prediction command planning, output interpretation, and Python API inspection.
SkillBFreshness: B★ 341Claude Code +9 - 0.563score
autogen
VectorSpaceLab
Use this skill for maintaining, migrating, debugging, and safely operating Microsoft AutoGen Python 0.7.x applications, including AgentChat, Core runtimes…
SkillBFreshness: B★ 341Claude Code +9 - 0.563score
browser-use
VectorSpaceLab
Use this self-contained Browser Use repo skill for Python agents that automate websites, browser sessions, custom tools, LLM/provider setup, persistent CLI…
SkillBFreshness: B★ 341Claude Code +9 - 0.563score
dagster
VectorSpaceLab
Use when working with Dagster OSS: assets, jobs, Definitions, config/resources, schedules/sensors, automation, CLI/local development, deployment operations…
SkillBFreshness: B★ 341Claude Code +9 - 0.563score
datasets
VectorSpaceLab
Use this skill when working with Hugging Face Datasets: loading local or Hub datasets, defining Features schemas, processing/streaming datasets, converting…
SkillBFreshness: B★ 341Claude Code +9 - 0.563score
geopandas
VectorSpaceLab
Use when working with GeoPandas GeoDataFrame and GeoSeries workflows, vector geospatial I/O, CRS-aware spatial operations, mapping, geocoding, and…
SkillBFreshness: B★ 341Claude Code +9
Signals
- Stars
- 341
- Forks
- 26
- Open issues
- 0
- Last commit (this folder)
- Aug 26, 2026 (2 months ago)
- Last release
- Sep 2, 2026 (2 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/VectorSpaceLab/AREX-Skill
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from VectorSpaceLab
- 0.563score
bentoml
VectorSpaceLab
Use BentoML to author model-serving Services, build and containerize Bentos, run HTTP/gRPC servers and clients, manage models, operate the CLI and BentoCloud…
SkillBFreshness: B★ 341Claude Code +9 - 0.563score
dagster
VectorSpaceLab
Use when working with Dagster OSS: assets, jobs, Definitions, config/resources, schedules/sensors, automation, CLI/local development, deployment operations…
SkillBFreshness: B★ 341Claude Code +9 - 0.563score
alphafold3
VectorSpaceLab
Use this skill for AlphaFold 3 input preparation, prediction command planning, output interpretation, and Python API inspection.
SkillBFreshness: B★ 341Claude Code +9 - 0.563score
autogen
VectorSpaceLab
Use this skill for maintaining, migrating, debugging, and safely operating Microsoft AutoGen Python 0.7.x applications, including AgentChat, Core runtimes…
SkillBFreshness: B★ 341Claude Code +9 - 0.563score
browser-use
VectorSpaceLab
Use this self-contained Browser Use repo skill for Python agents that automate websites, browser sessions, custom tools, LLM/provider setup, persistent CLI…
SkillBFreshness: B★ 341Claude Code +9 - 0.563score
dash
VectorSpaceLab
Use when building, debugging, testing, or maintaining Plotly Dash applications, callbacks, server backends, component packages, renderer internals, and Dash…
SkillBFreshness: B★ 341Claude Code +9
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get dpm-solver running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
dpm-solver skill. Agent Mart. https://agentmart.dev/skills/vectorspacelab-dpm-solver (last updated 2026-10-24)