﻿# MLflow logged model IDs: one training run can produce several independently referenced checkpoints

Preserve MLflow logged model identity separately from source run identity, linking checkpoint-specific metrics and datasets without confusing model IDs with registry aliases.

Author: Retrivium editorial team
Updated: 2026-11-04
Canonical URL: https://retrivium.ai/journal/fg2-mlflow-logged-model-id-run-checkpoint/
Language: en

## Identify the artifact behind the reported run

A fine-tuning run records several model checkpoints, but an evaluation report retains only the run ID. The [MLflow tracking guide](https://mlflow.org/docs/latest/ml/tracking/) describes model-specific identifiers and multiple checkpoints within a run. A run-level identity can therefore be insufficient to name the exact evaluated artifact. Preserve the logged model identifier alongside the run's provenance so a later consumer can distinguish candidate checkpoints without guessing an artifact path or interpreting a display name as unique.

## Separate execution lineage from model identity

The [logged-model REST schema](https://mlflow.org/docs/latest/api_reference/rest-api.html) distinguishes a model ID, artifact location and source run identity. They answer different questions: what object was tracked, where its files reside and which execution produced it. Retain all needed relationships without treating any single string as a substitute for the others. A useful report can follow model identity to its source execution while still explaining which particular checkpoint was loaded and measured.

## Associate evidence with the evaluated checkpoint

When a run evaluates several checkpoints on several datasets, attach metrics to the intended model and data context. An arbitrary run-level best value may describe another artifact. Keep model-specific quality and resource observations together when selecting a candidate. If an evaluation fails or is incomplete, preserve that status rather than allowing a successful result from a different checkpoint to fill the gap in a summary that appears to describe one model.

## Retrieve the explicit object instead of relying on recency

The [tracking API guide](https://mlflow.org/docs/latest/ml/tracking/tracking-api/) provides retrieval by logged model ID and distinguishes it from retrieving the most recently logged model. Use the explicit identity in a reproducible comparison. Recency can change when another checkpoint is logged, retried or added by an independent worker. Registry names, versions and aliases are another lifecycle layer; record their relationship when used rather than assuming a logged model ID is itself a mutable deployment alias.

## Validate through a run with distinguishable candidates

Create a controlled example in which one run logs different checkpoints with identifiable prediction behavior. Retrieve each by its intended model identity and reconcile evaluation evidence to that artifact. The guides on [tokenizer release manifests](/journal/tokenizer-artifact-release-manifest/) and [checkpoint data replay](/journal/data-guide-mosaic-mds-shard-replay/) provide related context. Model-specific identity makes a multi-checkpoint run interpretable, but it still needs retrievable files and complete dependencies. A unique identifier explains which artifact was intended; it does not independently prove deployment readiness.
