Hi All,
Any help would be greatly appreciated, I have been trying to get this to work for days.
I recently bought the Hailo 26 TOPS for the NPU inference as I require it for a custom project. I have spent days trying the downloads from the “Developer Zone”, though no option proves sucessful. Where are the new set up files for Raspberry Pi? Why does 4.21 and 4.20 keep giving me errors? Am I missing something? I also tried the most recent v5.0 files from GitHub and it appears to be missing a makefile.
This is a critical project and as said, any assistance with getting the Hailo operating on the Pi5 would be greatly apprecited.
Thank you but I have tried that already. I get the below result
$ hailortcli fw-control identify
[HailoRT] [error] CHECK failed - Driver version (4.21.0) is different from library version (4.20.0)
[HailoRT] [error] Driver version mismatch, status HAILO_INVALID_DRIVER_VERSION(76)
[HailoRT] [error] CHECK_SUCCESS failed with status=HAILO_INVALID_DRIVER_VERSION(76)
[HailoRT] [error] CHECK_SUCCESS failed with status=HAILO_INVALID_DRIVER_VERSION(76)
[HailoRT] [error] CHECK_SUCCESS failed with status=HAILO_INVALID_DRIVER_VERSION(76)
[HailoRT CLI] [error] CHECK_SUCCESS failed with status=HAILO_INVALID_DRIVER_VERSION(76)
Hi Stephan,
I have tried those packages and I even used the 5.0 package from GitHub. I have had some packages register with my system but it would not connect with my Hailo processor. I have even encountered the attached error with 4.21 that it would not be recognised by my systems. It will tell me no module found although installed meticulously and could still show me the module afterwards.
Hi @Troy_McIntyre, a ModuleNotFoundError for hailort is a bit different from an installation error.
To import HailoRT in Python, you’ll need to do import hailo_platform. If you want TAPPAS, you’ll need to do an import hailo. It’s not possible to do an import hailort for recent HailoRT releases.
I am, however, still unsure of how to resolve the initial issue. I imagine the best way is to outright remove all Hailo apt packages, then, depending on OS, reinstalling them.
On Raspberry Pi OS, you’ll just need a sudo apt install hailo-all. On Ubuntu, you’ll need to do dpkg -i <.deb-file-here> or `pip install <.whl-file-here> on software downloadable from the Hailo Developer Zone.
Hello @Troy_McIntyre, what exactly are you trying to do and what is failing?
This recent python import issue is not related to the original issue, correct?
Also, what do you mean by this?
Please provide some more details so I can help you
Hi Ray,
If you look at the first reply, they gave the same instructions as you and I had responded. Please stop commenting if you do not want to follow what has been done.
Hi Stephan,
I am trying to connect my Hailo to my Pi.
I feel it may be a faulty processor unit as when checking manufacturing numbers, such as the serial through commands it would ruturn something along the lines of Serial: XXXXX, only giving me X’s in place of the serial and other numbers.
I see, I recommend trying these simple steps first to ensure that the Hailo device is recognized by the system once it’s connected.
step 1: Check lspci output to see if it’s even detected
Open the terminal
Run: lspci | grep Hailo
You should see something like:
01:00.0 Co-processor: Hailo Technologies Ltd. Hailo-8 AI Processor (rev 01)
step 2: Ensure HailoRT and hailortcli are installed
In your terminal, run: hailortcli
You should see:
A subcommand is required
Run with --help for more information.
- If not, HailoRT is not installed.
step 3: Does HailoRT recognize your device?
Run: hailortcli fw-control identify
You should see something like:
Executing on device: 0000:01:00.0
Identifying board
Control Protocol Version: 2
Firmware Version: 4.21.0 (release,app,extended context switch buffer)
Logger Version: 0
Board Name: Hailo-8
Device Architecture: HAILO8
Serial Number: …
Part Number: …
Product Name: HAILO-8 AI ACC M.2 B+M KEY MODULE EXT TEMP
If you see an error like:
[HailoRT] [error] CHECK failed - Driver version (4.21.0) is different from library version (4.20.0)
[HailoRT] [error] Driver version mismatch, status HAILO_INVALID_DRIVER_VERSION(76)
→ Your Driver and HailoRT versions don’t match. Update to the latest version.
If you see:
HAILO_DRIVER_NOT_INSTALLED
→ HailoRT is installed, but the Hailo driver is missing.
If you only encounter issues at step 3, then it’s likely not a hardware issue, just install the corresponding package from Software Downloads page