Workload performance
Scores how well configurations meet each workload’s weighted latency, throughput, and cost objectives.
Tandemn is a continuously learning planner for inference fleets. It combines causal models of serving behavior, multi-objective optimization, and constrained allocation to decide how workloads should run across heterogeneous GPUs, clouds, and regions. Every deployment produces evidence that informs the next plan, helping the same infrastructure serve more useful work.
The algorithm optimizes an objective function that accounts for how well the overall deployment satisfies individual workload performance and cost objectives, the risk of violating serving requirements, the cost of reconfiguration, and the value of learning from new deployments. Workload priorities, quotas, and infrastructure constraints define the feasible solutions.
Four factors determine how Tandemn scores every potential deployment plan.
Scores how well configurations meet each workload’s weighted latency, throughput, and cost objectives.
Penalizes the estimated probability of violating a service-level objective (SLO), accounting for prediction uncertainty.
Accounts for loading, warm-up, draining, and transient disruption when changing a deployment.
Rewards informative deployments that test uncertain relationships and improve future decisions.
The inputs define the requirements, resources, and constraints from which Tandemn constructs potential deployment plans. Each plan represents a different combination of model configurations, GPU assignments, parallelism, replica counts, and placement. Because workloads share finite resources, decisions for one workload affect the options available to others. The result is an enormous number of possible fleet-wide configurations, each with different performance, cost, and risk characteristics.
The enormous number of possible plans makes exhaustive evaluation impractical. Tandemn uses its causal model of inference serving to structure and guide a search toward promising alternatives. Its directed acyclic graph (DAG) maps relationships among 146 variables, helping predict how configuration and allocation decisions affect performance and cost. Observed deployment results continuously refine these predictions, while deterministic validation ensures candidate plans satisfy infrastructure constraints. The algorithm searches for the highest-scoring feasible deployment plan.

The planner needs to know which configuration changes are worth exploring and how well their expected effects are supported. Causal confidence provides that foundation: it connects deployment decisions to measurable runtime behavior, then to serving outcomes, focusing search on relationships relevant to each workload’s targets.
For example, a change in parallelism can alter memory pressure and communication overhead, which can affect throughput and latency. The graph makes that chain of effects explicit and testable through serving telemetry. Decisions X connect to runtime behavior V and outcomes Y.
Observed deployments update each relationship’s belief with supporting or contradictory evidence. Confidence measures that support; uncertainty tracks how much remains to learn. Two relationships can have the same confidence but different amounts of evidence, so the planner uses both signals to guide proposals and identify informative deployments to test.
Tandemn’s distinctive approach combines this persistent causal evidence with language-model-guided search and deterministic evaluation. Related edges form hypotheses scoped to particular models, hardware, and workloads, allowing relevant evidence to inform future proposals. Only deployment evidence updates causal confidence; deterministic tools predict, score, and validate candidates before a fleet-wide plan is selected. Each deployment therefore informs both the next allocation and the planner’s understanding of serving behavior.
A deployment ladder specifies job i’s configurations, environments, and replica groups. Each predicted outcome is compared with the job’s reference target, then weighted by its importance to that workload.
Cost and latency are minimized; throughput and serving headroom are maximized. The reference and scale normalize these different units into comparable gaps.
The augmented Tchebycheff score prioritizes the largest weighted gap, so strength on one metric cannot mask weakness on another. The sum term distinguishes ties. A higher score means closer alignment with the workload’s objectives.
Exploration rewards testing uncertain edges and scoped mechanisms. Activation indicators count each relationship once per plan, avoiding duplicate credit when several deployments test the same hypothesis.
SLO violation risk estimates use prediction-error bands calibrated against observed residuals. The per-objective breach probabilities are combined using an independence approximation over the job’s constrained objectives.
Reconfiguration cost accounts for loading and warm-up, concurrent execution, draining and termination, and transient underperformance. Retaining the existing deployment incurs no reconfiguration cost.
A plan assigns a ladder to each active and pending job. The fleet objective weights SLO violation risk with , reconfiguration cost with , and learning value with . Learning and reconfiguration weights adapt across planning cycles.
The feasible set enforces resource capacity, physical validity, SLO violation risk, reconfiguration limits, quotas, and priorities. Search is bounded: Tandemn commits the highest-scoring feasible plan found within its budget.
Tandemn evaluates each candidate plan with a single cluster-wide score. It adds up workload performance scores, subtracts weighted penalties for SLO violation risk and reconfiguration cost, and rewards useful learning across the fleet.
The weights control the balance between SLO violation risk, reconfiguration, and exploration. Learning is rewarded once across the plan, so multiple workloads testing the same relationship do not inflate its value. Tandemn selects the highest-scoring feasible plan found within its search budget, subject to capacity, serving targets, quotas, and priorities.
Explore the mathematical formulation and planning architecture behind Tandemn. Open the full PDF here.
Evaluate your fleet.
Bring your models, serving targets, and infrastructure constraints. We’ll walk through how Tandemn’s research translates into a deployment plan for your environment.