﻿# Kedro load versions: latest per dataset does not define a coherent multi-artifact model release

Pin Kedro model, tokenizer and evaluation-input versions as an explicit compatible set instead of assuming independently latest versioned datasets belong to the same release.

Author: Retrivium editorial team
Updated: 2026-11-04
Canonical URL: https://retrivium.ai/journal/fg2-kedro-load-versions-multi-artifact-snapshot/
Language: en

## Identify the set of artifacts the evaluator needs

An evaluation pipeline loads a versioned model, tokenizer configuration and label mapping from the catalog. Each dataset has a latest available version, but they were not necessarily published together. The [catalog configuration guide](https://docs.kedro.org/en/stable/catalog-data/how_to_configure_the_data_catalog/) describes versioned storage and explicit load selection. Selecting a valid version for every entry establishes availability. It does not by itself establish that the selected set has the vocabulary, architecture and output interpretation expected by this evaluator.

## Separate load selection from output version creation

The [DataCatalog API](https://docs.kedro.org/en/stable/api/io/kedro.io.DataCatalog/) distinguishes per-dataset load_versions from the save version used for versioned outputs. A current run can consume older approved inputs while producing a new result version. Those roles should remain separate in the execution record. Avoid interpreting a new output timestamp as evidence that every input was advanced to a matching version, or that a common-looking timestamp alone defines the logical compatibility of files produced by independent workflows.

## Preserve a compatible input bundle explicitly

Use a release manifest or equivalent recorded mapping for the artifact set intended to work together. It can identify model weights, tokenizer, configuration, label vocabulary and relevant preprocessing dependencies. Some entries may deliberately remain at an earlier version. The important property is an explicit compatible relationship, not matching decorative names. Preserve resolved input versions alongside the evaluation result so another worker can request the same set without depending on which candidate happens to be latest when it starts.

## Interpret dataset-level versioning at its own boundary

The [AbstractVersionedDataset reference](https://docs.kedro.org/en/stable/api/io/kedro.io.AbstractVersionedDataset/) defines versioned access behavior for participating dataset implementations. Enabling that mechanism is not an automatic transactional publication of every dataset in a project. Also verify that each required entry actually supports the intended versioning contract. An unversioned auxiliary file can remain a moving dependency even when the model entry is pinned precisely, leaving an apparently reproducible evaluation sensitive to changes outside the recorded model version.

## Test a deliberately mismatched bundle

Use small recognizable compatible artifacts and then substitute an incompatible mapping or configuration in a controlled fixture. Verify that the manifest selects the intended set and the evaluator checks the relevant relationship. Related guides explain [artifact release manifests](/journal/tokenizer-artifact-release-manifest/) and [label taxonomy mappings](/journal/data-guide-label-taxonomy-version-mapping/). The test establishes a coherent release boundary across catalog entries. It is stronger than confirming that every individually selected file exists, while remaining distinct from a claim that the model's evaluation quality is sufficient for every downstream task.
