Skip to main content

smolgp-logo
smolgp
State Space Models for O(Linear/Log) Gaussian Processes

docs Tests codecov Journal arXiv DOI

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

  1. A Kalman filter and RTS smoother compatible with tinygp-like GP kernels.
  2. Scalable (O(N)) solving with integrated (and possibly overlapping) measurements from multiple instruments (see Rubenzahl and Hattori et al. 2026).
  3. Parallelized versions of 1 (see Särkkä and García-Fernández 2020) and 2 (see Rubenzahl and Hattori et al. 2026).
  4. Approximations of popular GP kernels that lack quasiseparability (e.g., ExpSineSquared, Quasiperiodic) that can utilize the O(N) state space solvers.
  5. 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

DOI Journal arXiv

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

GitHub followers GitHub followers

This repo is maintained by Ryan Rubenzahl and So Hattori.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

smolgp-0.3.0.tar.gz (9.3 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

smolgp-0.3.0-py3-none-any.whl (89.6 kB view details)

Uploaded Python 3

File details

Details for the file smolgp-0.3.0.tar.gz.

File metadata

  • Download URL: smolgp-0.3.0.tar.gz
  • Upload date:
  • Size: 9.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for smolgp-0.3.0.tar.gz
Algorithm Hash digest
SHA256 8135cccab730ec09e39627dab7a92969cac8b1a9ce95b8000f25f4776b3276bc
MD5 a8816e697a05c69c3af30818db82e38b
BLAKE2b-256 4fba1b54a406ca7fe6996e8229743fa1217e231fc07e239deee674988f24fe61

See more details on using hashes here.

Provenance

The following attestation bundles were made for smolgp-0.3.0.tar.gz:

Publisher: pypi-publish.yml on smolgp-dev/smolgp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file smolgp-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: smolgp-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 89.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for smolgp-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0ba8edc592f03a69b540e12c34b552ae4e43e41d5c05f51bb954b6b3172299e9
MD5 6b43beed76f436c75b20136ada7d2e10
BLAKE2b-256 cc065064c99d2110322645af14a03755b1990d481cfc1213a11a0ffc167acd8b

See more details on using hashes here.

Provenance

The following attestation bundles were made for smolgp-0.3.0-py3-none-any.whl:

Publisher: pypi-publish.yml on smolgp-dev/smolgp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

0.3.2

2 files

0.3.1

2 files

This release

0.3.0 This release

2 files

0.2.0

2 files

0.1.8

2 files

0.1.7

2 files

0.1.5

2 files

0.1.4

2 files

0.1.3

2 files

0.1.2

2 files

0.1.1

2 files

0.1.0

2 files

0.0.1

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page