Skip to content

0.3.0

Compare
Choose a tag to compare
@fehiepsi fehiepsi released this 27 Jul 17:39
· 622 commits to master since this release
e1433ff

Breaking Changes

  • HMC's find_heuristic_step_size (this functionality is different from step size adaptation scheme) is disabled by default to improve compiling time. Previous behavior can be enabled by setting find_heuristic_step_size=True.
  • The automatic reparameterization mechanism introduced in NumPyro 0.2 is removed, in favor of reparam handler. See the eight schools example for the new usage pattern.
  • Automatic Guide Generation module is moved from numpyro.contrib.autoguide to the main inference module numpyro.infer.autoguide.
  • Various API changes to match Pyro API:

New Features

New Examples

Enhancements and Bug Fixes

  • HMC/NUTS compiling time is greatly improved, especially for large models.
  • More efficient BTRS algorithm for sampling from Binomial distribution. #537
  • Allow arbitrary order of plate statements. #555
  • Fix KeyError with scale handler and deterministic primitive. #577
  • Fix Poisson sampler entering into infinite loop under vmap. #582
  • Fix the double compilation issue in numpyro.optim classes. #603
  • Use ExpandedDistribution in numpyro.plate. #616
  • Timeseries forecasting tutorial is updated with scan primitive and the usage of Predictive for forecasting. #608 #657
  • Tweak sparse regression example to bring the model into exact alignment with the reference. #669
  • Add MetropolisHastings algorithm as an example of MCMCKernel. #680

Thanks Nikolaos @daydreamt, Daniel Sheldon @dsheldon, Lukas Prediger @lumip, Freddy Boulton @freddyaboulton, Wouter van Amsterdam @vanAmsterdam, and many others for their contributions and helpful feedback!