Parallel Execution Guide¶
Coming Soon
This guide is being written. Check back soon for parallelisation strategies.
Quick Tips¶
- DiffsolBuilder: Automatically multi-threaded
- CMA-ES: Parallel population evaluation
- Dynamic Nested Sampling: Parallel live point evaluation
Controlling Threads¶
# Limit threads for ODE solving
builder = builder.with_max_threads(4)
# Population size for CMA-ES
optimiser = diffid.CMAES().with_population_size(20)