undark-lab / swyft

A system for scientific simulation-based inference at scale.
Other
154 stars 13 forks source link

Fix Dask simulator performance issue #99

Closed fnattino closed 2 years ago

fnattino commented 2 years ago

This PR fixes a performance issue with the DaskSimulator. The Dask task graph optimization was too "aggressive", resulting in certain tasks (and thus, the underlying model simulations) being run twice, with negative effects on the performance.

fnattino commented 2 years ago

This addresses in part #97