Error in TensorRT plugin in xavier


I transfered centernet to xavier.

there is a custom layer name dcnv2 in this model.

I copy plugin in github: TensorRT7-DCNv2-Plugin/DCNv2 at master · lesliejackson/TensorRT7-DCNv2-Plugin · GitHub.

It is ok in my server (2080TI, cuda11.0, TensorRT7.2, cudnn8.0)

But when I test the same code in my xavier, error happened

I have make it clear that the reason is that the initialize function has operation like cudamalloc, new .

but in enqueue function, the pointer head still equal to nullptr.

If I move memory operation to enqueue, the inference time should be double.

So how Can I solve this?

Need your help,

Thanks, Cheng.


Do you have any dependency on TensorRT 7.2?
Since the latest TensorRT version for Jetson is still v7.1.3.


You are right.

So could you tell me the solution?

where can I do cudamalloc that would not lead to nullptr?


There is no update from you for a period, assuming this is not an issue any more.
Hence we are closing this topic. If need further support, please open a new one.


What kind of cudamalloc do you use?
Could you share the line with us?