How to know when to stop generating new DLA context?

Hi,

In general, DLA can only support up to 4 contexts.
So you will meet NvMediaDlaLoadLoadable error when more than 4 DLA stream is created.

The second error might be related to the DLA limitation.
Since DLA is an extra hardware, the memory for serializing model weights is limited.

Thanks.