Gaussian Process State Space Models in Python/JAX
Project description
smolgp
State Space Models for O(Linear/Log) Gaussian Processes
smolgp is a standalone extension of the tinygp package that implements scalable & GPU-parallelizable Gaussian Processes in JAX using the state space representation. It is particularly suited for integrated measurements (such as long exposures in astronomy), jointly modeling data from multiple instruments, and for scalable implementations of popular kernels that traditionally lack quasiseparable structure (e.g. the quasiperiodic kernel).
The smolgp API is designed to be as similar to tinygp as possible. In almost all cases, you can simply find-and-replace "smol" with "tiny" in your existing code.
Main features
- A Kalman filter and RTS smoother compatible with
tinygp-like GP kernels. - Scalable (O(N)) solving with integrated (and possibly overlapping) measurements from multiple instruments (see Rubenzahl and Hattori et al. 2026).
- Parallelized versions of 1 (see Särkkä and García-Fernández 2020) and 2 (see Rubenzahl and Hattori et al. 2026).
- see also Yaghoobi and Särkkä 2024 and its implementation.
- Approximations of popular GP kernels that lack quasiseparability (e.g., ExpSineSquared, Quasiperiodic) that can utilize the O(N) state space solvers.
- A convenient and optimally-efficient model-building framework to assemble multicomponent GPs and compute per-component distributions.
Check out the docs for more information, including tutorials: https://smolgp.readthedocs.io/
Please raise issues here and/or reach out to Ryan Rubenzahl and/or So Hattori.
Installation
You can install the most recent release from PyPI, e.g. with uv:
uv add smolgp
Or, you can simply clone this repository and install locally:
git clone https://github.com/smolgp-dev/smolgp.git
cd smolgp
uv pip install -e .
Citation
If you use smolgp in your research, please cite the relevant software release and published paper. The cffconvert tool can be used to generate a bibtex entry from the included CITATION.cff (or just use the "cite this repository" button on the GitHub sidebar).
Author & Contact
This repo is maintained by Ryan Rubenzahl and So Hattori.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file smolgp-0.1.4.tar.gz.
File metadata
- Download URL: smolgp-0.1.4.tar.gz
- Upload date:
- Size: 3.7 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3a7453a6bb1ecdb953cd329b0878765c8ead0425b8c701a6460f9b79f3010143
|
|
| MD5 |
649f9aed8d7f83ae8a07deecc5215a5d
|
|
| BLAKE2b-256 |
2914f6c7941eba4ec883d5d64997174190c2f645c6a6c4d8e7fc1a0d85e79139
|
Provenance
The following attestation bundles were made for smolgp-0.1.4.tar.gz:
Publisher:
pypi-publish.yml on smolgp-dev/smolgp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
smolgp-0.1.4.tar.gz -
Subject digest:
3a7453a6bb1ecdb953cd329b0878765c8ead0425b8c701a6460f9b79f3010143 - Sigstore transparency entry: 1575114361
- Sigstore integration time:
-
Permalink:
smolgp-dev/smolgp@01f325222351d0f073edabbbb9ede24a3eeb065f -
Branch / Tag:
refs/tags/v0.1.4 - Owner: https://github.com/smolgp-dev
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-publish.yml@01f325222351d0f073edabbbb9ede24a3eeb065f -
Trigger Event:
release
-
Statement type:
File details
Details for the file smolgp-0.1.4-py3-none-any.whl.
File metadata
- Download URL: smolgp-0.1.4-py3-none-any.whl
- Upload date:
- Size: 64.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a6d970b054e9bbbccf2c5f7a04112466cc7cb0d15d1750869d1bbd22f783f01d
|
|
| MD5 |
40a55ca5e22a982a20c38cb334a53cc6
|
|
| BLAKE2b-256 |
98589aa2c01d0355194c3f2b437bdbad14c7765d143b90df357c5180bb77d884
|
Provenance
The following attestation bundles were made for smolgp-0.1.4-py3-none-any.whl:
Publisher:
pypi-publish.yml on smolgp-dev/smolgp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
smolgp-0.1.4-py3-none-any.whl -
Subject digest:
a6d970b054e9bbbccf2c5f7a04112466cc7cb0d15d1750869d1bbd22f783f01d - Sigstore transparency entry: 1575114509
- Sigstore integration time:
-
Permalink:
smolgp-dev/smolgp@01f325222351d0f073edabbbb9ede24a3eeb065f -
Branch / Tag:
refs/tags/v0.1.4 - Owner: https://github.com/smolgp-dev
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-publish.yml@01f325222351d0f073edabbbb9ede24a3eeb065f -
Trigger Event:
release
-
Statement type: