-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[DML EP] Enable DML Graph Serialization (#19505)
### Description This PR adds a feature to serialize all DML EP partitions into DML currency individually for a given a model. This feature can be dynamically turned on by using DML EP option `ep.dml.enable_graph_serialization`. ### Motivation and Context - Why is this change required? What problem does it solve? Useful when user want to capture the DML EP specific partition into DML currency to mitigate the dependency on the framework. <!-- - If it fixes an open issue, please link to the issue here. -->
- Loading branch information
Showing
41 changed files
with
5,203 additions
and
454 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
570 changes: 570 additions & 0 deletions
570
onnxruntime/core/providers/dml/DmlExecutionProvider/src/ApiTraits.cpp
Large diffs are not rendered by default.
Oops, something went wrong.
554 changes: 554 additions & 0 deletions
554
onnxruntime/core/providers/dml/DmlExecutionProvider/src/DmlGraphDeserialization.cpp
Large diffs are not rendered by default.
Oops, something went wrong.
247 changes: 204 additions & 43 deletions
247
onnxruntime/core/providers/dml/DmlExecutionProvider/src/DmlGraphFusionHelper.cpp
Large diffs are not rendered by default.
Oops, something went wrong.
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.