InferVStreams.infer() does not return when a Queue, Processes and Event are created

InferVStreams.infer() works fine after loading two HEF files, creating one VDevice, two network groups and setting dataset params.

As soon as we create one Queue, a couple of Processes and one Event after loading the HEF files, creating the VDevice and two network groups the first call to InferVStreams.infer() never returns.

HailoRT 4.20.0 at RPI5 kernel 6.12.34 Bookworm 2025-06-26 with Hailo8

What can we do to use HailoRT and have a Queue, Processes and Events?

The process that sets up the VDevice etc and calls infer() inserts data into the Queue, but is otherwise not connected to the other Processes and Events.

Hope that helps to find a solution.

Hey @Klaus ,

Welcome back to the Hailo Community!

I recommend checking out how we do multipile hefs for one device in this example : Hailo-Application-Code-Examples/runtime/hailo-8/python/paddle_ocr at main · hailo-ai/Hailo-Application-Code-Examples · GitHub