Skip to content

Conversation

@xiaoloongfang
Copy link

Motivation

I’ve noticed that ONNX Runtime natively supports Ascend NPU, as referenced in the ONNX Runtime-CANN-ExecutionProvider. Additionally, many developers, including myself, are using InsightFace on Ascend NPU devices, as seen in this PR. With that in mind, I would like to contribute by enhancing the integration of Ascend NPU with InsightFace.

Change

This contribution introduces Ascend NPU as a new backend for InsightFace. Unlike this PR, this change ensure that the Ascend NPU backend is added when an Ascend device is available.

Test

We ran the examples/in_swapper code, and the functionality works as expected.

t1_swapped
t1_swapped2

@Jimmy-ajia
Copy link

Jimmy-ajia commented Jan 8, 2025 via email

@xiaoloongfang
Copy link
Author

Hi, @Jimmy-ajia @yingfeng , pls take a look at this PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants