pub struct StreamingModelLoader { /* private fields */ }Expand description
Streaming model loader that processes models directly from online sources without requiring full download to disk
Implementations§
Source§impl StreamingModelLoader
impl StreamingModelLoader
pub fn new() -> Self
Sourcepub async fn load_and_compress_streaming(
&self,
source_url: &str,
novaq_engine: &mut NOVAQEngine,
progress_callback: impl Fn(f32, &str),
) -> Result<NOVAQModel>
pub async fn load_and_compress_streaming( &self, source_url: &str, novaq_engine: &mut NOVAQEngine, progress_callback: impl Fn(f32, &str), ) -> Result<NOVAQModel>
Load model weights with streaming compression
Trait Implementations§
Source§impl Debug for StreamingModelLoader
impl Debug for StreamingModelLoader
Auto Trait Implementations§
impl !RefUnwindSafe for StreamingModelLoader
impl !UnwindSafe for StreamingModelLoader
impl Freeze for StreamingModelLoader
impl Send for StreamingModelLoader
impl Sync for StreamingModelLoader
impl Unpin for StreamingModelLoader
impl UnsafeUnpin for StreamingModelLoader
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