Local executor
Documentation in local sampler docstrings.
Module executors.local_executor
Overview
An executor that runs simulation tasks sequentially on the local machine. This executor is intended for simple workflows, debugging, and environments where parallel or distributed execution is not required. Example configuration: /configs/example_local.yaml
LocalExecutor
Bases: Executor
Features
- Executes simulation tasks sequentially in the local Python process.
- Integrates with an Enchanted Surrogates sampler for parameter exploration.
- Generates a unique run directory for each sample.
- Registers completed runs directly with the sampler.
Notes
- No parallelism or distributed execution is used.
- This executor is best suited for small workloads or debugging.
- Cleanup is minimal since no external resources are allocated.