Failed to run my custom hef file on rasberry pi 5

Hi. I’m trying to run my custom hef file on rasberrypi5.

I somehow converted my pt file to hef file(cytp.hef) on my local pc which is windows11. (I worked on W2SL Linux env)

and I run it on my rasberrypi by this command :slight_smile:
python basic_piplines/detection.py --labels-json resources/barcode-label-json --hef-path resources/cytp.hef --input /dev/video0

this following error msg came out :

It seems like my hef file is uncompatible version to run on my rasberrypi. So I check my hef file version by this command :
hailortcli parse-hef ./resources/cytp.hef

and this came out :

is it right that my hef file is not correct version to run on rasberrypi? how can I solve this?

my hailort version is 4.20

Hey @Jaewon_Ahn,

The error message unsupported hef version 1079009656 indicates your .hef file is not compatible with the HailoRT version on your Raspberry Pi.

Possible Causes

  1. Version Mismatch Between Compiler and Runtime

    • The .hef file may have been compiled using a different version of the Dataflow Compiler than what is supported by HailoRT v4.20.
  2. Incorrect Hardware Target

    • The compiled model may be intended for a different architecture than the one running on your Raspberry Pi.

Fixes

  1. Check version with: hailo --version, it should be 3.30 or 3.29

  2. When compiling, specify the correct architecture:
    --hw-arch hailo8 or --hw-arch hailo8l based on the chip on your RPi

Hi,
I get the same error. RPI5, Hailo8, hailort 4.20 (most recent hailo_rpi5_examples)
After changing to the older docker image for Ai Software Suite 2025-01 (instead of 2025-04) that also uses hailort 4.20 and the recommended DFC 3.30 my compiled HEF file still results in the error:
[HailoRT] [error] Unsupported hef version 1079009656
The correct hardware architecture was selected during the compilation process “–hw-arch hailo8”.

Any idea?

Good day,

I am having currently an absolutely same issue with 8L, tried both 3.30 and 3.31 compilers. “Unsupported hef version 1079009656”.

Any update with this?