pub struct VoxtralTtsBenchReport {Show 14 fields
pub device: Device,
pub eager_lm: bool,
pub eager_acoustic: bool,
pub embed_ms: f64,
pub lm_prefill_ms: f64,
pub lm_decode_ms: f64,
pub acoustic_ms: f64,
pub codec_ms: f64,
pub synthesis_ms: f64,
pub audio_frames: usize,
pub prompt_tokens: usize,
pub pcm_samples: usize,
pub euler_steps_per_frame: usize,
pub acoustic_velocity_runs: u64,
}Expand description
Per-stage milliseconds from one super::backbone::NativeTtsEngine::synthesize_profiled run.
Fields§
§device: Device§eager_lm: bool§eager_acoustic: bool§embed_ms: f64Token + voice embedding assembly (host).
lm_prefill_ms: f64First LM forward (prompt prefill).
lm_decode_ms: f64Sum of per-frame LM decode forwards.
acoustic_ms: f64Sum of per-frame acoustic (flow-matching) work.
codec_ms: f64Codec decode of all frames.
synthesis_ms: f64lm_prefill + lm_decode + acoustic + codec (excludes embed).
audio_frames: usize§prompt_tokens: usize§pcm_samples: usize§euler_steps_per_frame: usizeFlow-matching Euler steps per frame (from model config).
acoustic_velocity_runs: u64Compiled acoustic velocity run() count (= frames × euler × 2 CFG passes).
Implementations§
Source§impl VoxtralTtsBenchReport
impl VoxtralTtsBenchReport
pub fn sample_rate_hz() -> u32
pub fn audio_duration_ms(&self) -> f64
pub fn rtf(&self) -> f64
pub fn lm_total_ms(&self) -> f64
pub fn label(&self) -> String
pub fn print_line(&self)
Trait Implementations§
Source§impl Clone for VoxtralTtsBenchReport
impl Clone for VoxtralTtsBenchReport
Source§fn clone(&self) -> VoxtralTtsBenchReport
fn clone(&self) -> VoxtralTtsBenchReport
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 moreimpl Copy for VoxtralTtsBenchReport
Auto Trait Implementations§
impl Freeze for VoxtralTtsBenchReport
impl RefUnwindSafe for VoxtralTtsBenchReport
impl Send for VoxtralTtsBenchReport
impl Sync for VoxtralTtsBenchReport
impl Unpin for VoxtralTtsBenchReport
impl UnsafeUnpin for VoxtralTtsBenchReport
impl UnwindSafe for VoxtralTtsBenchReport
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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>
Converts
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>
Converts
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