Q&A-1Define an LLM release manifest.
Answer
The 90-second answer. An LLM release manifest is an immutable, content-addressed record that pins every input capable of changing what the model outputs for a given request. A code release pins a commit; an LLM release has to pin more, because behavior is a function of weights, tokenizer, prompt template, decoding parameters, retrieval index, tool definitions, and runtime: any one of which can shift output while the model name stays the same. The manifest is what makes a response reproducible and a regression attributable. If you cannot name the manifest that produced a bad answer, you cannot roll back to the good one.
A worked example. Values below are illustrative, not defaults.
| Field | Example value | What breaks without it |
|---|---|---|
| release_id | rel-2025-03-11.2, content hash sha256:9f2c… | Cannot cite the release in a bug report or rollback |
| app | git commit 4a1e9c7, image digest sha256:… | Serving code and manifest drift apart |
| model | gpt-4o-2024-08-06: dated snapshot, not the moving alias | Provider updates the alias; outputs shift under you |
| weights | s3://…/llama-3.1-8b-instruct-fp16, sha256:… | Cannot tell which checkpoint served |
| tokenizer | revision 8ab4f8c, vocab 128256 | Token boundaries change; prompts silently truncate |
| prompt template | prompt_v7.jinja, sha256:… | Same input, different rendered prompt |
| decoding | temperature 0.2, top_p 0.95, max_tokens 512, seed 42 | Sampling is not reproducible |
| retrieval | index snapshot idx-2025-03-10, embedding bge-large-en-v1.5, chunk 512 / overlap 64 | An index built with a different embedding model returns vectors in a different space |
| tools | tool-schema hash, agent-graph version | Tool-call format changes between releases |
| runtime | vLLM 0.6.3, CUDA 12.4, region us-east-1 | Kernel and quantization differences move logits |
| eval | eval run id, 0.91 pass rate on a 240-case suite | No evidence the release is better |
| owner | @team-search, two approvals | No accountability when it breaks |
How it is used. A request arrives tagged rel-2025-03-11.2. The serving layer looks the manifest up in an immutable registry keyed by content hash, verifies the signature, then loads weights from the pinned URI, loads the pinned tokenizer revision, renders prompt_v7.jinja, applies the decoding block, queries index snapshot idx-2025-03-10, and logs the manifest hash alongside the response. Every response carries the hash that produced it. Rollback is redeploying the previous manifest ID: no code change.
Failure modes. A missing manifest means regression triage is guesswork. A stale manifest is worse than none: it claims prompt_v7 while the deployed code renders prompt_v8, so it lies. An unresolvable alias, a manifest pointing at latest, should fail closed: refuse to serve rather than serve an unknown artifact. Partial pinning is the subtle one: pin weights but not the tokenizer, and a tokenizer upgrade changes token boundaries so a prompt that fit in 4096 tokens now truncates at 3800, degrading quality with no code change and no obvious cause.
Trade-offs. Full pinning has a real cost. Change the embedding model and you must rebuild the index, hours of GPU time, and you forgo provider improvements you would otherwise get for free. A lighter alternative pins only model name plus prompt hash: cheaper, but you cannot attribute a regression to a component. Decide by the cost of a wrong answer. A customer-facing support bot pins model, prompt, index, and decoding. A research prototype may need only a model name and a prompt hash.
Curated: · Written: · Reviewed:
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.