You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, importing LuceneSearcher fails if faiss and torch aren't installed. (They aren't installed by design because they're platform-specific, see: https://github.com/castorini/pyserini#installation)
Currently, importing
LuceneSearcher
fails if faiss and torch aren't installed. (They aren't installed by design because they're platform-specific, see: https://github.com/castorini/pyserini#installation)This is likely caused by the imports in the following init file: https://github.com/castorini/pyserini/blob/master/pyserini/search/__init__.py#L23-L26
A fix would need to modularize those imports.
If no one gets to it before me, I will attempt to send a PR to fix this.
The text was updated successfully, but these errors were encountered: