Error run 2 context parallel in TensorRT7

To chime in on this, seeing a similar memory corruption when running multiple execution contexts in multiple threads. Placing a global mutex around the calls to enqueue() seems to fix the issue – but according to the docs individual execution context objects should be thread safe? Same code worked flawlessly in 6.0.1.5.

2 Likes