InferCrane on top of AIBrix
AIBrix runs vLLM and SGLang on Kubernetes: its gateway picks a pod for each request, and its controllers scale replicas, load adapters, and manage the KV cache. InferCrane doesn’t replace any of that. On top of it, InferCrane can show whether a change to the stack holds before it reaches all your traffic:- a new routing strategy;
- a new autoscaling policy;
- a new engine release in the pods AIBrix runs.
Who owns what
The change you want to check
Stand up the change beside your current stack: a second AIBrix model deployment with the new routing strategy, scaling policy, or engine image, on its own GPUs. InferCrane then compares the two. Keep everything else equal: model and revision, GPU type and count, and the load you measure at.1. Observe the engine pods (untested with AIBrix)
Install the agent in the cluster (Install on your GPU cluster) and name the engine servers it should watch, one per Service:Observe an engine behind AIBrix
- Name a Service with one engine pod behind it. The control plane accepts an engine’s metrics only when the current scrape and its baseline come from one engine process; a Service that balances across several pods mixes them.
- The agent registers each server observe-only and reads its version, models, health, and engine metrics. It never sends traffic to the server unless you make it serve the endpoint.
- Pointing the agent at the AIBrix gateway instead gives health and models at most: the gateway’s own metrics are not engine metrics. Whether the gateway passes the agent’s health probe is untested.
2. Record the traffic shape (untested with AIBrix)
Import the gateway’s request log as content-free observations: start time, latency, token counts, and status, never prompt or answer text. Then capture the trace:Import request shapes and capture the trace
3. Check the answers (untested through the AIBrix gateway)
A routing or scaling change should not change answers. An engine upgrade can. Read how far the new stack’s next-token distribution moved from the current one’s on the same prompts:Compare answers between the two stacks
prompt_logprobs through is untested; if it does
not, point both sides at one engine Service each. See
divergence of a precision change.
4. Read a verdict per load (untested with AIBrix)
Measure both stacks with AIPerf at each load you care about, the current stack before and after the new one, and write the output tokens per second into a content-free screen summary. Write its two rules first: how far the current stack’s two runs may differ, and the smallest gain that counts. Then:Read the verdict
5. Roll out
Moving traffic is AIBrix’s job here. InferCrane’s guarded rollout and automatic rollback apply only to traffic InferCrane routes, so they do not cover a change AIBrix rolls out.What is tested and what is not
Next
- If you want InferCrane to run the whole check for you, use a plain vLLM or SGLang server as the measured setup: see optimization runs on an agent’s endpoint.
- For a serving graph InferCrane can deploy, see NVIDIA Dynamo.