Engine catalog¶
An engine is the runtime that serves a model. Two engine types are managed by Xratu with a catalog behind them; two are not, and each has its own rule about what you may supply. This page is how an engine image is resolved and the refusals that come out of it.
Four engine types, two of them managed¶
| Engine type | Image comes from |
|---|---|
vllm |
The managed catalog, by version, or a digest-pinned image you name |
tgi |
The managed catalog, by version, or a digest-pinned image you name |
proxy |
Nothing; a proxy engine serves no image |
custom |
An image you supply |
Managed means Xratu publishes releases for it. A catalog entry names a channel and an image reference pinned by digest.
Five channels¶
direct is the channel for an image you named yourself rather than one
resolved from the catalog, which is why it appears alongside the release
channels rather than inside them.
Images are pinned by digest¶
A resolved engine image matches a digest-pinned form:
A tag alone does not satisfy it. An engine that ran last week and an engine running now are the same engine only if the digest is the same, which is what makes a model revision's runtime reproducible.
The refusals, by engine type¶
Each type refuses what does not belong to it, by name:
| Reason | Means |
|---|---|
engine_image_invalid |
The supplied image is not a usable reference |
managed_engine_version_or_image_required |
A managed engine named neither a version nor an image |
managed_engine_version_not_supported |
The named version is not in the catalog |
managed_engine_direct_image_digest_required |
A directly named managed image is not digest-pinned |
managed_engine_catalog_release_image_invalid |
The catalog release's image does not resolve |
managed_engine_catalog_release_digest_required |
The catalog release is not digest-pinned |
proxy_engine_version_not_allowed |
A proxy engine named a version |
proxy_engine_image_not_allowed |
A proxy engine named an image |
custom_engine_image_required |
A custom engine named no image |
custom_engine_version_not_allowed |
A custom engine named a version |
The proxy and custom refusals are mirror images of each other, and both are worth knowing before you meet them. A proxy engine serves nothing, so naming a version or an image for it is a declaration that cannot be honoured. A custom engine is yours, so a version means nothing and an image is required.
Resolution is a contract, not a lookup¶
flowchart LR
subgraph MG["MANAGED, vllm and tgi"]
direction TB
CAT[("Catalog releases<br/>channel, image@sha256")]
DIR["Direct image<br/>you name it, @sha256 required"]
end
subgraph UM["UNMANAGED"]
direction TB
PX["proxy<br/>no version, no image"]
CU["custom<br/>your image, no version"]
end
RES[("Resolved image contract<br/>image and reason")]
CAT -->|"by version"| RES
DIR -->|"channel direct"| RES
PX -->|"no image"| RES
CU --> RES
An image reaches the contract from one of four places, and the engine type
decides which ones are open. Supplying a value through a closed one is the
refusal: a version for custom, an image for proxy, an unpinned image for a
managed engine.
The result is a contract carrying the resolved image and the reason, where ok
is the reason for success. A caller therefore reads one field to know whether
resolution succeeded and the same field to know why it did not.
Listing what is available¶
Managed engine versions are listable per engine type, with their channels, so a
deployment can be pinned to a known release rather than to whatever latest
resolves to at the time.
See Runtime image authority for how a resolved engine image competes with a build artifact for authority over what actually runs.