Description
Description
Cannot build a "yolov4-tiny" TensorRT engine for DLA core on Jetson Xavier NX due to the following error. (I have previously reported this issue on NVIDIA Developer Forum but do not get a response for over 2 weeks. So I'm re-posting the issue here.)
[09/29/2020-17:08:38] [E] [TRT] ../builder/cudnnBuilder2.cpp (1757) - Assertion Error in operator(): 0 (et.region->getType() == RegionType::kNVM)
[09/29/2020-17:08:38] [E] Engine creation failed
[09/29/2020-17:08:38] [E] Engine set up failed
Environment
TensorRT Version: 7.1.3.4
GPU Type: Jetson Xavier NX
Nvidia Driver Version: JetPack-4.4
CUDA Version: 10.2
CUDNN Version: 8
Operating System + Version: 4 4.9.140-tegra
Python Version (if applicable): 3.6
Baremetal or Container (which commit + image + tag): baremetal
Relevant Files
Steps To Reproduce
Download yolov4-tiny-416.onnx and try generating an INT8 TensorRT engine for DLA core 0 with "trtexec".
$ /usr/src/tensorrt/bin/trtexec \
--onnx=yolov4-tiny-416.onnx \
--fp16 --int8 --useDLACore=0 \
--allowGPUFallback \
--workspace=1024 --warmUp=2 \
--dumpProfile --verbose
......
[09/29/2020-17:08:38] [E] [TRT] ../builder/cudnnBuilder2.cpp (1757) - Assertion Error in operator(): 0 (et.region->getType() == RegionType::kNVM)
[09/29/2020-17:08:38] [E] Engine creation failed
[09/29/2020-17:08:38] [E] Engine set up failed
Note that the same "trtexec" command runs successully if I remove the "--useDLACore=0" option (build the INT8 engine for GPU instead of DLA core).