About 2,650 results
Open links in new tab
  1. Pyro Discussion Forum

    Aug 14, 2025 · Forum For Pyro Developers

  2. 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,真实数据+噪声

  3. 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 …

  4. 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 …

  5. 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 …

  6. Plotting trace from SVI - Misc. - Pyro Discussion Forum

    Aug 31, 2020 · To plot a trace obtained via MCMC sampling we do: import arviz as az data = az.from_pyro(mcmc) az.plot_trace(data, compact=True); where mcmc is the fitted MCMC object from …

  7. Speed up Numpyro Model - Pyro Discussion Forum

    Nov 24, 2022 · I’m seeking advice on improving runtime performance of the below numpyro model. Model Description: I have a dataset of L objects. For each object, I sample a discrete variable c and …

  8. 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 and Training on single …

  9. How to debug CUDA out of memory? - Pyro Discussion Forum

    Dec 7, 2018 · Pyro 0.3 and PyTorch 1.0 were both just released today. Can you try updating to those and see if the problem still persists?

  10. Dataloaders with numpyro SVI? - Pyro Discussion Forum

    Jan 3, 2024 · Are there any examples using standard pytorch dataloaders to train a numpyro svi model in batches? In the example below, there are roughly 2.5 svi updates per second which is much …