Skip to content

Snapshot ingest planning

Model weights have to reach your storage before a model can serve from them. Planning decides whether an ingest is needed at all, and the plan is made in the control plane while the transfer happens on a node.

Three decisions

Decision Means
not_required This model needs no snapshot ingest
reuse A snapshot that satisfies this model already exists
ingest A snapshot must be fetched

reuse is the decision that makes repeated deployments cheap. A second model revision over the same weights reuses the snapshot rather than transferring it again.

A source family the planner does not handle is answered unsupported_source_family rather than attempted, so an unplannable model is identified before any transfer begins.

The plan is versioned and carries an evidence SLO

model.snapshot_ingest_plan.v1            the plan
model.snapshot_ingest_evidence_slo.v1    what the ingest must evidence

The SLO travels with the plan, so what counts as a successful ingest is agreed before one starts rather than judged afterwards.

Failures are classified

An ingest that does not complete reports which way it failed:

Reason Means
timeout The transfer did not complete in the time allowed
digest_mismatch What arrived does not match what was expected
partial_upload The transfer ended incomplete
retry_exhausted Attempts were used up

digest_mismatch is the one that is never retried into success. The other three describe a transfer that did not finish; a digest mismatch describes one that finished and produced the wrong bytes.

The bytes move on your side

flowchart LR
  subgraph CP["CONTROL PLANE"]
    direction TB
    PL[("Ingest plan<br/>not_required, reuse, ingest")]
    SN[("Snapshot record<br/>digest, evidence")]
  end
  SRC[("Model source")]
  subgraph YI["YOUR INFRASTRUCTURE"]
    direction TB
    N["xratud<br/>holds the source credential"]
    DST[("Your storage<br/>pvc or bucket")]
    N ==>|"write"| DST
  end
  PL -->|"ingest assignment"| N
  SRC ==>|"fetch"| N
  N -->|"digest and evidence"| SN

Both thick edges, the fetch and the write, end at the node, so the weights never pass through the control plane. reuse needs no fetch, because the snapshot record already points at weights in your storage.

The control plane plans and records; the node holds the source credential and performs the transfer. The same split as every other artifact operation. See The tenant byte rule.

Materialization has two destinations

Where a snapshot lands is a declared choice:

pvc      a persistent volume in the cluster
bucket   object storage

The destination interacts with scale to zero: a runtime that scales to zero must be able to reach its weights when it wakes, which is why the scale-down decision resolves a storage profile. See Serve runtime, scaling, and scale to zero.

Airgapped ingest has no public source

An airgapped strategy cannot fetch from a public model source, so the snapshot must already be inside the network. Planning reflects that rather than attempting a fetch that egress policy would refuse. See Airgapped execution.