Skip to content

use CustomGeluPluginDynamic segmentation fault! #2302

@oreo-lp

Description

@oreo-lp

Description

When I use the TensorRT C++ API and Layernorm plugin to build my network, it's segmentation fault! I debug the Layernorm.cpp, it's wrong in this code:

ld = *static_cast<const int*>(fc->fields[i].data);

and same problem occur in CustomGeluPluGin:
typeId = *static_cast<const int*>(fc->fields[i].data);

and how to solve the bug?

Environment

TensorRT Version: 8.4.0
NVIDIA GPU: T4
CUDA Version: 10.2
CUDNN Version: 8.3.2
Operating System: Linux

Metadata

Metadata

Assignees

Labels

triagedIssue has been triaged by maintainers

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions