tinygp is built on top of
jax so that’s the
primary dependency that you’ll need. All of the methods below will install any
required dependencies, but if you want to take advantage of your GPU, that might
take a little more setup.
tinygp doesn’t have any GPU-specific code, so it
should be enough to just follow the installation instructions for CUDA support
The easiest way to install the most recent stable version of
python -m pip install tinygp
Alternatively, you can get the source:
git clone https://github.com/dfm/tinygp.git cd tinygp python -m pip install -e .
If you installed from source, you can run the unit tests. From the root of the source directory, run:
python -m pip install tox python -m tox