Subject: Assistance Required: ONNX to HEF Conversion Using HailoRT Source Installation
Hi everyone,
I am currently working on a project to convert an ONNX model to the HEF format for deployment on a Hailo-8 AI processor. I have made significant progress but am encountering some roadblocks and would greatly appreciate any guidance from the community.
Progress So Far
- System Setup:
- Using a Raspberry Pi with Ubuntu and Hailo-8 PCIe card.
- Installed HailoRT 4.19.0 from source.
- Installed the PCIe driver (version 4.19.0) and confirmed successful firmware loading using
dmesg
.
- Tool Installation:
- Successfully built the
hailo-integration-tool
from source. - Verified that the
hailortcli
tool is functional and lists the available commands (e.g.,run
,benchmark
, etc.).
- Attempted Model Conversion:
- Tried using the
hailo-integration-tool
to convert my ONNX model, but the tool seems focused on hardware tests and diagnostics rather than model compilation. - I was unable to locate a
hailo_compiler
tool in the HailoRT source package.
- Docker Installation Attempts:
- Tried pulling the
hailo/ai-software-suite:latest
Docker image but received an “access denied” error. - Unable to locate or download the necessary
.tar
files for manual Docker installation.
Specific Goals
- Convert my ONNX model (
best.onnx
) into the HEF format. - Run inference on the Hailo-8 device using the converted HEF file.
Issues Faced
- Missing Compiler Tool:
- I cannot find the
hailo_compiler
tool (or equivalent Dataflow Compiler) in the HailoRT source installation. - It’s unclear if this tool is included in a separate package or Docker environment.
- Docker Access Challenges:
- Unable to pull the
hailo/ai-software-suite:latest
Docker image due to repository access restrictions. - I lack access to download pre-built Docker
.tar
files for manual installation.
- Integration Tool Limitation:
- The
hailo-integration-tool
appears to be designed for diagnostics rather than model compilation, and I couldn’t find any clear documentation to indicate otherwise.
Questions for the Community
- Where can I find the
hailo_compiler
(DFC tool) or an equivalent utility for ONNX-to-HEF conversion? Is it included in a separate package? - Is there a way to convert ONNX models to HEF format using the HailoRT source installation, or is Docker a strict requirement?
- Can anyone clarify the purpose of the
hailo-integration-tool
for model compilation? - How can I resolve Docker access issues to download the AI Software Suite or related resources?
I appreciate any advice or insights you can provide! Please let me know if more details are needed.
Thank you in advance for your help!