executing-plans
executing-plans
Use when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available
torch-examplesPlan and troubleshoot PyTorch DPM-Solver example workflows for DDPM, guided-diffusion, and ScoreSDE without running heavyweight checkpoints by default.
Independent GitHub snapshot · Automated classification · Original documentation governs
Use this sub-skill when a user asks how to adapt the repository's PyTorch example workflows: DDPM, improved-DDPM, classifier-guided diffusion, or ScoreSDE PyTorch sampling/evaluation with DPM-Solver.
Read this for tasks that mention:
examples/ddpm_and_guided-diffusion, sample_type=dpmsolver++,
--dpm_solver_order, --skip_type, --thresholding, --scale, or FID
sampling commands.sampling.method="dpm_solver",
get_dpm_solver_sampler, CIFAR-10 ddpmpp_deep_continuous, or
configs/vp/cifar10_ddpmpp_deep_continuous.py.references/ddpm-guided-workflows.md.references/score-sde-pytorch-workflows.md.../../references/solver-choice-guide.md
to choose steps, order, method, and skip_type.scripts/build_torch_example_command.py
instead of copying a shell script with fixed GPU IDs or paths.scripts/validate_torch_options.py
before launching a full run.DDPM / guided-diffusion CIFAR-10 style:
python main.py --config cifar10.yml --exp <workdir> --sample --fid \
--timesteps 10 --eta 0 --ni --skip_type logSNR \
--sample_type dpmsolver++ --dpm_solver_order 3 \
--dpm_solver_method multistep --dpm_solver_type dpmsolver
Guided ImageNet-style large-guidance family:
python main.py --config imagenet256_guided.yml --exp <workdir> --sample --fid \
--timesteps 20 --eta 0 --ni --skip_type time_uniform \
--sample_type dpmsolver++ --dpm_solver_order 2 \
--dpm_solver_method multistep --dpm_solver_type dpmsolver \
--scale 8.0 --thresholding
ScoreSDE PyTorch CIFAR-10 DPM-Solver sampler family:
python main.py --config configs/vp/cifar10_ddpmpp_deep_continuous.py \
--mode eval --workdir <workdir> \
--config.sampling.eps=1e-3 \
--config.sampling.method=dpm_solver \
--config.sampling.steps=10 \
--config.sampling.skip_type=logSNR \
--config.sampling.dpm_solver_order=3 \
--config.sampling.dpm_solver_method=singlestep \
--config.eval.batch_size=1000
Use references/troubleshooting.md for
PyTorch example-specific checkpoint, config, distributed launch, option, and FID
errors. Use the root ../../references/troubleshooting.md
for shared import/backend/schedule issues.