Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Breaks under Numpy 2 #58

Open
time-less-ness opened this issue Jun 17, 2024 · 0 comments
Open

Breaks under Numpy 2 #58

time-less-ness opened this issue Jun 17, 2024 · 0 comments

Comments

@time-less-ness
Copy link

Numpy2 breaks this repo.

RuntimeError: Failed to import transformers.models.llama.modeling_llama because of the following error (look up to see its traceback):
`np.float_` was removed in the NumPy 2.0 release. Use `np.float64` instead.

Fix:

conda install numpy=1.26.4

Obviously fixing it to work with Numpy 2.0 would be preferable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant