I found that the number of DLA contexts, that could be loaded simultaneously, is subject to change depending on DNN models, but I want to know more specific conditions when the “NvMediaDlaLoadLoadable” error occurs.
What budget interrupts building a new DLA context? and also could you tell me the size of this budget?
When I loaded 4 alexnet DLA contexts, I faced the error “NvMediaDlaLoadLoadable : load loadable failed.”. Could you tell me the exact limitation? and how to know when to stop loading new DLA context?
xavier@casys:~/TensorRT_sample$ cp alexnet_dla0.engine dla.engine
xavier@casys:~/TensorRT_sample$ ./test 0 0 0 0 0
Load engine from :dla.engine
Load engine from :dla.engine
Load engine from :dla.engine
Load engine from :dla.engine
Load engine from :dla.engine
NvMapMemAllocInternalTagged: 1074810371 error 12
NvMapMemHandleAlloc: error 12
NVMEDIA_DLA : 1686, ERROR: runtime loadBare failed. err: 0x6.
ERROR: ../rtExt/dla/native/dlaUtils.cpp (166) - DLA Error in deserialize: 7 (NvMediaDlaLoadLoadable : load loadable failed.)
Segmentation fault (core dumped)
When I loaded 3 inception_v3 DLA context, I faced the error “NvMediaDlaInit : Init failed.” Why this error message is different from the above case?
xavier@casys:~/TensorRT_sample$ cp inception_v3_dla0.engine dla.engine
xavier@casys:~/TensorRT_sample$ ./test 0 0 0 0
Load engine from :dla.engine
Load engine from :dla.engine
Load engine from :dla.engine
NVMEDIA_DLA : 1250, ERROR: runtime init failed. err: 0x4.
ERROR: ../rtExt/dla/native/dlaUtils.cpp (154) - DLA Error in deserialize: 7 (NvMediaDlaInit : Init failed.)
Segmentation fault (core dumped)