In this article
Sequential invocation and data dependency are separate graph choices; data selection determines whether the next step consumes the previous response or original input.
Ordered models still process the same original payload
A pipeline first normalizes an image and then calls a classifier. Its author places the steps in a Sequence node and assumes the classifier consumes the normalized result automatically. With default data selection, the next step can instead receive the node’s original input. Every service may answer successfully while the intended transformation is bypassed. Draw both the execution order and the data edges: they are separate parts of the serving graph’s meaning, even when the topology looks intuitively like a pipeline.
Sequence describes order with configurable data flow
The InferenceGraph overview explains that data: $response passes the preceding step’s response, while the default uses the original input received by the node. Set that choice where the computation requires a dependent input. Avoid assuming that the response body can be forwarded unchanged merely because the request succeeds: the downstream model must accept the actual schema produced by its predecessor as part of the intended cross-service contract.
Graph concepts distinguish routing mechanisms
The graph concepts distinguish Sequence, Switch, Ensemble and Splitter. Their names describe different routing behavior rather than interchangeable ways to list model endpoints. A graph can intentionally apply several models to the same original input, so default forwarding is not automatically a bug. The error occurs when the configured data path disagrees with the application’s declared computation. Document that computation before optimizing the number of calls or the graph’s apparent visual simplicity.
The API is the implementation contract
The control-plane API defines graph nodes and routing steps. Review the deployed specification, not only a conceptual diagram. Autograd graph edges provide useful conceptual background on why ordered operations need explicit dependencies. Explicit JSON Lines schemas add another lesson: a serialized response must match the next consumer’s field meanings. Correct routing alone cannot repair an incompatible payload contract between preprocessing and a predictor.
Use an input that exposes the chosen path
Create a controlled first step whose output is visibly distinguishable from the original input, then inspect the downstream request through the actual graph. Compare default behavior with explicit previous-response forwarding and verify final predictions. Include a deliberately incompatible predecessor output to confirm the expected failure boundary. A correct Sequence definition explains both when each step runs and which data it consumes; ordering alone is insufficient evidence that the deployed graph implements the intended dependent model computation.
Earn rental income from GPUs
Have idle GPUs or looking to fund AI infrastructure? Retrivium finds a rental platform, sets up the server and helps you assess income and costs with a pilot.