You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update usage of numpy to reflect numpy 2.0 changes (#6871)
## Motivation for features / changes
Nightlies are failing due to new numpy release(one example:
https://github.com/tensorflow/tensorboard/actions/runs/9546526095/job/26309613783)
## Technical description of changes
The new numpy replaced np.string_ with np.bytes_ and np.unicode_ with
np.str_
## Screenshots of UI changes (or N/A)
## Detailed steps to verify changes work correctly (as executed by you)
I ran tests that were failing and they passed.
## Alternate designs / implementations considered (or N/A)
Locking numpy version < 2 was considered. However, this will eventually
get us very out of date and should be avoided.
---------
Co-authored-by: James Hollyer <[email protected]>
0 commit comments