anna-researcher
anna-researcher
> Hi - this is not a bug, it's working as expected. Gradients of `betainc` with respect to `a` and `b` have no easily-expressible closed-form solution, and the `ValueError` you're...
@jakevdp In case this is useful, found an additional reproducer: The same atan2(0,0) NaN-under-JIT bug also affects jnp.polysub: `import jax import jax.numpy as jnp t = jnp.array([1, 2, 3], dtype=jnp.int32)...
@jakevdp Your point makes a lot of sense — nextafter and spacing are fundamentally about floating point representation rather than smooth real-valued functions, so autodiff in the traditional sense is...
@jakevdp Sounds great! I can send out a PR for this on Friday, thank you!
> That seems reasonable – would you like to send a PR adding `defjvp_zero` for these primitives? If not I'm happy to put it on my TODO list. > >...
> This falls under [#38651](https://github.com/jax-ml/jax/issues/38651); please note that it may take a while for this to receive attention from the team. Understood, thank you
Narrowed this down: the underlying problem is XLA's `gather` when the params tensor has **zero rows**. Eager returns the correctly-shaped empty result, XLA returns a rank-1 `(0,)` tensor instead. `ReversibleEmbedding(0,...
> The fix you propose looks fine. Thanks for taking a look @gnecula ! Would you be ok with me sending a PR for this? I'd make the rtol change...
fixed by [#44738](https://github.com/openxla/xla/issues/44738), verified on current nightly
Hi @gnecula, I noticed #43038 includes "Fixes #43020", so this issue would close once it merges. From what I can tell, #43038 covers the hessenberg part, but detrend, unstack and...