Skip to content

[Feature Request] Add Huawei Ascend NPU Hardware Acceleration Support #4759

Description

@autoxj

Hello FAISS community,

We have implemented an experimental backend for FAISS that enables vector search algorithms to run on Huawei Ascend NPUs. This is achieved through the Ascend Computing Language (ACL) interface, leveraging the AICORE's compute power for operations like distance calculations and index traversal (e.g., Flat).

Given FAISS's role as a foundational library for efficient similarity search, we believe adding NPU support could provide the community with a valuable new hardware acceleration option. Our implementation aims to follow FAISS's design patterns (e.g., similar to the GPU resource abstraction) to ensure clean integration.

We hope to contribute this work upstream. Before proceeding, we seek the maintainers' guidance on:

Whether there is interest in adding an NPU backend.

The preferred integration approach and any architectural constraints.

The required testing and benchmarking standards.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions