Skip to main content

resolve_runtime

Function resolve_runtime 

Source
pub fn resolve_runtime(
    paths: Paths,
    path: &Path,
    options: &mut Options,
) -> Result<ArtifactLease>
Expand description

Prepare missing variants through publication, never by mutating a leased view. Indexed models must already have a prepared base. If the options permit it, missing variants are built before returning a lease to the published store. On success, indexed loads disable later repacking and store creation in options. Legacy model/packed stores use their model root to find config and tokenizer.