TensorRT7 Runtime Assertion Error

My inference code and model run well on tensorrt6, I want to test if tensorrt7 has some performance improvements, but I reported the following error, I want to know how to solve it. The error message is as follows.

python: …/builder/cudnnBuilderGraphNodes.h:217: void nvinfer1::builder::fromSymbolicHelper(nvinfer1::builder::Graph&, Node_&) [with Node_ = nvinfer1::builder::RefittableNodeT<(nvinfer1::builder::NodeType)3, nvinfer1::PoolingParameters, true, 479u>]: Assertion `node.expr != nullptr && “node does not have an expression to flip from”’ failed.
Aborted (core dumped)

Hi, Please provide the following information, including a sample model, sample script, and any commands that are ran to reproduce this error:

Provide details on the platforms you are using:
Linux distro and version
GPU type
Nvidia driver version
CUDA version
CUDNN version
Python version [if using python]
Tensorflow version
TensorRT version
If Jetson, OS, hw versions

Describe the problem


Files

Include any logs, source, models (.uff, .pb, etc.) that would be helpful to diagnose the problem.

If relevant, please include the full traceback.


Reproducibility

Please provide a minimal test case that reproduces your error.