﻿# TinyTimeMixer checkpoint selection: record the resolved model key, not only the repository

Make TinyTimeMixer automatic checkpoint selection reproducible by preserving requested context, horizon, preference flags and the actual resolved model revision.

Author: Retrivium editorial team
Updated: 2026-11-04
Canonical URL: https://retrivium.ai/journal/fg2-tinytimemixer-resolved-model-key-context-horizon-selection/
Language: en

## Identify the selection problem

TinyTimeMixer releases contain configurations for different historical contexts and forecast horizons. The [model card](https://huggingface.co/ibm-granite/granite-timeseries-ttm-r2/raw/main/README.md) describes revision naming that also captures training and frequency-related choices. A generic repository identifier therefore does not uniquely explain which forecasting artifact ran. Record the resolved choice, particularly when a helper selects it from requested dimensions rather than an explicit immutable revision.

## Follow the helper's preferences

The [get_model implementation](https://raw.githubusercontent.com/ibm-granite/granite-tsfm/main/tsfm_public/toolkit/get_model.py) accepts context and prediction lengths alongside preferences such as longer context and a training-loss family. These inputs participate in selection. A change in a preference can select a different checkpoint even when the application code still displays the same repository name. Preserve the helper revision and resolved model key as well as the original request, so a future replay can distinguish selection drift from execution drift.

## Separate requested length from checkpoint configuration

A selected model may expose a native output window larger than the application needs, with filtering used for the requested prediction length. That is different from directly changing a network's trained output configuration. Inspect the returned configuration and the consumer's slicing policy. The [project overview](https://raw.githubusercontent.com/ibm-granite/granite-tsfm/main/README.md) links the supported forecasting components, but an example from one configuration should not be assumed to establish every other configuration's numerical contract.

## Keep a reproducible selection record

Store the repository, selected revision, resolved model key, native context and horizon, requested lengths and preference settings. The [artifact-manifest guide](/journal/tokenizer-artifact-release-manifest/) provides related practice. If an integration needs a stable artifact, verify that its pinned revision actually corresponds to the recorded configuration rather than relying on a mutable default branch. This record concerns model configuration and does not require saving individual inference request content.

## Test selection separately from accuracy

Use representative length requests and verify their returned artifact identities before comparing forecasts. Include a request near a supported configuration boundary. The [Moirai automatic-selection guide](/journal/fg2-moirai-auto-patch-size-historical-selection-cost/) illustrates a different selection mechanism. Successful selection means the intended pretrained artifact was resolved; it does not establish that a longer context or preferred training loss will improve every workload. Measure those outcomes on the same forecast origins after the artifact decision is explicit.
