runtime error
Exit code: 1. Reason: numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/home/user/app/app.py", line 19, in <module> data = data.add_faiss_index("embeddings") # column name that has the embeddings of the dataset File "/usr/local/lib/python3.10/site-packages/datasets/arrow_dataset.py", line 5759, in add_faiss_index super().add_faiss_index( File "/usr/local/lib/python3.10/site-packages/datasets/search.py", line 490, in add_faiss_index faiss_index.add_vectors( File "/usr/local/lib/python3.10/site-packages/datasets/search.py", line 267, in add_vectors import faiss # noqa: F811 File "/usr/local/lib/python3.10/site-packages/faiss/__init__.py", line 18, in <module> from .loader import * File "/usr/local/lib/python3.10/site-packages/faiss/loader.py", line 65, in <module> from .swigfaiss import * File "/usr/local/lib/python3.10/site-packages/faiss/swigfaiss.py", line 13, in <module> from . import _swigfaiss AttributeError: _ARRAY_API not found Traceback (most recent call last): File "/home/user/app/app.py", line 19, in <module> data = data.add_faiss_index("embeddings") # column name that has the embeddings of the dataset File "/usr/local/lib/python3.10/site-packages/datasets/arrow_dataset.py", line 5759, in add_faiss_index super().add_faiss_index( File "/usr/local/lib/python3.10/site-packages/datasets/search.py", line 490, in add_faiss_index faiss_index.add_vectors( File "/usr/local/lib/python3.10/site-packages/datasets/search.py", line 267, in add_vectors import faiss # noqa: F811 File "/usr/local/lib/python3.10/site-packages/faiss/__init__.py", line 18, in <module> from .loader import * File "/usr/local/lib/python3.10/site-packages/faiss/loader.py", line 65, in <module> from .swigfaiss import * File "/usr/local/lib/python3.10/site-packages/faiss/swigfaiss.py", line 13, in <module> from . import _swigfaiss ImportError: numpy.core.multiarray failed to import
Container logs:
Fetching error logs...