-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
ScatterND Plugin not found while converting onnx into tensorrt model #805
Comments
Hi, sunilpankaj. Maybe you should register the ScatterND in builtin_op_importers. The builtin_op_importers write the logical operations that tensorrt called when onnx-tensorrt try to convert onnx model to trt engine. BTY, you also can implement the ScatterND with plugin manner, like plugin. Last but not least, DEFINE_BUILTIN_OP_IMPORTER(ScatterND){} is must if you want the onnx-tensorrt parse you own ScatterND operation. Hope this can help U~. |
I encountered the same problem as OP. |
Hello @sunilpankaj @zldrobit |
I also meet the [TensorRT] ERROR: INVALID_ARGUMENT: getPluginCreator could not find plugin ScatterND version 1 |
Same here |
能提供一份实例代码嘛,谢谢 |
Have you guys converted to tensorrt 7.1x sucessfully? Thanks |
If it has the tourial for creating the custom operator, it will be good |
FYI, ScatterND is native op in next TRT release, in about 2 months, thanks |
Hi @ttyio |
Hi @alicera , |
Hi @ttyio |
Hi @alicera
For C++, you can use getInferLibVersion(), thanks |
Hi @ttyio |
Hi @alicera |
@ttyio - so apparently the 21.07 TensorRT container includes the ScatterND plugin. - Do you know if there some way to install this, natively? |
@LukeAI I did build successfully ScatterBN plugin with Tensorrt 7.2.2.3. You just clone the repo with your expected version and copy folder ScatterND in folder plugin then rebuild your tensorrt. |
Hi, can it work with ScatterElements op ? |
@htran170642 where the repo? |
I think ScatterND is supported as of TRT 8.4 EA. @rajeevsrao could you confirm? |
this repo: https://github.com/NVIDIA/trt-samples-for-hackathon-cn |
Yes, TensorRT 8.4 EA release has support for ONNX ScatterND Operator. @sunilpankaj can you give it try? |
Closing for now due to >14 days with no response. Please feel free to reopen if the issue still exists. Thanks |
hello, can you make a tutorial for making ScatterND Plugin on TensorRT 7.2.2.3 ? thx very much! |
Able to convert pytorch model into onnx and validated onnx output with pytorch. it's working fine. But when I try to convert onnx into tensorrt engine, it fails at onnx parser and return this error.
[TensorRT] ERROR: INVALID_ARGUMENT: getPluginCreator could not find plugin ScatterND version 1
Onnx version : 1.6.0
Tensorrt version : 7.1.3.4
Can anyone please help here, how can I add ScatterND plugin in python and how can I use it ? Is there any other way to solve this problem ?
Thanks in advance.
The text was updated successfully, but these errors were encountered: