> ## Documentation Index
> Fetch the complete documentation index at: https://docs.infercrane.com/llms.txt
> Use this file to discover all available pages before exploring further.

# InferCrane v2.2.0

> Start from your workload with infercrane start, evals from your own traffic, upgrade Proofs, an open model as a migration baseline, and a Proof Report that carries every disclosure.

# InferCrane v2.2.0

`v2.2.0` adds day 0: describe your workload and budget, and `infercrane start` gives you a starting
setup with the source of every number. It also adds eval sets built from your own traffic, Proofs
for engine upgrades and model changes, and an open model you already serve as the baseline of a
migration Proof.

## Install

```bash theme={"theme":"css-variables"}
brew upgrade infercrane
python3 -m venv .venv
.venv/bin/python -m pip install 'infercrane==2.2.0'
npm install '@infercrane/sdk@2.2.0'
docker pull ghcr.io/infercrane/infercrane:v2.2.0
```

Install the Python SDK into a virtual environment, as above: macOS has no `python` command, and
Homebrew's `python3` refuses `pip install` outside one.

## What changed

### Start: run an open model in your own cloud

* **Start from your workload.** `infercrane start` and `POST /api/v1/planning/intents` take your
  traffic (kind, peak, prompt and answer lengths), a latency target, a monthly budget, the closed
  model you use today, and your cloud. The answer is one suggested setup and up to two
  alternatives: a pinned open model, a GPU, the replicas, and the vLLM 0.34.0 command, with every
  change from the publisher's command written out. Each number names its source (a public receipt,
  the publisher's documented command, a provider's listed price, or InferCrane's model check), or
  reads `unknown` with the reason. Latency and the cost per million output tokens on your GPUs stay
  `unknown` until the Proof measures them. `--spec FILE` writes the suggested setup as a
  DeploymentSpec for `infercrane deploy`. Read [Start from your workload](https://docs.infercrane.com/start.md) and
  [intent planning](https://docs.infercrane.com/features/intent-planning#start-from-a-workload).
* **The model you name is the model you get.** A model named only in the request's `intent` gets
  its own starting setups, or an answer that says it has none, never another model's setup.
* **Every default is named.** The answer lists each default that shaped it as the flag that sets
  it, with the value used, the cloud included: with no `--cloud`, each setup goes to the compatible
  cloud with the lowest current listed hourly price for its GPU, so alternatives can sit on
  different clouds and a price refresh can change the choice (`defaults_applied` lists `provider`).
  Money is written one way, such as `$1,500.00`, in the CLI and the API alike.
* **First commands.** `infercrane models` browses the built-in catalog before you sign in.
  `infercrane deployments list` works like `infercrane endpoints list`, before or after its flags.
  `start --help` names its numeric flags as numbers, and `deploy --help` lists `--max-model-len`.
  Read the [CLI reference](https://docs.infercrane.com/cli.md).
* **Context fitted to the GPU.** A reviewed model now carries the sizes the memory estimate needs,
  read from its `config.json` at the pinned commit, so a deploy on a smaller GPU gets a context
  length that fits (for example `--max-model-len 8192`) and the answer says so. The estimate uses
  the memory the GPU's driver reports. `infercrane deploy --max-model-len N` sets it yourself.
* **Delete after a deploy that never finished.** Delete cancels an open deploy that no worker
  holds, and then proceeds.
* **Kubernetes tolerations.** Model servers and the agent's test setups can tolerate tainted GPU
  nodes, with an optional, bounded list (`infercrane agent --tolerations`, the agent chart, and the
  Kubernetes provider). Read [Kubernetes](https://docs.infercrane.com/integrations/kubernetes.md).
* **One qualified cluster install.** The customer install ran end to end on Amazon EKS with one
  NVIDIA A10G. The record names exactly that tuple; every other GPU keeps its earlier qualification.
  Read [what is supported](https://docs.infercrane.com/supported.md).

### Optimize: serve it with less compute

* **Measured results order the plan, never past it.** Measured results can reorder the setups a run
  measures, but cannot put a setup the run never measures first. A plan that measured results
  changed names the results it read (`diagnosis.prior`), so it can be traced. Read
  [setups from measured results](https://docs.infercrane.com/features/optimization.md) and [measured results](https://docs.infercrane.com/features/results-store.md).
* **Dynamo setups only where Dynamo runs.** A Dynamo setup is offered only when the control plane
  runs Dynamo for that runtime, or the request names the adapter; otherwise the proposal says which
  setups were left out and why.
* **Agent runs start what they name.** A run on an agent's endpoint refuses, before any GPU starts,
  a setup the agent cannot start as a plain server.
* **A timeline capture needs its load.** The opt-in serving timeline capture fails when its load
  ends before the capture window closes, instead of reporting a timeline captured under load with
  no requests in flight.

### Prove: show a change holds before it ships

* **Every disclosure in the Proof Report.** A technique's claim carries the disclosures its
  technique requires, word for word, inside the signed digest, and reads "not shown" when one is
  missing. The report algorithm is `proof-report-v2`. Read [the Proof Report](https://docs.infercrane.com/features/proof-report.md).
* **Agent guard decisions belong to their own measurement.** Release Guard's decision on a setup an
  agent measured is stored only for that setup and measurement, and a refused record fails the
  setup once instead of retrying.
* **Managed compute's rate is not shown.** On a control plane that sells managed compute, reports,
  the Proof Report and benchmarks show "priced at InferCrane's rate, not shown" instead of a price;
  every decision is unchanged. A self-hosted control plane is not affected.
* **Graded rows say passed only for a PASS.** A migration's graded evidence (evaluator version 3)
  reads `passed` only when its verdict is PASS. Release Guard reads a graded row that did not pass,
  or one from an earlier evaluator version, as unknown with its own reason, never as a failed
  evaluation.
* **Unknown says not known.** The `unknown` outcome's wordings in reports say the result is not
  known, never that it failed or held.
* **Wording.** Product text, the API contract and reports say that each setup runs on its own
  server, in the same time window.

### Operate: change it safely

* **Upgrade Proofs.** `infercrane optimize upgrade CURRENT.yaml --engine-version VERSION` proves a
  new engine release on your own setup before it ships; `--model OWNER/NAME@COMMIT` proves another
  model on a graded task set of at least 100 items. Both use the optimization run's judge. With
  `--endpoint`, the run measures your agent-served endpoint's own servers. The GitHub Action gains
  `proof: upgrade`. Read [upgrade Proofs](https://docs.infercrane.com/features/upgrade-proof.md) and
  [GitHub Actions](https://docs.infercrane.com/integrations/github-actions.md).
* **Change report.** `infercrane report changes` and `GET /api/v1/changes` list every change
  InferCrane tried on your models in a time window (the last 24 hours by default), each as kept,
  rolling out, proven but not rolled out, refused, or not known, with its recorded reason and the
  records that hold its evidence. Setups still being measured are listed apart. Read
  [the change report](https://docs.infercrane.com/features/change-report.md).
* **A superseded PASS moves no traffic.** A PASS that a later BLOCK or UNKNOWN for the same run and
  revision supersedes no longer lets a migration step to the new model: canary, primary, finish
  and abandon to the new model are refused with `migration_verdict_superseded`, naming the verdict,
  and the refusal is recorded. Rolling back is never refused. Read [migration](https://docs.infercrane.com/features/migration.md).
* **A migration step names the stage it was decided from.** `POST /api/v1/endpoints/{name}/migration`
  takes an optional `expected_plan_id`, the serving plan the caller saw. If the endpoint serves
  another plan, the step is refused with 409 `migration_plan_changed`; the same stage reached again
  keeps its plan id. An abandon from primary that would commit to the new model is refused with
  409 `migration_abandon_would_commit` and changes nothing. A run's `migration` says its baseline
  kind (`baseline_kind`: `closed_api`, `deployment`, or `unknown` for a run that an earlier control
  plane created). Read [migration](https://docs.infercrane.com/features/migration.md).
* **The agent says why it skips a server.** A server that fails the agent's health probe is logged
  once per change, with the probe path and the reason, never a header value.
* **Commands are handed back at once.** When an agent's long poll disconnects, its leased commands
  go to the next poll instead of waiting for the lease to expire.

### Own: keep the model, data and evals yours

* **Evals from your own traffic.** `infercrane evaluation set build` turns requests you already
  serve, plus answers you graded, into a held-out task set on your own machine; it reads only local
  files. `infercrane data` lists, inspects and deletes the manifests in the Data registry. Every
  Proof's answer check can grade by that set. Read
  [evals from your traffic](https://docs.infercrane.com/features/evals-from-your-traffic.md) and
  [the data area](https://docs.infercrane.com/architecture/data-area).
* **An open model as the migration baseline.** A migration Proof can start from an open model the
  endpoint already serves, not only a closed API, so a smaller model can be checked against the
  current one on your graded set before any traffic moves. Read [migration](https://docs.infercrane.com/features/migration.md).
* **The graded check asks in batches.** A migration's graded check asks each side 32 items at a
  time (a closed API 8 at a time, with retries on a rate limit), within the task-set time limit.
* **Quality follows the verdict.** A migration setup's quality step reads its recorded verdict:
  `passed` for PASS, `blocked` for BLOCK, and `inconclusive` for UNKNOWN.

### Contributing

* **`make dev-check-full` cleans up after itself.** Each run removes the containers, volumes,
  networks and images it created when it ends, on success, failure or interrupt, keeps pulled images
  and the build cache, and fails if anything named after the run is left. `make test-store-local`
  runs the store tests on a throwaway PostgreSQL that it removes with its volume. See
  `CONTRIBUTING.md`.

### Documentation

* The README and the docs landing open with the five jobs, and each result links to its receipt.
* New pages: [a four-week proof on your GPUs](https://docs.infercrane.com/runbooks/design-partner-proof.md),
  [what is supported](https://docs.infercrane.com/supported.md), [run with no outside connection](https://docs.infercrane.com/offline.md), and the serving
  stacks [AIBrix](https://docs.infercrane.com/integrations/aibrix.md), [llm-d](https://docs.infercrane.com/integrations/llm-d.md) and
  [Dynamo](https://docs.infercrane.com/integrations/dynamo.md).
* Issue forms for qualification reports, integration requests and documentation problems.

## Upgrade

The control plane runs two new forward-only database migrations on start: `099_datasets` (the Data
registry) and `100_campaign_migration_baseline_kind` (one nullable column on optimization runs).
Back up the database before you upgrade, as for every release.

## Qualification

This release passed the repository's full local gate before tagging, and is built and scanned by
the release workflow. Measured results for a specific model, runtime, accelerator and workload are
on the evidence pages they link to; nothing here generalises them. Review
[compatibility and qualification](https://docs.infercrane.com/compatibility.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.