pub struct SundialModel { /* private fields */ }Expand description
Sundial reads its own architecture (layer count, flow depth, output length, sampling steps)
straight out of the GGUF metadata written at conversion time — there is no separate
InferConfig/config.json needed for inference (unlike every other model in the workspace).
SundialModelBuilder only exposes the two things a caller can actually tune at load time:
the compute device and an ODE step-count override.
Implementations§
Source§impl SundialModel
impl SundialModel
Sourcepub fn builder(gguf_path: impl Into<PathBuf>) -> SundialModelBuilder
pub fn builder(gguf_path: impl Into<PathBuf>) -> SundialModelBuilder
Start building a SundialModel — see SundialModelBuilder.
pub fn load( path: &Path, device: &Device, steps_override: Option<usize>, ) -> Result<Self>
pub fn forecast(&self, context: &[f32], device: &Device) -> Result<Vec<f32>>
Trait Implementations§
Source§impl Forecaster for SundialModel
impl Forecaster for SundialModel
Source§fn forecast(
&self,
context: &[Vec<f32>],
_mask: &[Vec<bool>],
horizon: usize,
) -> Result<QuantileMatrix>
fn forecast( &self, context: &[Vec<f32>], _mask: &[Vec<bool>], horizon: usize, ) -> Result<QuantileMatrix>
Sundial is univariate-only and point-forecast-only (flow-matching samples a single path,
not a quantile distribution) — mask is unused and the returned matrix has exactly one
row (the point forecast) and one variate.
fn load(gguf_path: &Path, _config: ()) -> Result<Self>
Auto Trait Implementations§
impl !Freeze for SundialModel
impl !RefUnwindSafe for SundialModel
impl !UnwindSafe for SundialModel
impl Send for SundialModel
impl Sync for SundialModel
impl Unpin for SundialModel
impl UnsafeUnpin for SundialModel
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
impl<T> ErasedDestructor for Twhere
T: 'static,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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