TSFM: Time Series Foundation Models
Public notebooks, utilities, and serving components for working with Time Series Foundation Models (TSFM).
The core TSFM time series models have been made available on Hugging Face -- details can be found here. Information on the services component can be found here.
Python Version
The current Python versions supported are 3.11, 3.12, 3.13.
Install From PyPI
Install the package directly from PyPI:
pip install tsagentkit-patchtst-fm
For notebook extras:
pip install "tsagentkit-patchtst-fm[notebooks]"
Initial Setup
First clone the repository:
git clone "https://github.com/ibm-granite/granite-tsfm.git"
cd granite-tsfm
📕 Notebooks Installation
Several notebooks are provided in the notebooks folder. They allow you to perform pre-training and finetuning on the models.
To install use pip:
pip install ".[notebooks]"
🔗 Links to the notebooks
- Getting started with
PatchTSMixer[Try it out] - Transfer learning with
PatchTSMixer[Try it out] - Transfer learning with
PatchTST[Try it out] - Getting started with
TinyTimeMixer (TTM)[Try it out] TTMfull benchmarking scripts and results are available [here]
📗 Google Colab Tutorials
Run the TTM tutorial in Google Colab, and quickly build a forecasting application with the pre-trained TSFM models.
💻 Demos Installation
The demo presented at NeurIPS 2023 is available in tsfmhfdemos. This demo requires you to have pre-trained and finetuned models in place (we plan to release these at a later date). To install the requirements use pip:
pip install ".[demos]"
🪲 Issues
If you encounter an issue with this project, you are welcome to submit a bug report. Before opening a new issue, please search for similar issues. It's possible that someone has already reported it.
🌏 Wiki
Notice
The intention of this repository is to make it easier to use and demonstrate Granite TimeSeries components that have been made available in the Hugging Face transformers library. As we continue to develop these capabilities we will update the code here.
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.
Metadata
Release files for tsagentkit-patchtst-fm 1.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| tsagentkit_patchtst_fm-1.0.2.tar.gz | 3.8 MB | With provenance | Details for tsagentkit_patchtst_fm-1.0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| tsagentkit_patchtst_fm-1.0.2-py3-none-any.whl | Python 3 | none | any | Details for tsagentkit_patchtst_fm-1.0.2-py3-none-any.whl |
Total release size: 7.6 MB
Release files / tsagentkit_patchtst_fm-1.0.2.tar.gz
| Download URL | tsagentkit_patchtst_fm-1.0.2.tar.gz |
|---|---|
| Size | 3.8 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6c129eafaeb7ed17b77649db3b5c67f3b1b2e7cbe42ecdd16f60ba4dbe206187
|
|
BLAKE2b-256 checksum How to use checksums |
977956e773dc25c0d5b383b02974516cadb057a0e1d6badad5d108ce2473a0e5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Feb 16, 2026.
Transparency logRelease files / tsagentkit_patchtst_fm-1.0.2-py3-none-any.whl
| Download URL | tsagentkit_patchtst_fm-1.0.2-py3-none-any.whl |
|---|---|
| Size | 3.8 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f5c60b487ba706c98a083dc6e42ab050ebf05fefe7ba53bd09943c448b0ae88d
|
|
BLAKE2b-256 checksum How to use checksums |
de7041036934573440f0201895f1b8803e0d258d7ec7ad8b41704a061bf6ee9f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Feb 16, 2026.
Transparency logSecurity for tsagentkit-patchtst-fm 1.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for tsagentkit_patchtst_fm-1.0.2.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Feb 16, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.