Patrick Kidger
Patrick Kidger
Right, sorry for the delay, I'm just getting back around to this now. Can you help by removing the extraneous pieces in this MWE? Right now you still have a...
It looks like some part of your code is trying to jit some of its 'static' (non-array) arguments. Hard to say exactly which bit without a MWE, but at the...
Thanks for the report! This should already be fixed in #61, but we haven't done a new release yet :)
Ah yup, that'll be it -- for exactly the reason Johanna gave. `jax.jit` (but not `eqx.filter_jit`) will try to cast all its outputs to arrays.
Agreed! That's likely doable in the same way as Diffrax. I'd be happy to take a PR on this.
Judging from https://optax.readthedocs.io/en/stable/_collections/examples/lbfgs.html#linesearches-in-practice it should be pretty simple to add in the three extra arguments it expects. I'd be happy to take a PR on this! (Including a test to...
Closing as fixed in #122.
Ah, nice! I'd be happy to take a PR adding support for this. For the JVP, perhaps we should just disable that? It's a fairly subtle implementation detail. (Or we...
I think there's value in this. For example I'm using `generator.binomial(1, p, size=very_large).astype(bool)` to draw Bernoulli samples, and this is unnecessarily wasting a lot of memory. Even if the `dtype=`...
Thanks for opening the issue! The thoroughness here is awesome -- in particular for listing all the common gotchas on the benchmarks. I'm surprised by this combination of outcomes: >...