Skip to content

Releases: pyro-ppl/numpyro

0.15.0

13 May 21:04
64fcc1c
Compare
Choose a tag to compare

Breaking change: By default, Predictive will recompute the "deterministic" sites if they are provided by posterior_samples. This brings Predictive to the behavior before the 0.14.0 release. To avoid recomputing deterministic sites like in the 0.14.0 release, set Predictive(..., exclude_deterministic=False).

New modules

What's Changed

New Contributors

Full Changelog: 0.14.0...0.15.0

0.14.0

03 Mar 17:53
7769a32
Compare
Choose a tag to compare

Breaking change: Predictive will try to avoid recomputing "deterministic" sites if it is provided in posterior_samples. Those deterministic sites are excluded in the previous releases.

What's Changed

New Contributors

Full Changelog: 0.13.2...0.14.0

0.13.2

23 Sep 11:42
bcf38d7
Compare
Choose a tag to compare

A minor release to fix numpyro 0.13.1 broken on jax 0.4.14

0.13.1

22 Sep 09:57
6e3f007
Compare
Choose a tag to compare

Enhancements and Bug Fixes

0.13.0

21 Aug 14:58
d8e1156
Compare
Choose a tag to compare

Breaking changes

Drops support for python 3.8 and requires jax version >= 0.4.14

New Features

Enhancements and Bug Fixes

This release is composed of great contributions and feedback from the Pyro community. Thank you!

0.12.1

01 Jun 14:32
5291d06
Compare
Choose a tag to compare

This release includes a fix for jax 0.4.11 (#1595).

0.12.0

31 May 11:16
f981b29
Compare
Choose a tag to compare

New Features

Enhancements and Bug Fixes

  • Make transforms jittable (#1575)
  • Fixed typo in surrogate posterior of beta (#1591)
  • Do not scale mnist label (#1589)
  • Do not mutate shapes of ExpandedDistribution for map-free ops (#1574)
  • Add support for JAX custom PRNG (#1587)
  • Include deterministic variables in AutoDelta's sample_posterior (#1584)
  • Fix forward shape of SimplexToOrderTransform (#1583)
  • Fix inf's in TruncatedNormal log_prob & sample (#1581)
  • Allow users to specify total_count_max in Multinomial (#1557)
  • Allow pickled mcmc object to run post warmup phase (#1558)
  • Add init_params argument to svi.init() and svi.run() (#1561)
  • Support pickling MCMC objects with enumeration (#1577)
  • Raise error when reparameterize lognormal (#1548)
  • Avoid initializing model params when already specified in guide (#1553)
  • Respect init params if provided to mcmc.run (#1547)
  • Fix provenance for jax 0.4.4 (#1543)
  • Use analytic kl divergence in TraceEnum_ELBO (#1533)
  • Properly handle contraction of guide plates in TraceEnum_ELBO (#1537)
  • Raise an error if there is no common scale when model enumerated (#1536)
  • Optimize reduction of enumerated guide sites (#1531)
  • Guess max_plate_nesting in TraceEnum_ELBO (#1528)

0.11.0

23 Jan 04:14
c635841
Compare
Choose a tag to compare

Breaking changes

Drop Python 3.7 support and require the minimal jax version 0.4.

New Features

Enhancements and Bug Fixes

  • #1507 Made constraints robust to pickling (thanks to @pierreglaser)
  • #1515 Fixed log_prob for negative correlation in SineBivariateVonMises distribution (thanks to @OlaRonning)
  • #1509 Fixed a bug at flatten/unflatten distributions which mixed the order of arguments of the distributions (thanks to @hessammehr)
  • #1494 Fixed Mixture distribution with unnormalized logits giving incorrect log_prob
  • #1486 Returned a positive ordered vector when applies ExpTransform for an ordered vector
  • #1491 Fixed Mixture intermediate values
  • #1480 Fixed some computations in Bayesian Hierarchical Stacking tutorial (thanks to @cpieringer)
  • #1478 Added icdf methods for Beta, Gamma, StudentT
  • #1477 Allowed multiple arguments to initialize flax/haiku modules (thanks to @fehiepsi)
  • #1475 Used TFP's betainc (which supports taking gradient w.r.t. parameters) in StudentT.cdf (thanks to @colehaus)

0.10.1

05 Sep 15:20
3c199d2
Compare
Choose a tag to compare

New Features

  • #1458 New Mixture distribution to allow component distributions come from different families (thanks to @dfm)

Enhancements and Bug Fixes

  • #1469 Fix memory leak when using scan
  • #1465 Fix validation logic for transformed distribution (thanks to @xidulu)
  • #1462 Avoid infinite loop in vmapped Binomial (thanks to @tbenthompson)
  • #1449 Move contrib.render functionality to infer.inspect (thanks to @mattja)

0.10.0

04 Jul 16:11
e68455f
Compare
Choose a tag to compare

New Features

Enhancements and Bug Fixes

  • #1401 Fix obs argument is not respected when sample primitive is not executed under any handler (thanks to @gcskoenig)
  • #1412 TraceGraph_ELBO implementation using provenance tracking
  • #1418 Fix SA sampler cannot be run in parallel chains
  • #1419 Fix categorical sampler occasionally generate out-of-support samples
  • #1436 Allow to use potential_fn in BarkerMH
  • #1437 Fix for AutoMultivariateNormal.get_posterior method return incorrect distribution (thanks to @xidulu)
  • #1444 Promote shapes for observed variables inside scan's transition function
  • #1443 Consider the time dimension of markov models with history=0 as plate
  • #1441 More stable check for corr_cholesky constraint
  • #1400 Fix SineBivariateVonMises sampler