struct Run<'a> {
binary: &'a Path,
model: &'a Model,
out: &'a Path,
options: &'a Options,
max_ctx: usize,
memory_gb: f64,
}Fields§
§binary: &'a Path§model: &'a Model§out: &'a Path§options: &'a Options§max_ctx: usize§memory_gb: f64Physical memory in decimal GB; Metal allocations beyond it are an error.
Implementations§
Source§impl Run<'_>
impl Run<'_>
fn sample( &self, config: &Configuration, case: &Case, round: usize, ) -> Result<Value>
fn new_report( &self, signature: Value, configs: &[Configuration], cases: &[Case], ) -> Result<Value>
fn prepare_report( &self, signature: Value, configs: &[Configuration], cases: &[Case], ) -> Result<Value>
Auto Trait Implementations§
impl<'a> Freeze for Run<'a>
impl<'a> RefUnwindSafe for Run<'a>
impl<'a> Send for Run<'a>
impl<'a> Sync for Run<'a>
impl<'a> Unpin for Run<'a>
impl<'a> UnsafeUnpin for Run<'a>
impl<'a> UnwindSafe for Run<'a>
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