onnxruntime
VitisAI EP Context Model
#20926
Merged

VitisAI EP Context Model #20926

glen-amd
glen-amd Initial support for EP context models for VitisAI EP
7f6adcb2
glen-amd Tried fixing a few errors
a94ad9bd
glen-amd Trying address issues of unrecognized ONNX_NAMESPACE::FunctionProto
0c0e2963
glen-amd Tried addressing the issues with defining IndexedSubGraph_SourceOfSchema
c1a2a590
glen-amd Worked around unused variable warning
e40ff6e8
glen-amd const & non-const compatability of class methods
4aaac631
glen-amd Commented out SessionOptions related pieces in VAI EP ctor
4e8e0436
glen-amd Removed or commented out deprecated fields of FunctionProto
ebc02905
glen-amd Compitible with the deprecated FunctionProto fields
3b0b2b03
glen-amd lintrunner -a
d86a3eb2
glen-amd Merge remote-tracking branch 'ms_onnxrt/main' into vitisai-ep-context…
cae97f1e
glen-amd lintrunner -a; merge upstream main
98d7208b
glen-amd
glen-amd glen-amd marked this pull request as ready for review 1 year ago
jywu-msft jywu-msft requested a review from HectorSVC HectorSVC 1 year ago
HectorSVC
HectorSVC commented on 2024-06-05
HectorSVC
HectorSVC commented on 2024-06-05
glen-amd glen-amd changed the title Vitisai ep context model 2 VitisAI EP Context Model 1 year ago
glen-amd Non-optimal approach to accommodating `VitisAIExecutionProvider::Comp…
ecce0387
glen-amd Fixed a couple of piecemeals
2ecacff5
HectorSVC
azure-pipelines
HectorSVC
azure-pipelines
glen-amd Refined some comments
97960571
HectorSVC HectorSVC assigned HectorSVC HectorSVC 1 year ago
glen-amd 1) An alternative implementation of EP context feature for VitisAI EP…
d68d4873
glen-amd Some refactoring
7f5ed75a
glen-amd Added logging
64aeeacb
glen-amd More logging
6a94023f
glen-amd Fixed a few piecemeal errors due to function refactoring
502bead9
glen-amd Fixed missing const specifier
e17f721c
glen-amd Added missing const quantifier
55748330
glen-amd Changed how a couple of header files are included; Renamed .cpp to .cc
8da36b81
glen-amd Changed logics of loading an EP-context model
988fe9c6
glen-amd Removed an extra "}"
d93347b4
glen-amd Refined the file names of EP-context models and context cache (non em…
8d4e2113
glen-amd Handled SessionOptions in Py binding accordingly
a84363f6
glen-amd More logging
0673f2d9
glen-amd Fixed a few failing cases reading cache files
c3f03760
glen-amd More logging
1a967615
glen-amd More logging
c6a8cb4b
glen-amd More logging
9df43891
glen-amd Accommodated a few more cases for backend cache dirs and keys
204fa56f
glen-amd Fixed a typo
812b4f5c
glen-amd Tested an alternative
9442767f
glen-amd Switched on/off for testing
8c7c663c
glen-amd Explicitly used PathString in a platform-independent way
3a1a0bd3
glen-amd Explicitly set log verbosity level
05028018
glen-amd Revert a couple of most recent changes for testing
76769f73
glen-amd Fixed a bug due to previous changes
8abb73c7
glen-amd When a figured-out path is actually not existing, do nothing
bc733782
glen-amd More verbose loggging
9b2cd8ab
glen-amd Switched testing
59a05fba
glen-amd Replace non-ascii chars for nlohman json
1591c41e
glen-amd Added missing namespace nlohmann
1dd43e4d
glen-amd Logging for debug. To be removed
f36ab39e
glen-amd More logging for debugging. To be removed
28576cfc
glen-amd More logging for debugging. To be removed
2b9e6d7a
glen-amd More logging for debugging
6fa47a72
More verbose logging for debugging
c0c0ac3d
glen-amd More verbose logging for debugging
cd99e68a
glen-amd Reverted a change just made
fc9cac41
glen-amd More verbose loggnig for debugging. Note all such logs will be elimia…
7480f5e1
glen-amd More verbose loggnig for debugging. Note all such logs will be elimia…
a1a63bbf
glen-amd More verbose loggnig for debugging. Note all such logs will be elimia…
07e2cc4c
glen-amd `struct Status` vs `class Status`
8a8241cb
glen-amd More verbose logging for verifying ONNXRT memory fault. Note all such…
316c2813
glen-amd More verbose logging for verifying ONNXRT memory fault. Note all such…
ef971523
glen-amd Deleted a bad change previously made
49a3b8d0
HectorSVC
azure-pipelines
HectorSVC
azure-pipelines
glen-amd More verbose logging for verifying ONNXRT memory fault. Note all such…
9efc9148
glen-amd ONLY testing ModelPath() in VerifyNodeAndOpMatch() called in PerformT…
d2129fe7
HectorSVC
glen-amd More verbose loggign to see the at what points of time the ModelPath …
3d09c735
glen-amd
glen-amd More verbose logging for locating where std::bad_alloc happened. Note…
c4c03b94
glen-amd Merge branch 'main' into vitisai-ep-context-model-2
b580b239
HectorSVC
HectorSVC
azure-pipelines
azure-pipelines
github-advanced-security
github-advanced-security commented on 2024-06-14
HectorSVC
HectorSVC
HectorSVC commented on 2024-06-15
glen-amd Commented out part of the verbose logging
f9ab3764
glen-amd Merge branch 'vitisai-ep-context-model-2' of https://github.com/glen-…
c6cfacba
glen-amd Fixed a typo
e3bb6c5a
glen-amd More logging for debugging. Such logging will be eliminated eventually
406c71ea
glen-amd Fixed a slip of pen
985a5e6e
glen-amd Platform compatible PathString
fd5852e9
glen-amd Platform compatible PathString
b8763efe
glen-amd Tried addressing a few warning-as-error type conversion issues on Win…
a365aaeb
glen-amd Squahsed commits
8bfa8f2d
glen-amd Merge branch 'vitisai-ep-context-model-2' of https://github.com/glen-…
e26f95dd
glen-amd Squahsed commits
128f0c99
glen-amd Merge branch 'vitisai-ep-context-model-2' of https://github.com/glen-…
6ec4180b
glen-amd Code cleaning
4e4dfb75
glen-amd Windows/Linux compatible string
b6ab6edd
glen-amd Added more logging
ca18a7a9
glen-amd Tested filesystem::path string
bf8c53b6
glen-amd Changed the timing of validating an EP context model
efd4b9e6
glen-amd Added more validation on the EP context graph
b84bf503
glen-amd Changed how an EP context model is created
1da40f74
glen-amd Changed a function prototype that was missed previously
cc153577
glen-amd Fixed a function signature
dcb05bbe
glen-amd
HectorSVC
HectorSVC
azure-pipelines
azure-pipelines
HectorSVC
HectorSVC commented on 2024-06-17
HectorSVC
HectorSVC commented on 2024-06-17
HectorSVC
HectorSVC commented on 2024-06-17
glen-amd Fixed the issue with model creation with an empty model proto
2b8f9c3f
glen-amd Added an extra graph validation to see if model creation succeeds
55b3a0bc
glen-amd Added extra validation
b9783d02
HectorSVC
HectorSVC commented on 2024-06-18
glen-amd Changed part of how an EP model is created and dumped
f5c981b7
glen-amd Removed changes in core/graph/graph.cc
3e172c80
glen-amd Uncommented a piece of code commented out before for testnig
69fb30ef
glen-amd A piece of refinement
8d5c751f
glen-amd Added more inline comments
d497619c
HectorSVC
HectorSVC
azure-pipelines
azure-pipelines
HectorSVC
HectorSVC commented on 2024-06-18
glen-amd Improved logic for dumping an EP context model and validating an EP c…
156a610b
glen-amd Worked around a "unused variable" warning-error
6ec6b2d5
HectorSVC
HectorSVC
azure-pipelines
azure-pipelines
glen-amd More verbose logging
1019499d
glen-amd More verbose logging. Will eliminate them shortly
0f548d90
glen-amd Forgot to change a function prototype in a header file
972658ef
glen-amd Worked around the case of (1) CreateEpContextModel using Node::Name()…
31615273
glen-amd Fixed an issue of missing "const" specifier
55930fa9
glen-amd Fixed a function declaration signature
720310ca
HectorSVC
HectorSVC
azure-pipelines
azure-pipelines
glen-amd Tested the other approache to EP context cache
126a11e0
glen-amd Fixed issues with extra parentheses forgotten to remove
bc95a8dd
glen-amd Make member variable "info_" mutable
0e185cef
snnn
snnn
azure-pipelines
azure-pipelines
glen-amd Added checking cache file operation
1339ea31
glen-amd Added more checking if cache is empty
b6f69c57
glen-amd Cases where zero compute capabilities are returned
44ddc6b6
glen-amd More verbose logging. To be removed
a29c5a38
HectorSVC
HectorSVC
azure-pipelines
azure-pipelines
glen-amd Added required opset_import to ModelProto
230189b2
glen-amd Added mandatory forward declaration
1ce1edc0
glen-amd Added the compiled ProtoBuf message OperatorSetIdProto declaration
77a17a61
glen-amd Added missing namespace prefix
9f930bf3
glen-amd Added missing const specifiers
42534681
glen-amd Tried to store ModelProto.opset_import
88a5d6cc
HectorSVC
azure-pipelines
HectorSVC
HectorSVC
azure-pipelines
azure-pipelines
glen-amd Changed how to iterator over an nlohamn:json object
fe581566
glen-amd Tried alternative way to stringify a json value
f7f16f07
glen-amd nlohamn::json iterator value reading
e72d5abe
glen-amd More verbose logging. To be removed
f0bcb197
glen-amd Added explicit exception handling for more detailed insights
f0ede0f7
glen-amd Re-organized and cleaned up the code
6c7b8d1b
glen-amd Added missing outer class for FusedNodeAndGraph
86a14be4
glen-amd Fixed a wrong reference to std::reference_wrapper
1ad08006
glen-amd Fixed slip of pen
bbc754ef
glen-amd Fixed calling issues to accommodate newly added code
e2c1c415
glen-amd More verbose logging
39a3feab
glen-amd More verbose logging
189ee887
glen-amd Changed how to access JOSN values for Windows compatibility
b498263b
glen-amd Explicitly converted std::strng to onnxruntime::PathString on Windows
35f66144
glen-amd Added more logging
6c4f78cb
glen-amd Turned on/off switches for different approaches
822cbbfd
glen-amd Turned on/off switches for different approaches
09853e73
glen-amd Turned on/off switches for testing different approaches
4388fe16
glen-amd Added more clearer comments
227bbc3b
HectorSVC
HectorSVC
azure-pipelines
azure-pipelines
HectorSVC
glen-amd
HectorSVC
HectorSVC commented on 2024-06-25
HectorSVC
HectorSVC commented on 2024-06-25
HectorSVC
HectorSVC commented on 2024-06-25
HectorSVC
HectorSVC commented on 2024-06-25
glen-amd Refactory for hiding VitisAI backend details
30b792c8
glen-amd Explicitly added namespace prefix in header files
9de786ce
glen-amd Added some to-be-removed logs
738f8aaa
glen-amd Code cleanup
dc7dd3d4
glen-amd Code cleanup
c78fd8c1
HectorSVC
azure-pipelines
HectorSVC
azure-pipelines
glen-amd Merge branch 'main' into vitisai-ep-context-model-2
7b4194cf
HectorSVC
HectorSVC
azure-pipelines
azure-pipelines
glen-amd Removed un-needed header files
e2aa3d34
HectorSVC
HectorSVC
azure-pipelines
azure-pipelines
glen-amd Merge branch 'main' of https://github.com/microsoft/onnxruntime into …
a2e5de96
glen-amd Made changes according to PR https://github.com/microsoft/onnxruntime…
e3033e4c
glen-amd Got rid of upstream-deprecated onnxruntime::Path::ToPathString()
824c64c0
glen-amd Dealt with platform-dependent PathString and string
44107131
glen-amd Fixed slip of the pen
68bdc65e
HectorSVC
HectorSVC
azure-pipelines
azure-pipelines
HectorSVC
azure-pipelines
HectorSVC
HectorSVC approved these changes on 2024-07-13
HectorSVC HectorSVC merged 281ed8c1 into main 1 year ago

Login to write a write a comment.

Login via GitHub

Assignees
Labels
Milestone