SAVRN
Search Contact SAVRN

Open-weight model · Time series forecasting

granite-timeseries-ttm-r1

by IBM Granite ibm-granite/granite-timeseries-ttm-r1

TinyTimeMixers (TTMs) are compact pre-trained models for Multivariate Time-Series Forecasting, open-sourced by IBM Research.

Parameters805,280
Context
Weights3.2 MB
Licenseapache-2.0
AccessOpen weights
Monthly Downloads25.2k

Runs On

What it takes to serve granite-timeseries-ttm-r1 (805,280 parameters): the memory its weights need at each precision, and the cheapest way to rent enough data-center GPUs to hold them.

PrecisionWeightsMemory neededCheapest setupPer hourAlso fits
16-bit 0.0 GB 0.0 GB 1x MI300X (192 GB)
Vultr
$1.85 1x H100 $1.99 · 1x MI325X $2.00
8-bit 0.0 GB 0.0 GB 1x MI300X (192 GB)
Vultr
$1.85 1x H100 $1.99 · 1x MI325X $2.00
4-bit 0.0 GB 0.0 GB 1x MI300X (192 GB)
Vultr
$1.85 1x H100 $1.99 · 1x MI325X $2.00

Memory is the weights at that precision plus 20% for the runtime and a short context; a long context needs more. Prices are the lowest on-demand hourly rates in the SAVRN Index, read Sep 18, 2026.

Model Card

By IBM Granite, published under apache-2.0, revision f04bebdd4c13.

TinyTimeMixers (TTMs) are compact pre-trained models for Multivariate Time-Series Forecasting, open-sourced by IBM Research. With less than 1 Million parameters, TTM (accepted in NeurIPS 24) introduces the notion of the first-ever “tiny” pre-trained models for Time-Series Forecasting. TTM outperforms several popular benchmarks demanding billions of parameters in zero-shot and few-shot forecasting. TTMs are lightweight forecasters, pre-trained on publicly available time series data with various augmentations. TTM provides state-of-the-art zero-shot forecasts and can easily be fine-tuned for multi-variate forecasts with just 5% of the training data to be competitive. Refer to our paper for…

Read IBM Granite's full model card

Granite-TimeSeries-TTM-R1 Model Card

TinyTimeMixers (TTMs) are compact pre-trained models for Multivariate Time-Series Forecasting, open-sourced by IBM Research. With less than 1 Million parameters, TTM (accepted in NeurIPS 24) introduces the notion of the first-ever “tiny” pre-trained models for Time-Series Forecasting.

TTM outperforms several popular benchmarks demanding billions of parameters in zero-shot and few-shot forecasting. TTMs are lightweight forecasters, pre-trained on publicly available time series data with various augmentations. TTM provides state-of-the-art zero-shot forecasts and can easily be fine-tuned for multi-variate forecasts with just 5% of the training data to be competitive. Refer to our paper for more details.

The current open-source version supports point forecasting use-cases specifically ranging from minutely to hourly resolutions (Ex. 10 min, 15 min, 1 hour.).

Note that zeroshot, fine-tuning and inference tasks using TTM can easily be executed in 1 GPU machine or in laptops too!!

New updates: TTM-R1 comprises TTM variants pre-trained on 250M public training samples. We have another set of TTM models released recently under TTM-R2 trained on a much larger pretraining dataset (~700M samples) which can be accessed from here. In general, TTM-R2 models perform better than TTM-R1 models as they are trained on larger pretraining dataset. However, the choice of R1 vs R2 depends on your target data distribution. Hence requesting users to try both R1 and R2 variants and pick the best for your data.

Model Description

TTM falls under the category of “focused pre-trained models”, wherein each pre-trained TTM is tailored for a particular forecasting setting (governed by the context length and forecast length). Instead of building one massive model supporting all forecasting settings, we opt for the approach of constructing smaller pre-trained models, each focusing on a specific forecasting setting, thereby yielding more accurate results. Furthermore, this approach ensures that our models remain extremely small and exceptionally fast, facilitating easy deployment without demanding a ton of resources.

Hence, in this model card, we plan to release several pre-trained TTMs that can cater to many common forecasting settings in practice. Additionally, we have released our source code along with our pretraining scripts that users can utilize to pretrain models on their own. Pretraining TTMs is very easy and fast, taking only 3-6 hours using 6 A100 GPUs, as opposed to several days or weeks in traditional approaches.

Each pre-trained model will be released in a different branch name in this model card. Kindly access the required model using our getting started notebook mentioning the branch name.

Model Releases (along with the branch name where the models are stored):

  • 512-96: Given the last 512 time-points (i.e. context length), this model can forecast up to next 96 time-points (i.e. forecast length) in future. This model is targeted towards a forecasting setting of context length 512 and forecast length 96 and recommended for hourly and minutely resolutions (Ex. 10 min, 15 min, 1 hour, etc). This model refers to the TTM-Q variant used in the paper. (branch name: main) [Benchmark Scripts]

  • 1024-96: Given the last 1024 time-points (i.e. context length), this model can forecast up to next 96 time-points (i.e. forecast length) in future. This model is targeted towards a long forecasting setting of context length 1024 and forecast length 96 and recommended for hourly and minutely resolutions (Ex. 10 min, 15 min, 1 hour, etc). (branch name: 1024-96-v1) [Benchmark Scripts]

We can also use the [get_model] utility to automatically select the required model based on your input context length and forecast length requirement. For more variants (till forecast length 720), refer to our new model card here

Model Capabilities with example scripts

The below model scripts can be used for any of the above TTM models. Please update the HF model URL and branch name in the from_pretrained call appropriately to pick the model of your choice.

  • Getting Started [colab]
  • Zeroshot Multivariate Forecasting [Example]
  • Finetuned Multivariate Forecasting:
  • Channel-Independent Finetuning [Example 1] [Example 2]
  • Channel-Mix Finetuning [Example]
  • New Releases (extended features released on October 2024)
  • Finetuning and Forecasting with Exogenous/Control Variables [Example]
  • Finetuning and Forecasting with static categorical features [Example: To be added soon]
  • Rolling Forecasts - Extend forecast lengths beyond 96 via rolling capability [Example]
  • Helper scripts for optimal Learning Rate suggestions for Finetuning [Example]

Benchmarks

TTM outperforms popular benchmarks such as TimesFM, Moirai, Chronos, Lag-Llama, Moment, GPT4TS, TimeLLM, LLMTime in zero/fewshot forecasting while reducing computational requirements significantly. Moreover, TTMs are lightweight and can be executed even on CPU-only machines, enhancing usability and fostering wider adoption in resource-constrained environments. For more details, refer to our paper TTM-Q referred in the paper maps to the 512-96 model uploaded in the main branch. For other variants (TTM-B, TTM-E and TTM-A) please refer here. For more details, refer to the paper.

Recommended Use

  1. Users have to externally standard scale their data independently for every channel before feeding it to the model (Refer to TSP, our data processing utility for data scaling.)
  2. The current open-source version supports only minutely and hourly resolutions(Ex. 10 min, 15 min, 1 hour.). Other lower resolutions (say weekly, or monthly) are currently not supported in this version, as the model needs a minimum context length of 512 or 1024.
  3. Enabling any upsampling or prepending zeros to virtually increase the context length for shorter-length datasets is not recommended and will impact the model performance.

Model Details

For more details on TTM architecture and benchmarks, refer to our paper.

TTM-1 currently supports 2 modes:

  • Zeroshot forecasting: Directly apply the pre-trained model on your target data to get an initial forecast (with no training).

  • Finetuned forecasting: Finetune the pre-trained model with a subset of your target data to further improve the forecast.

Since, TTM models are extremely small and fast, it is practically very easy to finetune the model with your available target data in few minutes to get more accurate forecasts.

The current release supports multivariate forecasting via both channel independence and channel-mixing approaches. Decoder Channel-Mixing can be enabled during fine-tuning for capturing strong channel-correlation patterns across time-series variates, a critical capability lacking in existing counterparts.

In addition, TTM also supports exogenous infusion and categorical data infusion.

Model Sources

  • Repository: https://github.com/ibm-granite/granite-tsfm/tree/main/tsfm_public/models/tinytimemixer
  • Paper: https://arxiv.org/pdf/2401.03955.pdf

Blogs and articles on TTM:

Uses

# Load Model from HF Model Hub mentioning the branch name in revision field

model = TinyTimeMixerForPrediction.from_pretrained(
                "https://huggingface.co/ibm/TTM", revision="main"
            ) 

# Do zeroshot
zeroshot_trainer = Trainer(
        model=model,
        args=zeroshot_forecast_args,
        )
    )

zeroshot_output = zeroshot_trainer.evaluate(dset_test)


# Freeze backbone and enable few-shot or finetuning:

# freeze backbone
for param in model.backbone.parameters():
  param.requires_grad = False

finetune_forecast_trainer = Trainer(
        model=model,
        args=finetune_forecast_args,
        train_dataset=dset_train,
        eval_dataset=dset_val,
        callbacks=[early_stopping_callback, tracking_callback],
        optimizers=(optimizer, scheduler),
    )
finetune_forecast_trainer.train()
fewshot_output = finetune_forecast_trainer.evaluate(dset_test)

Training Data

The original r1 TTM models were trained on a collection of datasets from the Monash Time Series Forecasting repository. The datasets used include: - Australian Electricity Demand: https://zenodo.org/records/4659727 - Australian Weather: https://zenodo.org/records/4654822 - Bitcoin dataset: https://zenodo.org/records/5122101 - KDD Cup 2018 dataset: https://zenodo.org/records/4656756 - London Smart Meters: https://zenodo.org/records/4656091 - Saugeen River Flow: https://zenodo.org/records/4656058 - Solar Power: https://zenodo.org/records/4656027 - Sunspots: https://zenodo.org/records/4654722 - Solar: https://zenodo.org/records/4656144 - US Births: https://zenodo.org/records/4656049 - Wind Farms Production data: https://zenodo.org/records/4654858 - Wind Power: https://zenodo.org/records/4656032

Citation

Kindly cite the following paper, if you intend to use our model or its associated architectures/approaches in your work

BibTeX:

@inproceedings{ekambaram2024tinytimemixersttms,
      title={Tiny Time Mixers (TTMs): Fast Pre-trained Models for Enhanced Zero/Few-Shot Forecasting of Multivariate Time Series},
      author={Vijay Ekambaram and Arindam Jati and Pankaj Dayama and Sumanta Mukherjee and Nam H. Nguyen and Wesley M. Gifford and Chandra Reddy and Jayant Kalagnanam},
      booktitle={Advances in Neural Information Processing Systems (NeurIPS 2024)},
      year={2024},
}

Model Card Authors

Vijay Ekambaram, Arindam Jati, Pankaj Dayama, Wesley M. Gifford, Sumanta Mukherjee, Chandra Reddy and Jayant Kalagnanam

IBM Public Repository Disclosure:

All content in this repository including code has been provided by IBM under the associated open source software license and IBM is under no obligation to provide enhancements, updates, or support. IBM developers produced this code as an open source project (not as an IBM product), and IBM makes no assertions as to the level of quality nor security, and will not be maintaining this code going forward.

Configuration

Architecture
TinyTimeMixerForPrediction
Stored precision
float32
Model type
tinytimemixer

Identity and Version

Repository
ibm-granite/granite-timeseries-ttm-r1
Publisher
IBM Granite
Task
Time series forecasting
Modality
Time series
Library
granite-tsfm
Parameters
805,280 parameters
Languages
Not stated by the source
Revision
f04bebdd4c13475b006ce72672e74c9dc28871dc
First published
2024-04-05
Last updated
2025-01-30

Files and Weights

8 files, 4.6 MB in total. The weights are 1 file totalling 3.2 MB in safetensors.

Weights1 file · 3.2 MB
Configuration2 files · 1.3 KB
Documentation1 file · 12.4 KB
Other3 files · 1.4 MB
Repository1 file · 1.5 KB
Every file
FileTypeSizeSHA-256
model.safetensorsWeights3.2 MB 30f8d9be6195
config.jsonConfiguration1.2 KB
generation_config.jsonConfiguration69 B
README.mdDocumentation12.4 KB
benchmarks.webpOther170.4 KB
ttm_image.jpgOther803.0 KB
ttm_image.webpOther377.4 KB
.gitattributesRepository1.5 KB

License and Download

License
apache-2.0
Access
Open weights, no gate
Download size
3.2 MB
Download from IBM Granite

Released by IBM Granite through its official repository on Hugging Face. Read the license.

Built From

Memory Requirements

PrecisionWeights in memory
As published3.2 MB
16-bit0.0 GB
8-bit0.0 GB
4-bit0.0 GB

Weights only, from the published parameter count; the key-value cache and runtime add to this.

Questions About granite-timeseries-ttm-r1

How much GPU memory does granite-timeseries-ttm-r1 need?

About 0 GB at 16-bit and 0 GB at 4-bit: the weights (805,280 parameters) plus a working margin. A long context needs more.

What is the cheapest GPU to run granite-timeseries-ttm-r1 on?

At 16-bit, 1x MI300X from $1.85 an hour; at 4-bit, 1x MI300X from $1.85 an hour, at the lowest on-demand prices the SAVRN Index lists.

Can I use granite-timeseries-ttm-r1 commercially?

Yes. granite-timeseries-ttm-r1 is released under Apache License 2.0. The Apache License 2.0 is a permissive open-source license. It permits commercial use, modification and redistribution. It requires keeping the license and copyright notices and any NOTICE file, stating significant changes, and it includes an express patent grant from contributors.

Similar Models

Model · Time series forecasting

granite-timeseries-ttm-r2

IBM Granite

TinyTimeMixers (TTMs) are compact pre-trained models for Multivariate Time-Series Forecasting, open-sourced by IBM Research. With model sizes starting from 1M params, TTM introduces the notion of the first-ever “tiny” pre-trained models for Time-Series Forecasting. The paper describing TTM was accepted at NeurIPS 24. TTM outperforms other models demanding billions of parameters in several popular zero-shot and few-shot forecasting benchmarks. TTMs are lightweight forecasters, pre-trained on publicly available time series data with various augmentations. TTM provides state-of-the-art zero-shot forecasts and can easily be fine-tuned for multi-variate forecasts with just 5% of the training…

Open weights apache-2.0 805,280 parameters granite-tsfm

Model · Time series forecasting

granite-timeseries-patchtst

IBM Granite

PatchTST is a transformer-based model for time series modeling tasks, including forecasting, regression, and classification. This repository contains a pre-trained PatchTST model encompassing all seven channels of the ETTh1 dataset. This particular pre-trained model produces a Mean Squared Error (MSE) of 0.3881 on the test split of the ETTh1 dataset when forecasting 96 hours into the future with a historical data window of 512 hours. For training and evaluating a PatchTST model, you can refer to this demo notebook. The PatchTST model was proposed in A Time Series is Worth 64 Words: Long-term Forecasting with Transformers by Yuqi Nie, Nam H. Nguyen, Phanwadee Sinthong, Jayant Kalagnanam. At…

Open weights apache-2.0 616,032 parameters transformers

Model · Time series forecasting

granite-timeseries-ttm-r3

IBM Granite

Building on top of TTM-R1 and TTM-R2, we introduce the next generation of TinyTimeMixer under the Granite time-series foundation model family — Granite-TTM-R3. This release incorporates several novel tiny-neural architectural innovations designed to push the limits of accuracy in high-speed forecasting, a critical requirement for real-world production deployments. Granite-TTM-R3 is a family of pretrained models supporting multiple real-world forecasting scenarios: - Zero-shot forecasting across unseen datasets - Few-shot adaptation effective with as few as ~1K samples - Full fine-tuning for domain-specific optimization - Multivariate time-series forecasting - Exogenous / control variable…

Open weights apache-2.0 1M parameters

Model · Time series forecasting

TiRex

NX-AI

This repository provides the pre-trained forecasting model TiRex introduced in the paper TiRex is a 35M parameter pre-trained time series forecasting model based on xLSTM. TiRex is a pre-trained model that performs time series forecasting without requiring any training on your data. Simply download and use it. TiRex provides both point estimates and quantile estimates. - State-of-the-art Performance over Long and Short Horizons: TiRex achieves top scores in various time series forecasting benchmarks, see GiftEval and ChronosZS. These benchmark show that TiRex provides great performance for both long and short-term forecasting. A detailed documentation of TiRex can be found here…

Open weights other tirex

Model · Time series forecasting

TiRex-1.1-gifteval

NX-AI

The 1.1 release introduces long period normalisation, a method applied solely during inference. This specific version (1.1-gifteval) includes the 1.1 improvements plus the pretraining dataset has been cleaned to remove overlaps with the GIFT-Eval test dataset. TiRex is a time-series foundation model designed for time series forecasting, with the emphasis to provide state-of-the-art forecasts for both short- and long-term forecasting horizon. TiRex is 35M parameter small and is based on the xLSTM architecture allowing fast and performant forecasts. The model is described in the paper TiRex: Zero-Shot Forecasting across Long and Short Horizons with Enhanced In-Context Learning. TiRex performs…

Open weights other tirex

Model · Time series forecasting

Kronos-Tokenizer-base

ShiYu

Kronos is the first open-source foundation model for financial candlesticks (K-lines), trained on data from over 45 global exchanges. It is designed to handle the unique, high-noise characteristics of financial data. Kronos is a family of decoder-only foundation models, pre-trained specifically for the "language" of financial markets—K-line sequences. It leverages a novel two-stage framework: 1. A specialized tokenizer first quantizes continuous, multi-dimensional K-line data (OHLCV) into hierarchical discrete tokens. 2. A large, autoregressive Transformer is then pre-trained on these tokens, enabling it to serve as a unified model for diverse quantitative tasks. The success of large-scale…

Open weights mit 4M parameters pytorch