wandb / weave

Weave is a toolkit for developing AI-powered applications, built by Weights & Biases.
https://wandb.me/weave
Apache License 2.0
659 stars 49 forks source link

np.float_` was removed in the NumPy 2.0 release. Use `np.float64` instead. #2098

Closed farzad528 closed 1 month ago

farzad528 commented 1 month ago

When running

import weave
weave.init(f"{WANDB_PROJECT}")

I get the following error: AttributeError: np.float_ was removed in the NumPy 2.0 release. Use np.float64 instead.

I tried upgrading weave and numpy but doesn't seem to work.

gtarpenning commented 1 month ago

Hey @farzad528 thanks for writing in. It looks like this may be caused by an out of date wandb package version as per this closed issue in the wandb repo. This should be fixed in versions of wandb including and after 0.17.2.

Let us know if upgrading your wandb package resolves the issue!

gtarpenning commented 1 month ago

@farzad528 Closing this issue as I believe it is resolved, if not I will gladly reopen.