-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Debugging the Custom Plugins #2
Comments
Do you mean you met error during enqueue? should be caused by the kernel implementation? |
I would suggest to debug it using cuda-gdb |
Thank you @zerollzeng, |
It's the input of you plugin, so it depends on how do you configure it. |
Hi @zerollzeng if my input of my Plugin is something like this
will the inputs be passed with the same style as passed here or will they be flattened? e.g. should I access the tpg_input_1 like
Thanks |
Yes. |
@jeethesh-pai You can pull the latest change, I made the default input/output data format in linear format. |
I just cloned the new version, can you tell me how you debug this library file. Right now I am using cuda-gdb trtexec_debug --loadEngine "someEnginefile.engine" --workspace 16000 --plugins <path to libPlugin.so file> But I get the value of Thanks a lot for your help |
trtexec use random inputs. There is also a |
Thanks. I will try this and reach out |
I tried using the method mentioned here. But still the variable inputs says 0 everywhere. |
I tried MultiScaleDeformableAttn plugin of TensoRT8 on TensorRT7, I can convert onnx to trt file via trtexec, buts output of MultiScaleDeformableAttn plugin is all zero, just same as here |
请问你解决了这个问题了吗?我也遇到了相同的问题 |
Thank you so much for this wonderful repository. This helped to create custom plugin library in the most efficient way. Is there a way to test the enqueue function because there seems to be some bugs associated with the kernel calculations?
Thanks in advance
Jeethesh
The text was updated successfully, but these errors were encountered: