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 "tiny" with "smol" 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.
Metadata
Release files for smolgp 0.4.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| smolgp-0.4.3.tar.gz | 11.2 MB | With provenance | Details for smolgp-0.4.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| smolgp-0.4.3-py3-none-any.whl | Python 3 | none | any | Details for smolgp-0.4.3-py3-none-any.whl |
Total release size: 11.3 MB
Release files / smolgp-0.4.3.tar.gz
| Download URL | smolgp-0.4.3.tar.gz |
|---|---|
| Size | 11.2 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8dbac0db468583ba6006f3ec0bc82b0a8616e74c7f11c3a93be30f1bda612e0a
|
|
BLAKE2b-256 checksum How to use checksums |
e9e20209a9f392bb6d907620dc660ecb95d11df9dbf249efbb5adbd71bc8df55
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Oct 16, 2026.
Transparency logRelease files / smolgp-0.4.3-py3-none-any.whl
| Download URL | smolgp-0.4.3-py3-none-any.whl |
|---|---|
| Size | 103.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2de352cd8f9112724982a3ac9d7c76cdd2b65a391dcb14e8232eaba4466c212f
|
|
BLAKE2b-256 checksum How to use checksums |
3f65d705242daf86c1cdfeaba5362fa4004942a73ac4ae13c29b78f92875b3f5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Oct 16, 2026.
Transparency logSecurity for smolgp 0.4.3
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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for smolgp-0.4.3.tar.gz
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 Oct 16, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.