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
jax-examplesPlan and troubleshoot JAX DPM-Solver and ScoreSDE example workflows, including API differences, device behavior, old dependency pins, and safe command construction.
Independent GitHub snapshot · Automated classification · Original documentation governs
Use this sub-skill when a user asks about the repository's JAX solver file or its JAX ScoreSDE example integration.
Read this for tasks that mention:
dpm_solver_jax.py, JAX NoiseScheduleVP, JAX DPM_Solver, predict_x0,
JAX solver_type="dpm_solver", pmap, JIT, TPU/GPU JAX devices, or Flax.examples/score_sde_jax, ScoreSDE JAX configs, get_dpm_solver_sampler,
n_jitted_steps, or JAX CIFAR-10 DPM-Solver sampling commands.model_type="score", classifier-free
guidance, dynamic thresholding, old jax/jaxlib pins, or CPU fallback.../core-api/SKILL.md and
../core-api/references/api-reference.md.references/score-sde-jax-workflows.md.references/jax-api-differences.md.scripts/build_jax_scoresde_command.py
to print a command template without launching a model run.../core-api/scripts/minimal_jax_sample.py
or root ../../scripts/check_dpm_solver_environment.py
for tiny solver smoke tests before touching the full ScoreSDE stack.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
The original JAX example wraps the sampler in jax.pmap, so real execution
expects a compatible JAX device setup and batch shapes divisible by local device
count.
predict_x0=False for the DPM-Solver/noise-prediction path.predict_x0=True for the DPM-Solver++/data-prediction path, but avoid
thresholding=True until the thresholding caveat is patched and tested.solver_type="dpm_solver", not PyTorch's "dpmsolver" spelling.denoise=True only when the extra NFE is acceptable.config.training.n_jitted_steps carefully: larger values can improve
training speed but increase memory and must divide logging/checkpointing
frequencies as documented by the example.jax, jaxlib, flax, TensorFlow,
and TensorFlow Datasets versions. Use a separate environment for full native
example reproduction.Read references/troubleshooting.md for JAX
example runtime, pmap, dependency, and API caveats. Shared solver guidance lives
in root ../../references/troubleshooting.md.