1.9.0
Breaking Changes
- Drop support for PyTorch 1
- Drop support for Python 3.7
New features
- Type hints are now available in some parts of Pyro, thanks to @ordabayevy. Please let us know about any issues. We welcome help adding type hints to remaining parts of Pyro. #2550
- New tutorials using Zuko normalizing flows by @francois-rozet
- A new simple RandomWalkKernel by @martinjankowiak
- A new SimplexToOrderedTransform by @peblair
- A new simple PyTorch training example by @eb8680
Detailed Changes
- Fix GammaPoisson distribution from ignoring validate_args param by @austinv11 in #3253
- Updated docs and fixed spelling by @martinrohbeck in #3254
- fix custom_guide in intro_long.ipynb by @martinjankowiak in #3258
- use generator arg in dataloader in cevae by @martinjankowiak in #3264
- SBVM sampler fix by @deoxyribose in #3261
- Render deterministic functions by @r3v1 in #3266
- Replace lap.lapjv() with scipy.optimize.linear_sum_assignment() by @fritzo in #3267
- Fix: Wrong codomain in LeakyReLUTransform by @MeenuyD in #3270
- Drop the support for PyTorch<2.0 by @ordabayevy in #3272
- Add
param_store.py
type hints by @ordabayevy in #3271 - Address the issues in #3274 by @cyianor in #3277
- Drop Python 3.7 support by @ordabayevy in #3278
- Update link to Nolan reference of Stable distribution by @fehiepsi in #3281
- Fix
pyro.poutine.handlers
by @ordabayevy in #3283 - Add handlers explicitly by @ordabayevy in #3285
- Use
functools.wraps
to preservehandler
signature by @ordabayevy in #3287 - Type annotate
pyro.poutine.runtime
by @ordabayevy in #3288 - Type annotate
pyro.poutine.messenger
by @ordabayevy in #3290 - Type annotate
pyro.primitives
&poutine.block_messenger
by @ordabayevy in #3292 - Add os to readthedocs.yml file by @fehiepsi in #3293
- Remove python.version entry in rtd.yml file by @fehiepsi in #3294
- Type annotate broadcast, condition, do, enum messengers by @ordabayevy in #3295
- Typo in the documentation example by @pavleb in #3298
- Type annotate
Trace
,TraceMessenger
, &pyro.poutine.guide
by @ordabayevy in #3299 - Small typo in tutorial by @osorensen in #3300
- Update effect_handlers.ipynb by @djinnome in #3296
- Fix
gate
&gate_logits
inZeroInflatedDistribution
by @ordabayevy in #3303 - Type annotate poutines by @ordabayevy in #3306
- Numpy Import Convention by @RatishT in #3307
- Type annotate messengers by @ordabayevy in #3308
- Add simple RandomWalkKernel by @martinjankowiak in #3311
- Type annotate messengers by @ordabayevy in #3309
- Add tutorials using normalizing flows by @francois-rozet in #3302
- Mypy
warn_unreachable=True
by @ordabayevy in #3312 - Fix mypy and line-too-long errors by @fritzo in #3313
- Get CI working with new black, torch, pytest by @fritzo in #3318
- Annotate handlers & add py.typed by @ordabayevy in #3321
- Port implementation of SimplexToOrderedTransform from numpyro by @peblair in #3320
- Prevent observation masks improperly expanding samples in plates by @austinv11 in #3317
- Document InferDict and Message typed dicts by @fritzo in #3323
- Fix bug in CVAE example by @FDUguchunhui in #3325
- Add a simple PyTorch training example by @eb8680 in #3327
- Add .github/workflows/publish.yml to publish to pypi.org by @fritzo in #3326
- Fix interaction between PyroParam and torch.func.grad by @eb8680 in #3328
- Fix action link for publishing to PyPI by @fehiepsi in #3329
- Bump version to 1.9.0 by @fritzo in #3330
New Contributors
- @austinv11 made their first contribution in #3253
- @deoxyribose made their first contribution in #3261
- @r3v1 made their first contribution in #3266
- @MeenuyD made their first contribution in #3270
- @cyianor made their first contribution in #3277
- @pavleb made their first contribution in #3298
- @osorensen made their first contribution in #3300
- @djinnome made their first contribution in #3296
- @RatishT made their first contribution in #3307
- @peblair made their first contribution in #3320
- @FDUguchunhui made their first contribution in #3325
Full Changelog: 1.8.6...1.9.0