[HailoRT] [error] CHECK_SUCCESS failed with status=HAILO_OUT_OF_PHYSICAL_DEVICES(74)

I got the error : [HailoRT] [error] CHECK_SUCCESS failed with status=HAILO_OUT_OF_PHYSICAL_DEVICES(74)

Is it possible to solve it without reboot the raspberry and hailo ?

Thanks

Hey @user82,

Yes, this can happen when an application using Hailo didn’t close properly. The simple fix is to:

  1. Open your terminal
  2. Run htop
  3. Look for any running Hailo
  4. Kill the remaining process

This should resolve the issue and free up your device.

Best regards,
Omria

1 Like

As @omria has correctly mentioned, this occurs when the device is essentially in use by another process / not shutdown correctly. To avoid this, ensure you always release the device once finished with it

Taking the HRT_2_Infer_Pipeline_Inference_Tutorial python code as an example,

you might declare your VDevice as follows:

# The target can be used as a context manager ("with" statement) to ensure it's released on time.
# Here it's avoided for the sake of simplicity
target = VDevice()

# other config code etc here
...

If you try to rerun that same block of code again, you’ll hit this error [HAILO_OUT_OF_PHYSICAL_DEVICES(74)](https://community.hailo.ai/t/hailort-error-check-success-failed-with-status-hailo-out-of-physical-devices-74/9511)

but if you include a simple:

target.release()

then it’ll run as expected again.

1 Like