Skip to main content

Module pinned_model

Module pinned_model 

Source
Expand description

Local admission and owned artifact acquisition for an exact commit model.

Structs§

StagingPinnedArtifactCache
Reuse one immutable staging projection across tenant-specific Inference instances. The weak cache does not keep disk reservations alive by itself; the serving instances own strong references for as long as they need the verified file descriptors.

Enums§

PinnedModelArtifact
Retain the selected commit’s verified inputs through every loader read. Only the fixed staging profile needs the disk-backed, capacity-limited path.

Functions§

acquire_pinned_model
Admit only the selected, clean checkout of commit, then capture the requested Git tree independently of worktree bytes. The second checkout observation enforces the dirty policy during acquisition; the Git object capture and private disk projection, not these observations, prove loader bytes.
acquire_pinned_model_bounded
Bounded single-slot projection lease for the staging admission profile.
verify_selected_checkout