
Pyro Discussion Forum
Aug 19, 2025 · Forum For Pyro Developers
numpyro - Pyro Discussion Forum
Jun 3, 2019 · Forum For Pyro Developers
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 …
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,真实数据+噪声
Bayesian ResNet: Invalid log_prob shape - Pyro Discussion Forum
Jan 31, 2022 · Reading Tensor shapes in Pyro — Pyro Tutorials 1.8.4 documentation I get that the log_prob tensor should have a shape of batch_shape. So why is the expected …
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 …
Implementation & normalizing flow in matrix normal distribution
Nov 1, 2024 · Hi, I’m working on a model where the likelihood follows a matrix normal distribution, X ~ MN_{n,p} (M, U, V). I’m using conjugate priors: M ~ MN U ~ Inverse Wishart V ~ Inverse …
Moving MCMC from CPU to GPU - Pyro Discussion Forum
May 9, 2022 · Hi all, I’ve read a few posts on the forum about how to use GPU for MCMC: Transfer SVI, NUTS and MCMC to GPU (Cuda), How to move MCMC run on GPU to CPU …
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 …
Understanding chain_method - numpyro - Pyro Discussion Forum
Jun 11, 2023 · First of all, thank you for this great library! I am trying to run a model that has a computationally intensive likelihood function. That is, in the definition of my numpyro model, I …