huggingface / transformers

🤗 Transformers: State-of-the-art Machine Learning for Pytorch, TensorFlow, and JAX.
https://huggingface.co/transformers
Apache License 2.0
128.29k stars 25.45k forks source link

pin numpy < 2 #31576

Closed ydshieh closed 4 days ago

ydshieh commented 4 days ago

What does this PR do?

Let's pin numpy < 2.0.0 for now. It doesn't work well. See internal thread: not so bad with torch only env., but not good with tf/flax.

Also see #31569

HuggingFaceDocBuilderDev commented 4 days ago

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.