Skip to main content

Module embedding

Module embedding 

Source
Expand description

Checksum-pinned embedding-model artifact provisioning.

Quipu deliberately bundles no model weights (its onnx feature ships the runtime only), so the first hour of a box needs the artifacts fetched from somewhere — and a fetch trusted on its exit code is exactly the banner this repo exists to refuse. Every artifact is pinned by sha256 in the reviewed plan; a mismatched download is deleted, named, and fatal.

Structs§

EmbeddingModel
ModelArtifact
ProvisionedArtifact

Enums§

ArtifactOutcome

Functions§

provision
Fetch every artifact through fetch, refusing checksum mismatches. An artifact already on disk with a matching digest is a recorded no-op, so a rerun converges instead of re-downloading model weights.
sha256_file
verify
Re-hash every provisioned artifact against the plan’s pinned digest.