stilt.execution.LocalExecutor#

class stilt.execution.LocalExecutor(n_workers: 'int') 'None'[source]#

Local executor: runs simulations in-process (n=1) or across a process pool (n>1).

Uses push dispatch — pending sim IDs are distributed directly without chunk files or queue claims. The coordinator synchronizes the output index after execution.

Methods#

start(pending, *, project[, n_workers, ...])

Run pending simulations in-process or distribute across a process pool.

Attributes#

dispatch

n_workers

Return the default worker count used by this executor.