pub struct VNextRuntimeComposition<R: DeviceRuntime> { /* private fields */ }Implementations§
Source§impl<R: DeviceRuntime> VNextRuntimeComposition<R>
impl<R: DeviceRuntime> VNextRuntimeComposition<R>
pub fn new( runtime: Arc<R>, registry: OperationRuntimeRegistry<R>, weight_materializers: WeightMaterializerRegistry, catalog: CapabilityCatalog, ) -> Self
pub fn runtime(&self) -> &R
pub fn catalog(&self) -> &CapabilityCatalog
pub fn weight_materializers(&self) -> &WeightMaterializerRegistry
pub fn compile_model<'a>( &'a self, prepared: &'a PreparedProductionModel, info: ModelInfo, engine_config: &EngineConfig, config: VNextExecutorConfig, materializer_selection: WeightMaterializerSelection, ) -> Result<VNextCompiledModel<'a, R>>
Auto Trait Implementations§
impl<R> !RefUnwindSafe for VNextRuntimeComposition<R>
impl<R> !UnwindSafe for VNextRuntimeComposition<R>
impl<R> Freeze for VNextRuntimeComposition<R>
impl<R> Send for VNextRuntimeComposition<R>
impl<R> Sync for VNextRuntimeComposition<R>
impl<R> Unpin for VNextRuntimeComposition<R>
impl<R> UnsafeUnpin for VNextRuntimeComposition<R>
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<T> ErasedDestructor for Twhere
T: 'static,
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> ⓘ
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