TensorRT: Cask Error in checkCaskExecError: 7 (Cask Convolution execution)
When I run my model in TensorRT,it get an error like this:
[TensorRT] ERROR: ../rtSafe/cuda/caskConvolutionRunner.cpp (245) - Cask Error in checkCaskExecError<false>: 7 (Cask Convolution execution)
[TensorRT] ERROR: FAILED_EXECUTION: std::exception
I wonder which condition may lead to this error? Thanks.
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 16
The last time I encountered a similar problem, it was because cuda context was initialized in one thread while TensorRT engine was executed in another thread. The problem was solved once I moved all cuda init and TensorRT inference code into the same thread.
Reference: