Hello, I’m trying to do inference for a Convolutional Network on RTX 3060. When I ran my python script, I got a pyCUDA error: Illegal Memory Access. My test env is Ubuntu 22.04, and RTX 3060 GPU. I have tried to recompile my ONNX model and rebuild the TensorRT engine.
This is the log I get:
[12/03/2022-17:05:21] [TRT] [E] 1: [cudaDriverHelpers.cpp::operator()::29] Error Code 1: Cuda Driver (an illegal memory access was encountered)
[12/03/2022-17:05:21] [TRT] [E] 1: [cudaDriverHelpers.cpp::operator()::29] Error Code 1: Cuda Driver (an illegal memory access was encountered)
PyCUDA WARNING: a clean-up operation failed (dead context maybe?)
cuMemFreeHost failed: an illegal memory access was encountered
PyCUDA WARNING: a clean-up operation failed (dead context maybe?)
cuMemFree failed: an illegal memory access was encountered
PyCUDA WARNING: a clean-up operation failed (dead context maybe?)
cuMemFreeHost failed: an illegal memory access was encountered
PyCUDA WARNING: a clean-up operation failed (dead context maybe?)