pub struct TuneCandidateResult {
pub config: InferenceConfig,
pub source: CandidateSource,
pub task_results: Vec<TuneTaskResult>,
pub composite_score: f64,
pub pruned: bool,
pub tg_tps: Option<f64>,
}Expand description
Result of evaluating one candidate’s sampling settings against the full (or pre-screen) task suite.
Fields§
§config: InferenceConfigThe candidate’s resolved sampling settings.
source: CandidateSourceWhere this candidate’s settings came from.
task_results: Vec<TuneTaskResult>Per-task results for this candidate.
composite_score: f64Weighted composite score (see super::config::ScoreWeights).
pruned: booltrue if this candidate was dropped after the pre-screen round and
never ran the full suite (task_results only covers the pre-screen
tasks in that case).
tg_tps: Option<f64>Token-generation throughput observed for this candidate, if
measured (used to normalize the speed scoring component).
Trait Implementations§
Source§impl Clone for TuneCandidateResult
impl Clone for TuneCandidateResult
Source§fn clone(&self) -> TuneCandidateResult
fn clone(&self) -> TuneCandidateResult
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TuneCandidateResult
impl Debug for TuneCandidateResult
Source§impl<'de> Deserialize<'de> for TuneCandidateResult
impl<'de> Deserialize<'de> for TuneCandidateResult
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for TuneCandidateResult
impl RefUnwindSafe for TuneCandidateResult
impl Send for TuneCandidateResult
impl Sync for TuneCandidateResult
impl Unpin for TuneCandidateResult
impl UnsafeUnpin for TuneCandidateResult
impl UnwindSafe for TuneCandidateResult
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
Mutably borrows from an owned value. Read more