TensorRT inference context in ROS callback

I’m noticing this error message has been reported elsewhere:

I am getting this error when I have tensorRT and another pycuda program both accessing the GPU (one after the other) in a ROS callback like documented here