brainstorming
brainstorming
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation).
svi-and-autoguidesBuild, train, and debug Pyro SVI, ELBO, autoguide, and optimizer workflows.
Independent GitHub snapshot · Automated classification · Original documentation governs
Use this sub-skill when the user is building, training, evaluating, or debugging
Pyro stochastic variational inference (SVI): SVI.step(), evaluate_loss(),
model-guide pairing, ELBO choice, autoguides, Pyro optimizer wrappers, vanilla
PyTorch optimizer loops, minibatching/subsampling, JIT/vectorized particles, or
discrete-enumeration handoffs.
AutoGuideList,
PyroOptim versus torch.optim, local PyroModule parameters, and flow guide
caveats, read
references/autoguide-and-optimizer-reference.md.log_prob shape, NaNs, optimizer state surprises, JIT
warnings, and discrete-latent enumeration routing, read
references/troubleshooting.md.python scripts/minipyro_svi_smoke.py --help; the default run is
intentionally short.Use this sub-skill for requests like:
Trace_ELBO, TraceEnum_ELBO, and TraceMeanField_ELBO";pyro.optim.Adam";num_particles, vectorize_particles, or JIT";pyro.sample, pyro.param, pyro.plate, parameter-store lifecycle,
and PyroModule basics: route to ../modeling-basics/..to_event(), and detailed
batch/event/plate shape algebra: route to ../distributions-and-shapes/.Predictive, posterior predictive sample shapes, and MCMC
diagnostics: route to ../mcmc-and-prediction/.config_enumerate, infer_discrete, enumeration
dimension allocation, masking/scaling handlers, and reparameterizers: route to
../effect-handlers-and-enumeration/.pyro.clear_param_store() or
module-local parameters) before comparing training runs.*args, **kwargs; pass all SVI data
through svi.step(...) or the ELBO module call.AutoDiscreteParallel, or reroute enumeration
mechanics to the sibling enumeration sub-skill.