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
pyroUse Pyro probabilistic programming APIs for models, distributions, SVI, MCMC, poutine, enumeration, and contrib workflows.
Independent GitHub snapshot · Automated classification · Original documentation governs
Use this repo skill when the task involves the pyro-ppl package imported as
pyro: probabilistic models, distributions, stochastic variational inference,
HMC/NUTS/MCMC, posterior prediction, poutine effect handlers, discrete
enumeration, reparameterizers, PyroModule, or Pyro contributed modules.
This skill targets the Pyro 1.9.1 API family. It is self-contained for package use; do not depend on a source checkout, original examples, original tests, or notebooks at runtime.
Pyro's distribution name is pyro-ppl and the import name is pyro:
python -m pip install pyro-ppl
python - <<'PY'
import pyro, torch
print(pyro.__version__)
print(torch.__version__, torch.cuda.is_available())
PY
For a safe diagnostic that also reports optional integrations, run
scripts/check_pyro_environment.py. Start
with python scripts/check_pyro_environment.py --help; use --smoke to run a
tiny CPU SVI check.
pyro.sample, pyro.param, observed sites,
pyro.plate, parameter-store state, validation, RNG seeds, PyroModule,
PyroParam, and PyroSample: read
sub-skills/modeling-basics/SKILL.md..to_event(), Independent,
HMM/zero-inflated/stable/matching distributions, and event/batch/plate shape
debugging: read
sub-skills/distributions-and-shapes/SKILL.md.Predictive, WeighedPredictive, and posterior/prior predictive shapes:
read
sub-skills/mcmc-and-prediction/SKILL.md.TraceEnum_ELBO, infer_discrete, config_enumerate,
reparameterizers, and inference-tied pyro.ops: read
sub-skills/effect-handlers-and-enumeration/SKILL.md.pyro.contrib, MiniPyro/generic backend, forecasting, GP, epidemiology,
tracking, easyguide, CEVAE, Funsor, Horovod, Lightning, domain examples, and
optional dependency policy: read
sub-skills/contrib-and-domain-workflows/SKILL.md.For a compact root API map and verified signature highlights, read references/api-cheatsheet.md. For install/import, backend, optional dependency, validation, and routing failures, read references/troubleshooting.md. For staleness checks against a repository checkout, read references/repo-provenance.md.
pyro.enable_validation(True).pyro.clear_param_store().trace.format_shapes() before changing model structure.