Tensorrt7 python sample fail but c++ sample ok

Description

I am trying tensorrt TensorRT-7.2.3.4.Ubuntu-16.04.x86_64-gnu.cuda-11.0.cudnn8.1/.
The c++ samples run ok, but when I try the python sample yolov3_onnx, it fails when build the engine.

Loading ONNX file from path yolov3.onnx…
Beginning ONNX file parsing
Completed parsing of ONNX file
Building an engine from file yolov3.onnx; this may take a while…
cooperative_groups/details/helpers.h(294): error: identifier “cudaCGScopeMultiGrid” is undefined

cooperative_groups/details/helpers.h(294): error: identifier “cudaCGGetIntrinsicHandle” is undefined

cooperative_groups/details/helpers.h(299): error: identifier “cudaCGSynchronize” is undefined

cooperative_groups/details/helpers.h(305): error: identifier “cudaCGGetSize” is undefined

cooperative_groups/details/helpers.h(312): error: identifier “cudaCGGetRank” is undefined

cooperative_groups/details/helpers.h(319): error: identifier “cudaCGGetRank” is undefined

cooperative_groups/details/helpers.h(326): error: identifier “cudaCGGetSize” is undefined

cooperative_groups/details/helpers.h(361): error: identifier “__barrier_sync” is undefined

cooperative_groups.h(449): error: identifier “__syncwarp” is undefined

cooperative_groups.h(525): error: identifier “__ballot_sync” is undefined

cooperative_groups.h(528): error: identifier “__ballot_sync” is undefined

cooperative_groups.h(532): error: identifier “__ballot_sync” is undefined

cooperative_groups.h(534): error: identifier “__ballot_sync” is undefined

cooperative_groups.h(566): error: identifier “__activemask” is undefined

cooperative_groups/details/partitioning.h(19): error: identifier “__ballot_sync” is undefined

Environment

TensorRT Version:
TensorRT-7.2.3.4.Ubuntu-16.04.x86_64-gnu.cuda-11.0.cudnn8.1/
GPU Type:
Nvidia Driver Version:
465.19.01

CUDA Version:
cuda 11.3 (cuda 11.0 also fail)
CUDNN Version:
8.1
Operating System + Version:
Python Version (if applicable):
3.6.4

TensorFlow Version (if applicable):
PyTorch Version (if applicable):
Baremetal or Container (if container which image + tag):

Relevant Files

Please attach or include links to any models, data, files, or scripts necessary to reproduce your issue. (Github repo, Google Drive, Dropbox, etc.)

Steps To Reproduce

Please include:

  • Exact steps/commands to build your repro
  • Exact steps/commands to run your repro
  • Full traceback of errors encountered

Hi,

Looks like you’re using an old version of the TensorRT. We recommend you to please try on the latest TensorRT version 8.4 EA.

Thank you.