Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Ascend NPU support. #2716

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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