-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[NPU] Create compiler adapter class (#27006)
### Details: - *Create a new CompilerAdapter interface that hides different implementations of CIP and CID* - *iCompiler remains an interface only for CIP. This keeps CIP (developed in another repository) decoupled from L0* - we still use NetworkMetadata in the plugin flow, which needs to be decided later if is still needed or if it can be removed - *Graph object is created by compiler_adapter* - *Backend doesn't create/initialize graph any longer* - *Moving common objects for backend and compiler_adapter to utils/zero/* - *Destroy blob on the import path after we load the weights into the NPU memory* - *Create a new property to postpone weights loading until the creation of the first inference request, by default is performed right after the model is compiled - NPU_DEFER_WEIGHTS_LOAD* A short description of the new format: ![Screenshot 2024-10-30 151129](https://github.com/user-attachments/assets/89f86c36-f3e8-4906-8394-7cd0ae5617a2) ### Tickets: - *CVS-153081* --------- Signed-off-by: Bogdan Pereanu <bogdan.pereanu@intel.com>
- Loading branch information
Showing
73 changed files
with
2,620 additions
and
2,544 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
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.