Description
trtexec couldn’t find my Layernorm plugin when I was building the engine.
trtexec --explicitBatch --plugins=LayerNormPlugin.so --minShapes=hyps_pad_sos_eos:1x10x64,encoder_out:1x16x256,encoder_out_lens:1,hyps_lens_sos:1x10,ctc_score:1x10 --optShapes=hyps_pad_sos_eos:4x10x64,encoder_out:4x64x256,encoder_out_lens:4,hyps_lens_sos:4x10,ctc_score:4x10 --maxShapes=hyps_pad_sos_eos:64x10x64,encoder_out:64x256x256,encoder_out_lens:64,hyps_lens_sos:64x10,ctc_score:64x10 --onnx=decoder-surgeon.onnx --saveEngine=decoder.plan
Environment
TensorRT Version: 8.2
GPU Type: T4
Nvidia Driver Version: 470
CUDA Version: 11.4