Hi @mfschubert, thanks for developing this package!
Lately I have worked a lot on sparse autodiff in the Julia language, and some of the products of my work are useful for Python too. In particular, the package SparseMatrixColorings.jl offers fast coloring and decompression for Jacobians and Hessians. I wanted people to be able to use it in JAX, so I created a Python interface called sparsediffax (which calls pysparsematrixcolorings). It was inspired by sparsejac but has some key differences vis-a-vis coloring and symmetry-handling, which I would be happy to explain in more detail.
It is my very first Python package, and I probably screwed up in many places. Conversely, sparsejac has a lot of stuff that I like: better tests, more thorough input validation, an API closer to that of JAX, and an experienced Python developer at its helm. Would you be interested in joining forces, so that there is a single package for sparse autodiff in JAX? I don't care where it lives or what it is called, as long as we're both coauthors.
Hi @mfschubert, thanks for developing this package!
Lately I have worked a lot on sparse autodiff in the Julia language, and some of the products of my work are useful for Python too. In particular, the package
SparseMatrixColorings.jloffers fast coloring and decompression for Jacobians and Hessians. I wanted people to be able to use it in JAX, so I created a Python interface calledsparsediffax(which callspysparsematrixcolorings). It was inspired bysparsejacbut has some key differences vis-a-vis coloring and symmetry-handling, which I would be happy to explain in more detail.It is my very first Python package, and I probably screwed up in many places. Conversely,
sparsejachas a lot of stuff that I like: better tests, more thorough input validation, an API closer to that of JAX, and an experienced Python developer at its helm. Would you be interested in joining forces, so that there is a single package for sparse autodiff in JAX? I don't care where it lives or what it is called, as long as we're both coauthors.