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

Add NumPy for all backends dependencies #332

Merged
merged 2 commits into from
Aug 21, 2023
Merged

Conversation

chainyo
Copy link
Contributor

@chainyo chainyo commented Aug 20, 2023

What does this PR do?

I noticed that all backends require numpy as a dependency when you use the serialization and deserialization methods from safetensors.
I propose to add them as an extra dependency to torch, tensorflow, paddlepaddle and flax.

Wdyt? @Narsil

@Narsil
Copy link
Collaborator

Narsil commented Aug 21, 2023

Thanks.

@Narsil Narsil merged commit de8e9fa into huggingface:main Aug 21, 2023
9 of 10 checks passed
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

Successfully merging this pull request may close these issues.

2 participants