Server¶
The server is the process you start. It loads models, keeps them warm, and answers predict requests. The dashboard, OpenAPI, and /predict are that process.
A bare tserve loads naive only. Name models to load them too. GET /models lists what loaded, not the catalog. Which extra or image each model needs: Dependencies.
Start¶
Token, cache, GPU, other tags: Docker.
This installs CUDA torch (MPS on macOS). A CPU build: CPU-only install.
Another family is the same command with that row's tag and model. moirai_2:
Startup prints:
- Dashboard: http://127.0.0.1:8000/
- Swagger: http://127.0.0.1:8000/docs
- ReDoc: http://127.0.0.1:8000/redoc
GET /health is liveness. Then predict.
CLI flags and Server: UV / Pip. A clone: From source. Each family's command: catalog.
In this section¶
-
Docker
Pull a tag, mount the Hub cache, pass a token, or build the image yourself.
-
UV / Pip
Install from PyPI, then
tserveorServer. -
From source
Install from a clone, then
tserveorServer. -
Live objects
Serve an estimator you configured in Python. CLI cannot do this.
-
Craft specs
Load a sktime craft spec as
(id, spec)or CLIid=spec. -
Models from a directory
Load sktime
.zipfiles by stem. Mix them with registry models. -
Which models to load
One page per extra and image tag, with the models each one can serve.
-
Dashboard
Browser console at
GET /. It talks to the JSON endpoints of this process.