In this article
A selected subgraph has its own free inputs; make their stored identity and compatibility explicit before evaluating the slice.
Reusing expensive preprocessing
A document evaluation pipeline prepares text, computes embeddings and scores retrieval. Only the scoring rule changes. Running the scorer alone seems attractive because model inference was expensive, but the selected scorer still needs embeddings, document identifiers and a reference set. Those values must come from somewhere after their producer nodes are omitted.
Write down the intended reuse boundary before choosing a command. Reuse is meaningful when the stored artifacts correspond to the evaluation population, rather than merely being files that happen to exist from a previous experiment.
Selection does not imply every dependency is scheduled
The pipeline slicing guide distinguishes selecting named nodes from selecting downstream or upstream portions. These operations do not express the same subgraph. A node-only selection requires its inputs to be already available; choosing a starting node can include downstream consumers without restoring omitted upstream producers.
Inspect the resulting pipeline description rather than inferring its membership from the option’s name. For this example, the expensive encoder should be absent deliberately, while the scorer’s other inputs remain part of the access contract.
Inspect the free input set
The Pipeline API exposes inputs that are not produced by the selected graph. That set can change after slicing even though node functions themselves remain unchanged. An intermediate value in the full graph can become an external input of the slice.
Use that list to check document ordering, embedding schema and reference labels. Distributed shard overlap illustrates why matching row counts alone does not prove matching examples. A stale embedding table can still have a perfectly plausible shape.
Match catalog lifetime to artifact reuse
The DataCatalog API supplies the loading interface, but the dataset implementation determines whether a value survives the earlier run. An in-memory intermediate should not be presumed available in a new process. Persist reusable values intentionally and bind them to the expected producer configuration.
A successful load also needs semantic interpretation. Model identity, normalization and document preprocessing can affect stored embeddings without changing their dimensions. Preserve those relationships alongside the reused artifact.
Review the slice as a new experiment
Record the selected nodes and all newly external inputs together with the changed scoring rule. This makes the resulting metric attributable to a specific reuse decision instead of an unspecified previous run.
For a release review, connect the model and preprocessing references through an artifact manifest. The slice then answers a narrow experimental question: what changed when the scorer changed while the declared upstream artifacts remained fixed?
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.