Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[harvest] Document or fix that sow/reap doesn't work with keyword arguments #86

Open
neverix opened this issue Nov 13, 2024 · 0 comments

Comments

@neverix
Copy link

neverix commented Nov 13, 2024

Reproducing example:

from oryx.core.interpreters.harvest import sow, reap
import jax


@jax.jit
def f(x):
    sow(x, tag="d", name="x")

@jax.jit
def g(x):
    return reap(f, tag="d")(x=x)

g(5)  # {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant