Skip to content

Commit

Permalink
Merge pull request #416 from joshspeagle/batch_performance_fix
Browse files Browse the repository at this point in the history
Fixing batch sampling performance issue
  • Loading branch information
segasai authored Dec 1, 2022
2 parents e288c2e + 17930b8 commit a24b5c3
Show file tree
Hide file tree
Showing 11 changed files with 588 additions and 304 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,14 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
### Changed
### Fixed

## [2.0.3] - 2022-12-2
A release with major performance bug fix for the dynamical sampler
### Added
### Changed
### Fixed
- A major performance regression has been discovered that lead to dynamic nested sampling batches becoming slower and slower. The regression was introduced in 1.2 and can easily lead to a factor of several slower performance if a large number of batches is used. (#415 ; discovery and fix by @segasai)
- Some small fixes related to resuming of runs

## [2.0.2] - 2022-11-27
### Added
### Changed
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,4 @@ If you want to report issues, or have questions, please do that on [github](http

### Contributing

Patches/contributions are welcome! Please see [CONTRIBUTING.md](CONTRIBUTING.md) for more details.
Patches/contributions are welcome! Please see [CONTRIBUTING.md](https://github.com/joshspeagle/dynesty/blob/master/CONTRIBUTING.md) for more details.
8 changes: 8 additions & 0 deletions docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,14 @@ Changelog
.. image:: ../images/logo.gif
:align: center

2.0.3 (2022-12-2)
--------------------
A release with major performance bug fix for the dynamical sampler.

- A major performance regression has been discovered that lead to dynamic nested sampling batches becoming slower and slower. The regression was introduced in 1.2 and can easily lead to a factor of several slower performance if a large number of batches is used. (#415 ; discovery and fix by @segasai)
- Some small fixes related to resuming of runs


2.0.2 (2022-11-27)
------------------
Minor bug fix release
Expand Down
2 changes: 1 addition & 1 deletion py/dynesty/_version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "2.0.2"
__version__ = "2.0.3"
Loading

0 comments on commit a24b5c3

Please sign in to comment.