
Pyro Discussion Forum
Sep 15, 2025 · Forum For Pyro Developers
Variational Inference for Dirichlet process clustering - Pyro ...
Jan 31, 2018 · Hi there! This is my first time using Pyro so I am very excited to see what I can built with it.🙂 Specifically, I am trying to do finite Dirichlet Process clustering with Variational Inference. I want to …
Categories - Pyro Discussion Forum
Forum For Pyro Developers
Sampling from posterior predictive - Misc. - Pyro Discussion Forum
Feb 17, 2019 · Hello, first off, amazing job on Pyro! Major kudos 🙂 How do I sample from the posterior predictive for an SVI-trained model efficiently? At the moment, I sample a guide trace for each …
RuntimeError: Cannot find valid initial ... - Pyro Discussion Forum
May 3, 2023 · Dear All, I know this must be a stupid bug, but I cannot find what triggers this issue. I have a Planck black body radiation model that should be relatively straightforward to sample. import …
Learning the sigma in SVI - Pyro Discussion Forum
Sep 26, 2024 · if y != None: with pyro.plate("data", len(y)): obs = pyro.sample("obs", dist.Normal(y_hat[:,0], sigma), obs=y) The sigma always ends up being the upper limit of the uniform …
Naming conflict when using PyroSample - Pyro Discussion Forum
Jul 14, 2023 · I’m trying to modify an existing custom PyTorch Module to be Bayesian by replacing the weights within the __init__() call with PyroSamples. However, I’m getting a naming conflict: …
Posterior predictive on a new observation in NumPyro - numpyro
Feb 19, 2024 · Hi @mathlad, this is a great question. Running predictive will give you a collection of samples (x^*,\theta) (conditioned on the data). Dropping those \theta will give you samples for x^* …
Pyro for Probabilistic Graphic Models - Pyro Discussion Forum
Jan 22, 2020 · Hi, I am New to Pyro and Probabilistic Programming Languages. I would like to know what kinds of distributions can Pyro represents. Of course, Pyro can represent the standard …
How to use `ReduceLROnPlateau` scheduler - Pyro Discussion Forum
Aug 16, 2018 · If I just use pyro.optim.Adam, svi.step works fine. I assume the “metrics” that are missing are what the scheduler uses to determine when to reduce the LR (because scheduler doesn’t have a …