Closed a-doering closed 1 year ago
Ah sorry, I had indeed fixed those JAX deprecations but never pushed the changes -- I'll tag a new version once I can get CI passing (looks like Python 3.6 is finally officially EOL).
Regarding specifying the JAX version requirement, I had been taking the approach of omitting it from requirements.txt
(see, e.g., https://github.com/deepmind/dm-haiku#installation for an argument in favor of this which I had read at the time of package creation) but I'll try to do a quick survey of the JAX ecosystem soon to see what's standard these days.
It seems like including a JAX version requirement (with a caveat to install JAX first if accelerator support is desired) is reasonably standard these days, and in general it's probably good to have a known-working version number listed somewhere in the package.
Thanks for bumping these issues to my attention!
jax.tree_util.tree_multimap
has been removed since jax 0.3.16,jax.ops.index_update
andjax.ops.index
ave been removed since jax 0.3.2. Tested withjax==0.3.23
andjax_lib==0.3.22
.