Onnx GroupNorm Op21 failed in TensorRT 10.7 #4336
Labels
internal-bug-tracked
Tracked internally, will be fixed in a future release.
ONNX
Issues relating to ONNX usage and import
triaged
Issue has been triaged by maintainers
Description
Onnx
GroupNormalization
is introduced in Opset 18 and has an update in Opset 21. It changes the input shape ofscale
andbias
from(G)
to(C)
to comply with the original paper and torch implementation.https://onnx.ai/onnx/operators/text_diff_GroupNormalization_18_21.html
TensorRT can run GroupNormalization Op18, but it fails to run the latest Op version.
Environment
TensorRT Version: 10.7.0
NVIDIA GPU: NVIDIA A100 80GB PCIe
NVIDIA Driver Version: 565.57.01
CUDA Version: 12.7
CUDNN Version: 9.6.0
Operating System: Linux
Baremetal or Container (if so, version): nvcr.io/nvidia/tensorrt:24.12-py3
Relevant Files
Model link:
Opset21
Opset18
Steps To Reproduce
The error is raised from INormalizationLayer:
Full logs:
Have you tried the latest release?: Yes
Can this model run on other frameworks? For example run ONNX model with ONNXRuntime (
polygraphy run <model.onnx> --onnxrt
): YesThe text was updated successfully, but these errors were encountered: