Download Latest Version v6.0.0 source code.tar.gz (6.8 MB)
Email in envelope

Get an email when there's a new version of PyMC3

Home / v6.0.0
Name Modified Size InfoDownloads / Week
Parent folder
README.md 2026-05-12 5.5 kB
v6.0.0 source code.tar.gz 2026-05-12 6.8 MB
v6.0.0 source code.zip 2026-05-12 7.0 MB
Totals: 3 Items   13.8 MB 0

What's Changed

See the announcement post for an overview of what's new in PyMC 6.0.

Major Changes 🛠

  • Depend on PyTensor 3.0 major release by @ricardoV94 in https://github.com/pymc-devs/pymc/pull/8199
  • Default backend is now numba
    • set pytensor.config.linker = "cvm" to return to the old default.
  • Several imports have changed location and already deprecated functions were removed
  • Low level changes that shouldn't impact most users:
    • Autodiff L_op and R_op methods are now deprecated in favor of pull_back and push_forward
    • test_value machinery is deprecated
    • low-level random API changed
  • PyMC is now safely pip install-able
  • Make nutpie the default nuts sampler (if installed) by @ricardoV94 in https://github.com/pymc-devs/pymc/pull/8248
  • pip install pymc[nutpie] is now available
  • Use arviz 1.0 by @aloctavodia in https://github.com/pymc-devs/pymc/pull/8019
  • arviz.InferenceData replaced by xarray.DataTree
  • plot_trace replaced by plot_trace_dist (although plot_rank_dist is recommended instead)
  • default credible interval changed from 0.94 highest-density interval to 0.89 equal-tailed interval
  • InferenceData.extend replaced by DataTree.update
  • See the full migration guide for more details
  • Allow samplers to choose default number of tuning steps by @ricardoV94 in https://github.com/pymc-devs/pymc/pull/8289
  • Default pymc nuts sampler remains at 1000 tuning steps. Nutpie defaults to 400. Set tune explicitly to control it.
  • Change sample_posterior_predictive API wrt to volatility by @ricardoV94 in https://github.com/pymc-devs/pymc/pull/8209
  • Introduce sample_vars and freeze_vars argument to explicitly control which variables are resampled and which are reused from trace
  • Variables that are deemed "volatile" because they depend on data that has changed or variables being sampled will issue a warning instead of being resampled by default. Users should assign these variables to either sample_vars or freeze_vars to suppress the warning.
  • var_names has no effect on sampling semantics and only controls what variables are saved in the trace.
  • See docstrings for detailed examples.
  • Remove deprecated samples argument in sample_prior_predictive by @williambdean in https://github.com/pymc-devs/pymc/pull/8204
  • Remove experimental warning from dims module by @ricardoV94 in https://github.com/pymc-devs/pymc/pull/8137
  • Remove several functions and objects from PyMC root namespace by @ricardoV94 in https://github.com/pymc-devs/pymc/pull/6973

New Features 🎉

Bugfixes 🪲

Documentation 📖

Maintenance 🔧

New Contributors

Full Changelog: https://github.com/pymc-devs/pymc/compare/v5.28.0...v6.0.0

Source: README.md, updated 2026-05-12