lsy643 opened a new pull request #7162:
URL: https://github.com/apache/tvm/pull/7162


   When we are deploying a SSD model in a cpu ctx and offload the backbone to 
Tensorrt with BYOC, if the TVM_TENSORRT_CACHE_DIR is set, there will be a 
segmentation fault when loading the Tensorrt engine from cache, which is caused 
by the `device_buffers` of `TensorRTEngineAndContext` is not initialized 
correctly.
   
   This issue is fixed by adding `device_buffers initialization` in the 
`BuildEngine` of `TensorRTRuntime`
   
   Please review @masahi @comaniac 


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to