Deepstream-test3:rebuild engine

Please provide complete information as applicable to your setup.

• Hardware Platform (Jetson )
**• DeepStream Version 5.0
**• JetPack Version (valid for Jetson only)4.5.1
**• TensorRT Version7.1.3
**• Issue Type( questions)
When the number of input sources changed,DS will try to rebuild a new engine file.
why this and can I turn it off?
thanks!

Can you upgrade to DS 5.1?

I’ve upgraded to DS 5.1,how can I turn off?Thanks

Can you have a try to set batch-size to the max number of the source?

https://docs.nvidia.com/metropolis/deepstream/dev-guide/text/DS_plugin_gst-nvinfer.html#id2