Skip to content

Commit 17309e4

Browse files
committed
Merge remote-tracking branch 'upstream/master'
2 parents 11d057e + 9e8975f commit 17309e4

14 files changed

+1155
-596
lines changed

RELEASE-NOTES.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,18 @@
11
# Release Notes
22

33
## PyMC3 3.9.x (on deck)
4+
5+
### Maintenance
6+
- Fix an error on Windows and Mac where error message from unpickling models did not show up in the notebook, or where sampling froze when a worker process crashed (see [#3991](https://github.com/pymc-devs/pymc3/pull/3991)).
7+
48
### Documentation
59
- Notebook on [multilevel modeling](https://docs.pymc.io/notebooks/multilevel_modeling.html) has been rewritten to showcase ArviZ and xarray usage for inference result analysis (see [#3963](https://github.com/pymc-devs/pymc3/pull/3963))
610

711
### New features
12+
- Introduce optional arguments to `pm.sample`: `mp_ctx` to control how the processes for parallel sampling are started, and `pickle_backend` to specify which library is used to pickle models in parallel sampling when the multiprocessing cnotext is not of type `fork`. (see [#3991](https://github.com/pymc-devs/pymc3/pull/3991))
813
- Add sampler stats `process_time_diff`, `perf_counter_diff` and `perf_counter_start`, that record wall and CPU times for each NUTS and HMC sample (see [ #3986](https://github.com/pymc-devs/pymc3/pull/3986)).
14+
- Extend `keep_size` argument handling for `sample_posterior_predictive` and `fast_sample_posterior_predictive`, to work on arviz InferenceData and xarray Dataset input values. (see [PR #4006](https://github.com/pymc-devs/pymc3/pull/4006) and [Issue #4004](https://github.com/pymc-devs/pymc3/issues/4004).
15+
- SMC-ABC: add the wasserstein and energy distance functions. Refactor API, the distance, sum_stats and epsilon arguments are now passed `pm.Simulator` instead of `pm.sample_smc`. Add random method to `pm.Simulator`. Add option to save the simulated data. Improves LaTeX representation [#3996](https://github.com/pymc-devs/pymc3/pull/3996)
916

1017
## PyMC3 3.9.2 (24 June 2020)
1118
### Maintenance

docs/source/notebooks/SMC-ABC_Lotka-Volterra_example.ipynb

Lines changed: 138 additions & 201 deletions
Large diffs are not rendered by default.

pymc3/__init__.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,6 @@
2727
handler = logging.StreamHandler()
2828
_log.addHandler(handler)
2929

30-
# Set start method to forkserver for MacOS to enable multiprocessing
31-
# Closes issue https://github.com/pymc-devs/pymc3/issues/3849
32-
sys = platform.system()
33-
if sys == "Darwin":
34-
new_context = mp.get_context("forkserver")
35-
3630

3731
def __set_compiler_flags():
3832
# Workarounds for Theano compiler problems on various platforms

0 commit comments

Comments
 (0)