pub struct AutoTuningUpdate {
pub health: HealthClassification,
pub recommendations: Vec<HealthRecommendation>,
pub plateau_status: PlateauStatus,
pub layer_clip_factors: HashMap<String, f32>,
pub warmup_restart: Option<f32>,
pub progress_pct: f32,
pub velocity: f32,
pub acceleration: f32,
pub gradient_entropy: f32,
pub prediction_accuracy: f32,
pub gradient_stability: f32,
pub health_score: f32,
}Expand description
Update result from the auto-tuning controller.
Contains recommended actions and state information for the training loop.
Fields§
§health: HealthClassificationOverall training health classification.
recommendations: Vec<HealthRecommendation>Recommended actions to improve training.
plateau_status: PlateauStatusPlateau detection status.
layer_clip_factors: HashMap<String, f32>Per-layer gradient clipping factors (if enabled).
Maps layer name to clipping coefficient. Coefficient of 1.0 means no clipping.
warmup_restart: Option<f32>Learning rate multiplier for warmup restart (Some(value) if restart is recommended).
progress_pct: f32Current training progress percentage (0-100).
velocity: f32Loss velocity (negative is good).
acceleration: f32Loss acceleration.
gradient_entropy: f32Gradient entropy score [0, 1].
prediction_accuracy: f32Prediction accuracy score [0, 1].
gradient_stability: f32Gradient stability score [0, 1].
health_score: f32Overall health score [0, 1].
Implementations§
Source§impl AutoTuningUpdate
impl AutoTuningUpdate
Sourcepub fn should_restart(&self) -> bool
pub fn should_restart(&self) -> bool
Returns true if a warmup restart is recommended.
Sourcepub fn is_critical(&self) -> bool
pub fn is_critical(&self) -> bool
Returns true if health is critical and requires immediate action.
Sourcepub fn has_clipping(&self) -> bool
pub fn has_clipping(&self) -> bool
Returns true if any gradient clipping is recommended.
Trait Implementations§
Source§impl Clone for AutoTuningUpdate
impl Clone for AutoTuningUpdate
Source§fn clone(&self) -> AutoTuningUpdate
fn clone(&self) -> AutoTuningUpdate
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreAuto Trait Implementations§
impl Freeze for AutoTuningUpdate
impl RefUnwindSafe for AutoTuningUpdate
impl Send for AutoTuningUpdate
impl Sync for AutoTuningUpdate
impl Unpin for AutoTuningUpdate
impl UnwindSafe for AutoTuningUpdate
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more