How to Apply Priority/Threshold/Timeout Together in HailoRT Scheduler?

Hello Hailo Support Team,

I have a question about HailoRT scheduler parameters. I’m doing profiling with Round Robin scheduling (generating an HRTT file), and I’m setting the scheduler parameters like this:

# Load & configure model
hef1 = hp.HEF(HEF1)
cfg1 = hp.ConfigureParams.create_from_hef(
    hef1, interface=hp.HailoStreamInterface.PCIe
)
group1 = dev.configure(hef1, cfg1)[0]

print("\n=== Network Group Loaded ===")
print(f"group 1 : {group1.name}")

# Scheduler settings
group1.set_scheduler_priority(PRIORITY1)
group1.set_scheduler_threshold(THRESHOLD1)
group1.set_scheduler_timeout(TIMEOUT_MS)

The issue is that the behavior seems inconsistent:

  • the HRTT report shows behavior consistent with only timeout being applied,

  • Other times the HRTT report shows behavior consistent with only threshold being applied.

Why would this happen? And what should I do to make sure all three parameterspriority, threshold, and timeout — are applied correctly at the same time?

Thanks in advance for any guidance.