google / flax

Flax is a neural network library for JAX that is designed for flexibility.
https://flax.readthedocs.io
Apache License 2.0
5.79k stars 609 forks source link

fix deprecation warning #3981

Closed chiamp closed 3 weeks ago

chiamp commented 3 weeks ago

HEAD is getting the following deprecation warning:

ERROR tests/jax_utils_test.py - DeprecationWarning: `np.bool8` is a deprecated alias for `np.bool_`.  (Deprecated NumPy 1.24)

This is because tensorflow uses np.bool8 in version 2.11.0. The solution is to enforce tensorflow>=2.12.0.

codecov-commenter commented 3 weeks ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 0.00%. Comparing base (abf36e5) to head (884a1ca). Report is 27 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #3981 +/- ## ====================================== Coverage 0.00% 0.00% ====================================== Files 102 106 +4 Lines 13208 13582 +374 ====================================== - Misses 13208 13582 +374 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.