somatize-runtime 0.5.1

Execution engine for the Soma computational graph runtime
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//! Executors — high-level execution loops that USE a Runner.
//!
//! Each Executor defines WHAT to do (study loop, PBT evolution, streaming).
//! The Runner decides WHERE to execute (local or remote).
//!
//! - [`StudyRunner`] — hyperparameter optimization loop
//! - [`PbtRunner`] — population-based training (evolutionary)
//! - [`stream`] — the stream driver: [`StreamRun`] runs every chunk
//!   through `run_node`'s primitives; the plan executor drives it
//!   locally and the worker holds one alive between RPC messages

pub mod pbt;
pub mod stream;
pub mod study;

pub use pbt::{FnPbtExecutor, PbtConfig, PbtExecutor, PbtRunner, PopulationMember};
pub use stream::{StreamOutput, StreamRun, materialize_buffer};
pub use study::{FnTrialExecutor, StudyRunner, TrialContext, TrialExecutor, TrialOutcome};