Skip to main content

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

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 and intent planning.
  • 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.
  • 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.
  • 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.

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 and measured results.
  • 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.
  • 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 and GitHub Actions.
  • 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.
  • 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.
  • 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.
  • 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 and the 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.
  • 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

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.