-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Closed
Labels
ep:TensorRTissues related to TensorRT execution providerissues related to TensorRT execution providerstaleissues that have not been addressed in a while; categorized by a botissues that have not been addressed in a while; categorized by a bot
Description
Describe the issue
If trt_dump_ep_context_model is set to optimize setup performance the decryption step is not done, the code in Status TensorRTCacheModelHandler::GetEpContextFromGraph(const GraphViewer& graph_viewer) only looks for the unencrypted file, while if encryption is enabled and an encryption library is provided its encrypt function is called to encrypt the function (and the .encrypted extension added).
To reproduce
Set the trt_dump_ep_context_model flag and set up encryption, you get an encrypted file but when read back the code only looks for the unencrypted file.
Urgency
We have already given up on being able to use your encryption for our next release, so it is not that urgent for us.
Platform
Windows
OS Version
10 & 11
ONNX Runtime Installation
Built from Source
ONNX Runtime Version or Commit ID
1.20
ONNX Runtime API
C++
Architecture
X64
Execution Provider
TensorRT
Execution Provider Library Version
CUDA 11.8, TrT 10.4.0.26
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
ep:TensorRTissues related to TensorRT execution providerissues related to TensorRT execution providerstaleissues that have not been addressed in a while; categorized by a botissues that have not been addressed in a while; categorized by a bot