-
Granite PatchTST-FM r2 support: The shared
PatchTSTFMwrapper now supportsibm-granite/granite-timeseries-patchtst-fm-r2(~385M). r2 adds Conformer blocks, overlapping patches (patch_stride=8), and a 99-quantile head on top of r1. Requiresgranite-tsfm>=0.3.9. GIFT-Eval CI replicatesGranite-PatchTST-FM-r2onm4_weekly/short.import pandas as pd from foundationforecast.models.patchtst_fm import PatchTSTFM df = pd.read_csv( "https://timecopilot.s3.amazonaws.com/public/data/air_passengers.csv", parse_dates=["ds"], ) model = PatchTSTFM( repo_id="ibm-granite/granite-timeseries-patchtst-fm-r2", alias="Granite-PatchTST-FM-r2", context_length=8192, batch_size=32, ) fcst = model.forecast(df, h=12, freq="MS") assert "Granite-PatchTST-FM-r2" in fcst.columns
-
Shared panel processing: Forecasters reuse a common panel path for multi-series inputs (Chronos, TimesFM, Tafsut, and others), reducing redundant work and improving multi-model orchestration throughput.
-
T0 beta support: The shared
T0wrapper now works withtheforecastingcompany/t0-beta(~256M). Register it in gift-evalmodels.yaml; GIFT-Eval CI still replicatest0-alphauntil leaderboard results exist for beta.import pandas as pd from foundationforecast.models.t0 import T0 df = pd.read_csv( "https://timecopilot.s3.amazonaws.com/public/data/air_passengers.csv", parse_dates=["ds"], ) model = T0( repo_id="theforecastingcompany/t0-beta", alias="t0-beta", ) fcst = model.forecast(df, h=12, freq="D", quantiles=[0.1, 0.5, 0.9]) assert "t0-beta" in fcst.columns
-
FlowState frequency aliases: Normalize pandas-inferred aliases (
h,6h,15min,MS) before calling granite-tsfmget_fixed_factor, so hourly and month-start series work whenfreqis omitted. -
T0 / gift-eval CI: Bump
tfc-t0to>=0.5.0and callT0Forecaster.predict(quantile_levels=...)instead of the removedquantiles=kwarg. Fixes gift-eval Modal runs after PyPI resolvedtfc-t00.5.0 alongside the t0-beta release.
- Bumped
tfc-t0from>=0.2.3to>=0.5.0(required for t0-beta; still supports t0-alpha). - Replaced
timecopilot-granite-tsfmwithgranite-tsfm>=0.3.9(required for PatchTST-FM r2 overlapping-patch inference).
Full Changelog: https://github.com/TimeCopilot/foundationforecast/compare/v0.1.7...v0.1.8