Closed banasraf closed 1 year ago
CI MESSAGE: [7323475]: BUILD STARTED
CI MESSAGE: [7323475]: BUILD FAILED
CI MESSAGE: [7331839]: BUILD STARTED
CI MESSAGE: [7332259]: BUILD STARTED
CI MESSAGE: [7333806]: BUILD STARTED
CI MESSAGE: [7332259]: BUILD PASSED
CI MESSAGE: [7333806]: BUILD PASSED
CI MESSAGE: [7368332]: BUILD STARTED
CI MESSAGE: [7368332]: BUILD PASSED
CI MESSAGE: [7438182]: BUILD STARTED
CI MESSAGE: [7438182]: BUILD PASSED
This PR adds support for
data_id
mechanism enabling decoupled models for video input.Decoupled model in Triton is a model that can send 0...n responses for each request (as opposed to standard models which have 1 to 1 response-request relationship). In case of DALI it lets us utilize video input by sending multiple responses for each sent video file. This is achieved by using the data_id mechanism - it tells us when the video file has been consumed, so we know when to stop processing the current request and accept the next one.
The most important changes are those in dali_executor/** files. The clue of this feature is to set the
data_id
for each request and then correctly determine if the input was consumed.