onnxruntime/onnxruntime/core
Patrice Vignola 76434907fb
[DML EP] Add graph capture (#20257)
This adds a new "Graph Capture" option to the DML ep, similar to the
cuda graph functionality. Here's how graph capture works:

- A user can enable graph capture in the session options by setting
`ep.dml.enable_graph_capture` to `true`
- When they want to capture a run, they set `gpu_graph_id` in their
`RunOptions` to a number bigger than 0 (0 is reserved for internal use
according to the cuda graph documentation).
- Then, when they start the inference, the graph will be captured and
stored in the DML EP for future use
- When they execute the run for a second time with the same id, the
`ReplayGraph` function in the DML EP will be called instead of executing
the kernels, resulting in very low overhead and avoiding kernel
recompilation.

This feature can give up-to-par or even better performance than
specifying the static dimensions at session creation time, but is also
much more flexible.
2024-04-18 10:15:00 -07:00
..
codegen
common Reduce heap contention in Tokenizer (#20196) 2024-04-10 12:12:17 -07:00
dll
dlpack
eager
flatbuffers [On-Device-Training] Upgrade Flatbuffers to Support 2GB+ Checkpoints. (#19770) 2024-03-14 16:36:24 -07:00
framework enable model with external data be loaded from memory buffer (#19089) 2024-04-17 19:01:01 -07:00
graph enable model with external data be loaded from memory buffer (#19089) 2024-04-17 19:01:01 -07:00
language_interop_ops
mickey Enable CUDA EP unit testing on Windows (#20039) 2024-03-27 13:32:36 -07:00
mlas [MLAS][AArch64] SQNBitGemm M>1 CompFp32 kernel optimization (#20319) 2024-04-17 17:50:26 -07:00
optimizer Integration with ONNX 1.16.0 (#19745) 2024-04-12 09:46:49 -07:00
platform Add helper to get errno and error message (#20324) 2024-04-17 21:17:36 +10:00
providers [DML EP] Add graph capture (#20257) 2024-04-18 10:15:00 -07:00
quantization
session [DML EP] Add graph capture (#20257) 2024-04-18 10:15:00 -07:00
util Enable CUDA EP unit testing on Windows (#20039) 2024-03-27 13:32:36 -07:00