Skip to content

RuntimeError: Cannot return the results in a contiguous 2D array. Probably ef or M is too small #608

@esmailoghli

Description

@esmailoghli

This error occurs regardless of how much I increase M and ef.
My index has around 80k elements, so it is not very small so that the requested K vectors are not fetched, and the error only happens when I have deleted some elements in the process, i.e., marked as delete.
However, if I don't delete vectors in the process, the error is never raised.

Anyone has faced this issue with deleting vectors and facing this error?

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