Using `vmap` for root finding with a vector of parameters
Open
- Dominant language
- Python
- Stars
- 1.1k
- Forks
- 76
- Avg merge
- 2d 21h
- Merged PRs (30d)
- 1
Description
Hi devs,
I'm trying to `vmap` over an root finding procedure involving vector-valued parameters. I gather this is currently not possible with `jaxopt.ScipyRootFinding` because this is a wrapper around `scipy` and throws up `TracerArrayConversionError`. Do you have any suggestions for being able to batch such an optimization procedure? Is the only recourse to write a custom root-finding routine in Jax? I should note I don't necessarily need gradients of the root finder, just the batching ability.
Contributor guide
Assessment
This issue has not been assessed yet.