
numpyro - Pyro Discussion Forum
Jun 3, 2019 · Forum For Pyro Developers
Help post,shape problem - Pyro Discussion Forum
Apr 25, 2025 · with pyro.plate("data", x.size(0)): pyro.sample("obs", dist.Normal(mu, sigma), obs=y.squeeze(-1),infer={"scale": annealing_factor}) #obs,真实数据+噪声
Save MCMC results - Misc. - Pyro Discussion Forum
Sep 30, 2018 · Hi - I’m contributing to a library for bayesian analysis and visualization (arviz), and we are trying to add a function to convert Pyro objects into data that can be used there. As part of that, I am …
Reducing MCMC memory usage - numpyro - Pyro Discussion Forum
Oct 15, 2023 · I am running NUTS/MCMC (on multiple CPU cores) for a quite large dataset (400k samples) for 4 chains x 2000 steps. mcmc.run actually ran until the end, but then died with an out-of …
Model low probabilities with Dirichlet - numpyro - Pyro Discussion Forum
Oct 9, 2021 · I am using dist.Dirichlet() to model probabilities but when looking at the retrodictions after fitting they are not as I expect. I suspect I am doing something fundamentally wrong. Here is a simple …
Resources to learn Pyro - Pyro Discussion Forum
Nov 5, 2020 · Beyond Pyro’s tutorials, a popular community resource for getting started with Bayesian data science is the book “Statistical Rethinking”, for which all code snippets have been ported to …
How to reduce the memory usage? - numpyro - Pyro Discussion Forum
Jan 15, 2025 · Hello, I’m having a “Memory Exhausion” issue: Is there a way to reduce the usage of memory of the algorithm? (Some sort of batch_size?) Thanks in advance
How to debug loo calculation? - Pyro Discussion Forum
Feb 22, 2023 · Hi everyone, I estimate a hierarchical model on 200 decisions from 300 subjects with 4 types of parameters (with a subject and a condition level) and everything looks great so far: I get R …
Initialize MCMC with SVI - numpyro - Pyro Discussion Forum
Dec 1, 2024 · There are a couple of similar posts here about this, more so in this thread but I don’t think I have a clear understanding of the solution / proper use of init_to_value. I aim to initialize all sites in …
Model and guide shapes disagree at site - Pyro Discussion Forum
May 1, 2019 · Model and guide shapes disagree at site ‘z_2’: torch.Size ( [2, 2]) vs torch.Size ( [2]) Anyone has the clue, why the shapes disagree at some point? Here is the z_t sample site in the …