QDax icon indicating copy to clipboard operation
QDax copied to clipboard

fix the Jax FutureWarnings

Open Aneoshun opened this issue 3 years ago • 0 comments

With the latest version of Jax (obtained automatically with pip install qdax) we get a lot of FutureWarnings:

FutureWarning: jax.tree_map is deprecated, and will be removed in a future release. Use jax.tree_util.tree_map instead.
FutureWarning: jax.tree_leaves is deprecated, and will be removed in a future release. Use jax.tree_util.tree_leaves instead.
FutureWarning: jax.tree_structure is deprecated, and will be removed in a future release. Use jax.tree_util.tree_structure instead.
FutureWarning: jax.tree_unflatten is deprecated, and will be removed in a future release. Use jax.tree_util.tree_unflatten instead.

It would be good to fix this asap and to release it soon, maybe we some of the other bug fixes we have in the pipeline.

Aneoshun avatar Aug 10 '22 17:08 Aneoshun