granite¶
IBM FlowState, plus every hub model.
| extra | CPU tag | GPU tag | families | models | example |
|---|---|---|---|---|---|
granite |
:granite |
:granite-gpu |
FlowState | 2 | flowstate |
Start a server¶
Check what loaded:
Predict¶
Python needs the client extra on the caller.
from tserve.client import Client
past = {
"timestamp": ["2024-01-01", "2024-01-02", "2024-01-03", "2024-01-04", "2024-01-05"],
"sales": [120, 135, 128, 142, 138],
}
with Client("http://127.0.0.1:8000") as client:
result = client.predict(
past=past,
time="timestamp",
target=["sales"],
fh=3,
model="flowstate",
)
print(result.predictions)
Models¶
FlowState¶
Revision pinned to r1.1.
| model | checkpoint |
|---|---|
flowstate |
ibm-research/flowstate |
flowstate_granite |
ibm-granite/granite-timeseries-flowstate-r1 |
Also loadable here¶
- Naive:
naive, frombase. - Chronos Bolt, Chronos T5, TTM, TimesFM 2.x: 81 models, from
hub.
Next steps¶
- Docker, UV / Pip, From source: run the server.
- Data specification: the predict request.
- Craft specs, Live objects, Models from a directory: a checkpoint no catalog name covers.
- Errors: a model that failed to load.