Hi,
You will need to handle the CUDA context push/pop when running TensorRT in thread. Please find below comment for an example:
Thanks.