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 "tiny" with "smol" 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.

Metadata

Release files for smolgp 0.4.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for smolgp 0.4.1
File Size Uploaded
smolgp-0.4.1.tar.gz 11.1 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for smolgp 0.4.1
File Interpreter ABI Platform
smolgp-0.4.1-py3-none-any.whl Python 3 none any Details

Total release size: 11.2 MB

Release files / smolgp-0.4.1.tar.gz

Download URL smolgp-0.4.1.tar.gz
Size 11.1 MB
Tags Source
SHA-256 checksum
How to use checksums
1e185ec7bf156c342adc3ca1a079e23fce2f59731bbad089adc987d4edf6521e
BLAKE2b-256 checksum
How to use checksums
e66feb4b47bf9fd71afadeff51932d1550f07b6cccb79173fe49af219575e9e0
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 Sep 30, 2026.

Transparency log

Release files / smolgp-0.4.1-py3-none-any.whl

Download URL smolgp-0.4.1-py3-none-any.whl
Size 100.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
401c039ec17922e538f16cdca297d8dba8434778ce1001c9da2c63737889d921
BLAKE2b-256 checksum
How to use checksums
ccf5a0af13e825381e5a24c75b826ef88222bfcae2c0909f3aa9bb10d2fd4e24
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 Sep 30, 2026.

Transparency log

Release history Release notifications | RSS feed

0.4.3

2 release files

0.4.2

2 release files

This release

0.4.1 This release

2 release files

0.4.0

2 release files

0.3.2

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

0.0.1

2 release 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