base¶
The naive baseline and nothing else. Downloads no weights. Use :base to test the server; load a family extra for a real forecast.
| extra | CPU tag | GPU tag | families | models | example |
|---|---|---|---|---|---|
server |
:base |
none | Naive | 1 | naive |
Every other page in this section layers on top of this one.
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="naive",
)
print(result.predictions)
Models¶
Naive¶
Drift strategy. No weights, no Hugging Face download. Always loaded so you can test the server; name another catalog model for a real forecast.
| model | checkpoint |
|---|---|
naive |
none |
Also loadable here¶
Nothing. :base carries no Hugging Face stack, so any other model fails at startup (Errors). For Chronos Bolt, Chronos T5, TTM, and TimesFM 2.x, use hub. For TimesFM 3, use timesfm3.
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.