Open
Description
transformers
now remove the pin of numpy<2.0.0
. However, some issues (with 3rd libraries) are known, and the following gives some guide:
- In an environment with
TensorFlow
and/orFlax
--> downgrade tonumpy<2.0.0
- issue with soxr -->
pip install soxr==0.4.0b1
- issue with
faiss
--> downgrade tonumpy<2.0.0
- If error out with a message
using np.array(obj, copy=False) replace it with
np.asarray(obj) to allow a copy`:- downgrade to
numpy<2.0.0
- or, install
datasets
dev. version
- downgrade to