-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor MNN_KleidiAI interface to support more model types, and facilitate subsequent KleidiAI ukernels' integration. Re-abstract information stored in class KleidiAI: 1) static info: not related to loaded model, initialized when interface is constructed and never changed. 2) status: will change while pipeline is running. Let interface and loaded model decouple for more complex mix of multiple types of models. Add mAccelType in MNN data structure, kleidiAI interface will rely on this type to decide which branch to go. Move some pack functions to mnn_kleidiai_util.cpp. Add CPU feature detection in source/backend/cpu/CPURuntime.hpp. Subsequent ukernels need SME information.
- Loading branch information
1 parent
f0454f6
commit 82efb15
Showing
12 changed files
with
945 additions
and
452 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.