Skip to content

Querying with a 20-item array is much more than 20 times slower than querying with 1-item array. #53

@suzaku

Description

@suzaku

When comparing index.search of IndexFlatL2 with sklearn's kneighbors implementation, I found that:

  1. faiss was several times faster when searching with 1-item arrays
  2. faiss was much slower when searching with many items at a time

I'm using faiss with OpenBLAS.

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