Skip to content
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

Reduction not supported with ScatterNd in opset 16 #957

Open
aboubezari opened this issue Mar 11, 2024 · 0 comments
Open

Reduction not supported with ScatterNd in opset 16 #957

aboubezari opened this issue Mar 11, 2024 · 0 comments

Comments

@aboubezari
Copy link

Description

The ONNX ScatterND layer in opset 16 supports a reduction argument.
In onnx2trt, ScatterND is simply lowered to iScatterLayer, which does not take a reduction argument.
We should update this with a clear error message or add reduction support.

Environment

TensorRT Version: 8.6.1
ONNX-TensorRT Version / Branch: 8.6 GA release
GPU Type: A4000
Nvidia Driver Version: 535
CUDA Version: 12.2
CUDNN Version: 8.9.5
TensorFlow + TF2ONNX Version (if applicable): 2.15, 1.17

Steps To Reproduce

Use any onnx model with ScatterND max reduction and you can see the TensorRT model does not respect reductions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant