exoplanet-dev / exoplanet-dev/celerite2

Add support for JAX batching via vmap

Open
#11 3 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
C++
Stars
85
Forks
19
PR merge metrics
No merged PRs in 30d

Description

This will require updating the backend to iterate over the batch dimension, but that shouldn't be too terribly hard. Then, we'd need to add a simple batching function.

One question is how to interface batching with the `terms` interface.

https://jax.readthedocs.io/en/latest/notebooks/How_JAX_primitives_work.html#Batching

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.