openstef-foundation-models
Foundation model support for OpenSTEF — bringing pre-trained, ONNX-based forecasting models to the OpenSTEF ecosystem.
Installation
Pick exactly one ONNX runtime — [cpu] and [gpu] are mutually exclusive.
CPU (default — the meta-package openstef installs this for you):
pip install "openstef-foundation-models[cpu]"
GPU (CUDA):
pip install "openstef-foundation-models[gpu]"
Note: Do not install both
[cpu]and[gpu]in the same environment —onnxruntimeandonnxruntime-gpucollide. They're declared as conflicting extras so uv enforces the choice;pipdoes not, so pick one yourself.
Selecting a checkpoint
OpenSTEF publishes its checkpoints to the HuggingFace Hub. Pick a model size and variant from the catalog instead of hand-writing repo ids and filenames:
from openstef_foundation_models.models import Chronos2, CheckpointVariant
from openstef_foundation_models.presets import ForecastingWorkflowConfig
# Default: the base Chronos-2, dynamic shapes — runs on any provider.
config = ForecastingWorkflowConfig()
# The smaller model, static shapes — enables the CoreML provider on macOS.
config = ForecastingWorkflowConfig(
checkpoint=Chronos2.SMALL.checkpoint(CheckpointVariant.STATIC),
)
# Let the host decide: static on macOS, dynamic elsewhere.
config = ForecastingWorkflowConfig(
checkpoint=Chronos2.BASE.checkpoint(CheckpointVariant.recommended()),
)
Available sizes are Chronos2.BASE (chronos-2) and Chronos2.SMALL
(chronos-2-small); variants are DYNAMIC (portable) and STATIC (frozen shapes,
the macOS/CoreML path in the default provider fallback chain).
Release files for openstef-foundation-models 4.4.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| openstef_foundation_models-4.4.1.tar.gz | 36.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| openstef_foundation_models-4.4.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 65.9 kB
Release files / openstef_foundation_models-4.4.1.tar.gz
| Download URL | openstef_foundation_models-4.4.1.tar.gz |
|---|---|
| Size | 36.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
361652ac654180e3f1c86648e50c981913d115720b8b7c7c8b3fa221a25f3c5d
|
|
BLAKE2b-256 checksum How to use checksums |
a370c219cf02870ddc5cbeaca497d3dde99865973d5317e6a9a301b3a78f39a7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.12 {"installer":{"name":"uv","version":"0.12.12","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
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 Sep 10, 2026.
Transparency logRelease files / openstef_foundation_models-4.4.1-py3-none-any.whl
| Download URL | openstef_foundation_models-4.4.1-py3-none-any.whl |
|---|---|
| Size | 29.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
db49825481b6dc9558a39f676c5b59fb477be97cb6b414d28a6154c0873d6737
|
|
BLAKE2b-256 checksum How to use checksums |
81d0ab1e63aaabfc5f8a0f4cba33fef6fb75729262b01dab6ea8e3786e71e6b4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.12 {"installer":{"name":"uv","version":"0.12.12","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
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 Sep 10, 2026.
Transparency log