Skip to content

Could not find any implementation for node /network.0/network.0.0/norm1/LayerNormalization. #3610

@demuxin

Description

@demuxin

Description

I customized TensorRT's Col2Im plugin, recompiled the source code of TensorRT8.5, and generated a new nvinfer_plugin library.
This is the LayerNormalization node information in the model,

image

So I modified the file plugin/layerNormPlugin/layerNormPlugin.cpp,

- static std::string const kLAYER_NORM_PLUGIN_NAME{"LayerNorm"};
+ static std::string const kLAYER_NORM_PLUGIN_NAME{"LayerNormalization"};

When I started building the model engine, an error message appeared:

WARN:  Skipping tactic 0x0000000000000000 due to exception Assertion status == kSTATUS_SUCCESS failed. 
WARN:  Skipping tactic 0x0000000000000000 due to exception Assertion status == kSTATUS_SUCCESS failed. 
ERROR:  10: [optimizer.cpp::computeCosts::3728] Error Code 10: Internal Error (Could not find any implementation for node /network.0/network.0.0/norm1/LayerNormalization.)
ERROR:  2: [builder.cpp::buildSerializedNetwork::751] Error Code 2: Internal Error (Assertion engine != nullptr failed. )

Environment

TensorRT Version: 8.5.3.1

NVIDIA GPU: GeForce GTX 1080 Ti

NVIDIA Driver Version: 535.146.02

CUDA Version: 11.8

CUDNN Version: 8.6.0

Operating System: ubuntu18.04

May I ask what is the reason for this problem and how to solve it?

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