Skip to main content

InferCrane v2.4.0

v2.4.0 adds infercrane proof compare: run InferCrane’s proof on two OpenAI-compatible endpoints you already run, on your own machine, with no account and nothing started on your GPUs. It also lets a workspace connect its own AWS account by IAM role, and fixes Optimize runs on your own RunPod account.

Install

Prove a change between two endpoints you run

  • infercrane proof compare puts your current setup and a new one (an engine flag, a newer engine, a quantized checkpoint, a checkpoint trained elsewhere) through the same paired measurement, guards and answer check an optimization run uses. It needs no control plane and no sign-in. The verdict is PASS, WATCH, BLOCK or UNKNOWN. Unknown never passes. The document lists what the proof could not control, and --key signs it. infercrane proof verify FILE checks a saved document offline. Read Endpoint proof.
  • Works with llama.cpp and Ollama. The answer check turns off hybrid reasoning with chat_template_kwargs. vLLM, SGLang and llama-server honor that setting, but Ollama’s OpenAI endpoint ignores it and answers with reasoning. When a server’s answer carries reasoning, the check now asks again with reasoning_effort: "none", which Ollama honors, and scores that answer, so both sides answer with reasoning off. Other servers never get that field. Read the built-in answer check.
  • Ready task sets. --changes-answers (other weights or precision) needs a task set. The repository now has two in examples/evaluation:
    • gsm8k-mmlu-1000.task-set.json: 500 GSM8K and 500 MMLU test items, both MIT.
    • gsm8k-mmlu-200.task-set.json: the first 200 of those items.
  • The AIPerf version message says how to fix it. Speed needs AIPerf exactly 0.12.0, and a plain pip install aiperf installs a newer one. The refusal now names the command: pip install aiperf==0.12.0.

Your own cloud accounts

  • Connect an AWS account by IAM role. You don’t need an access key. A CloudFormation template creates one role, which trusts the control plane only with your workspace’s external ID. Its permissions are limited to InferCrane-tagged instances. On connect, InferCrane checks the role, your G and P vCPU quota, and which GPU types the region offers, and lists every check that failed. Starting GPU servers in a connected AWS account is not built yet. Deployments and Optimize runs on an AWS connection are refused with compute_connection_launch_unavailable.
  • Optimize on your own RunPod account. Some RunPod keys can deploy but cannot read the price list. Approval now reads RunPod’s public list price for such a key and records where the price came from. If no price can be read, the error says the key was refused. “Improve an existing deployment” no longer fails with “could not be persisted” when the model name and the stored revision are written differently.
  • A100 and context bounds for Optimize. Optimize can plan setups on A100-40GB and A100-80GB. Each setup’s context is bounded to what fits its GPU, the same bound a plain deploy uses.

Hosted service and security

  • A sign-in that could not be checked is retried. The control plane now allows Clerk session tokens 5 seconds of clock skew. A failed identity lookup answers 503 identity_unavailable with Retry-After instead of 401, and each refusal reason is logged, at most once a minute, with no tokens.
  • Async job content is deleted when its retention ends. Past expires_at, an async job is unreadable, and an hourly sweep deletes expired jobs with their encrypted content. Data handling describes where prompts go on each path and how long they are kept.

For a self-hosted control plane

  • AWS connections need INFERCRANE_AWS_CONNECTION_PRINCIPAL_ARN and INFERCRANE_AWS_CONNECTION_TEMPLATE_URL, plus AWS credentials and a region for the AWS CLI. Without them, AWS setup answers state: unavailable and gives the reason.

Documentation

  • A vision page and a first pull request path in CONTRIBUTING.md.
  • The README opens with the local tour, which needs no account, and shows the dashboard and the CLI in motion.

Upgrade

This release adds no database migration. Back up the database before you upgrade, as for every release.

Qualification

This release passed the repository’s full local gate before tagging. The release workflow builds and scans it. Measured results for a specific model, runtime, accelerator and workload are on the evidence pages they link to, and nothing here generalises them. Read compatibility and qualification.