Skip to content

Add GPU index functions C API #4412

@HaoSun1993

Description

@HaoSun1993

Justification and Proposal
Faiss supports a series of compatible C APIs that facilitate binding to other languages easily. Recently, A commit was introduced in the Lucene repo, integrating the Faiss library as a new codec in Lucene, which makes a reality of using Faiss in Lucene. And this commit relies on the Faiss C APIs.

The fascinating part of Faiss is its support for GPU indices, especially CAGRA. We are exploring using Lucene to build a GPU index (GAGRA and others) by utilizing FAISS internally. However, it is a bit outdated under the c_api folder. Many GPU index functions haven't synced with the original FAISS codes. So we propose adding corresponding GPU index features in C APIs.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions