Skip to content

Make faiss an optional dependency and use it only if present #512

@zyteka

Description

@zyteka

#511 introduced faiss-cpu as a dependency to speed up the computation of similar examples. This package may not be as maintained as we'd like, so we should make it an optional dependency, and the similar examples code should set fast to False automatically if faiss is not installed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions