NVIDIA / NVIDIA/TensorRT

GroupNorm Plugin: Assertion failed: params.c % params.cPerBlock == 0 && params.hw % params.hwPerBlock == 0 /workspace/TensorRT/plugin/groupNormPlugin/groupNormKernel.cu:138 Aborting...

Open
#2,690 5 comments 0 reactions 1 assignee View on GitHub

@samurdhikaru is already working on this.

Since Feb 18, 2023.

triaged
Dominant language
C++
Stars
13.4k
Forks
2.4k
Avg merge
5d 3h
Merged PRs (30d)
2

Description

Description

When I try to compile a model that contains several groupnorm plugin layers I get this error message when trtexec start the inference benchmark:

[02/17/2023-11:03:04] [I] Created output binding for output with dimensions 1x3x512x512
[02/17/2023-11:03:04] [I] Starting inference
[02/17/2023-11:03:04] [F] [TRT] Assertion failed: params.c % params.cPerBlock == 0 && params.hw % params.hwPerBlock == 0
/workspace/TensorRT/plugin/groupNormPlugin/groupNormKernel.cu:138
Aborting...

What is causing this issue and how to solves it?

Environment

TensorRT Version: v8500
NVIDIA GPU: A100-40 GB
CUDA Version: 11.8
Operating System: Ubuntu 20.04

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.