Set Up the Hailo Development Environment
Install dependencies and the Hailo toolchain in a clean Python environment on an Ubuntu x86_64 machine.
Compiling a YOLOv11n model for the Hailo‑8 accelerator must be done on an Ubuntu machine with x86_64 architecture. These steps prepare your system by installing required packages, the Hailo SDK and the Hailo Model Zoo in a fresh Python virtual environment.
bash
sudo apt update
sudo apt install -y python3.10 python3.10-venv python3.10-dev python3-pip \
git wget build-essential python3-tk graphviz libgraphviz-dev
Download the Hailo wheel files from the Hailo developer portal and place them in a convenient directory (e.g., your home folder). Then create a virtual environment and install the wheels:
bash
# Create and activate the Hailo virtual environment
python3 -m venv hailo_venv
cd hailo_venv
source bin/activate
# Upgrade pip
pip install --upgrade pip
# Install the Hailo compiler, HailoRT and model zoo wheels (replace with actual paths)
pip install ../hailo_dataflow_compiler-3.33.0-py3-none-linux_x86_64.whl
pip install ../hailort-4.23.0-cp310-cp310-linux_x86_64.whl
pip install ../hailo_model_zoo-2.17.0-py3-none-any.whl
# Clone the model zoo repository
cd ~
git clone https://github.com/hailo-ai/hailo_model_zoo.git
cd hailo_model_zoo