oa::ml::RunState
Exact-resume training-loop position committed at a completed update boundary. epoch and loader_cursor restore the data pass through DataLoader::seek; the scaler fields restore dynamic loss scaling through GradScaler::restore_state. Schedulers are stateless step-to-rate mappings and ride on the logical optimizer step already persisted in .oam. Stochastic stream positions have their own resume contract.
Declaration
pub struct RunState { pub epoch: u64, pub loader_cursor: i64, pub scaler: Option<GradScalerState>, }Public Rust declaration.
Public Methods
Public Data Members
epochu64fieldloader_cursori64fieldscalerOption<GradScalerState>field