Skip to main content

Module executors

Module executors 

Source
Expand description

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

Re-exports§

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

Modules§

pbt
Population-Based Training runner.
stream
The stream driver: chunked execution through run_node’s primitives.
study
Study runner — orchestrates hyperparameter optimization.