It appears that the issue you’re experiencing is related to the versions of the DFC (Deep Fusion Compiler) and HailoRT you are using, as well as the version of the HEF (Hailo Executable Format) you have downloaded.
It’s likely that the HEF you have downloaded was generated using a newer version of the DFC, while you are using an older version of HailoRT.
To resolve this, please ensure that you are using compatible versions of the tools:
If you are using HailoRT version 4.17, you should use DFC version 3.27.
If you are using HailoRT version 4.18, you should use DFC version 3.28.
Matching the versions of the DFC and HailoRT is crucial to ensure that the HEF you are using is compatible with the runtime environment.
We’re planning to update the error message to better reflect this versioning issue, so that users can more easily identify and address this problem.
Please let me know if you have any other questions.
It seems like you’re using HailoRT version 4.17. In this case, you have a couple of options:
When accessing the Hailo Model Zoo, look for the tag “2.1.1” which is the latest version compatible with HailoRT 4.17 and DFC 3.27. Download the model with this tag and use it until the new release is integrated into the Raspberry Pi apt repository.
Go to the Hailo Developer Zone on our website and navigate to the downloads section. From there, download the latest PCIe driver and HailoRT, then install them on your Raspberry Pi. This will allow you to use the newest HEF file.
Detailed guidelines on how to install the necessary components are available on the same Hailo Developer Zone page.
Please let me know if you have any other questions.
Can you try removing the PCIe driver by running the following command?
sudo dpkg --purge hailort-pcie-driver
This will completely remove the existing PCIe driver. After that, you can try reinstalling the new driver.
Just to note, the PCIe driver is the same for both the Hailo8 and Hailo8L chips. The only difference is in the HEF (Hailo Executable Format) file you are using - that needs to match the specific Hailo chip you have.
Let me know if removing and reinstalling the PCIe driver helps resolve the issue you were facing. I’m happy to provide further assistance if needed.
dpkg --install hailort-pcie-driver_4.18.0_all.deb
Selecting previously unselected package hailort-pcie-driver.
(Reading database ... 164291 files and directories currently installed.)
Preparing to unpack hailort-pcie-driver_4.18.0_all.deb ...
Could not test for SecureBoot, assuming SecureBoot is disabled on this machine.
Unpacking hailort-pcie-driver (4.18.0) ...
Setting up hailort-pcie-driver (4.18.0) ...
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
build-essential/stable,now 12.9 arm64 [installed]
Do you wish to use DKMS? [Y/n]:
Please reboot your computer for the installation to take effect.
did the reboot
lspci
0000:00:00.0 PCI bridge: Broadcom Inc. and subsidiaries BCM2712 PCIe Bridge (rev 21)
0000:01:00.0 Co-processor: Hailo Technologies Ltd. Hailo-8 AI Processor (rev 01)
0001:00:00.0 PCI bridge: Broadcom Inc. and subsidiaries BCM2712 PCIe Bridge (rev 21)
0001:01:00.0 Ethernet controller: Raspberry Pi Ltd RP1 PCIe 2.0 South Bridge
xxx:/home/pi# hailortcli scan
[HailoRT] [error] CHECK failed - Failed open /sys/class/hailo_chardev/hailo0/accelerator_type
[HailoRT] [error] CHECK_SUCCESS failed with status=HAILO_DRIVER_FAIL(36)
[HailoRT] [error] CHECK_SUCCESS failed with status=HAILO_DRIVER_FAIL(36) - Failed parsing device info for hailo0
[HailoRT] [error] CHECK_SUCCESS failed with status=HAILO_DRIVER_FAIL(36)
[HailoRT] [error] CHECK_SUCCESS failed with status=HAILO_DRIVER_FAIL(36)
[HailoRT] [error] CHECK_SUCCESS failed with status=HAILO_DRIVER_FAIL(36)
[HailoRT] [error] CHECK_SUCCESS failed with status=HAILO_DRIVER_FAIL(36)
[HailoRT CLI] [error] CHECK_SUCCESS failed with status=HAILO_DRIVER_FAIL(36)
Hi, I had the same problem.Firmware Version: 4.17.0 (release,app,extended context switch buffer)
DFC version is 3.28.
I installed it on raspberry pi5 using the sudo apt install hailo-all command. Is there a similar command to update?
If not, what should I do, knowing that sudo apt install hailo-all does not install PCI-drive.So sudo dpkg --purge hailort-pcie driver is useless,If I run it, the following error :dpkg: warning: ignoring request to remove hailort-pcie-driver which isn’t installed