# Hailo

PySDK supports HailoRT versions 4.23.0, 4.22.0, 4.21.0, 4.20.1, 4.20.0, and 4.19.0.

## Installation on Raspberry Pi

If you are using a Hailo-8 or Hailo-8L AI accelerator with Raspberry Pi 5, please refer to [Hailo Raspberry Pi 5 installation guide](https://github.com/hailo-ai/hailo-rpi5-examples/blob/main/doc/install-raspberry-pi5.md).

## Installation on Ubuntu

Download the appropriate version of HailoRT based on the platform architecture.\
The machine's architecture can be found with the following command:

{% code overflow="wrap" %}

```bash
dpkg --print-architecture
```

{% endcode %}

Find the appropriate package on Hailo's Software Downloads Page.

| Package Name (Software Downloads Page)   | HailoRT Package            | CPU Architecture |
| ---------------------------------------- | -------------------------- | ---------------- |
| HailoRT – Ubuntu package (deb) for amd64 | hailort\_4.23.0\_amd64.deb | amd64            |
| HailoRT – Ubuntu package (deb) for arm64 | hailort\_4.23.0\_arm64.deb | arm64            |
| HailoRT – Ubuntu package (deb) for armel | hailort\_4.23.0\_armel.deb | armel            |
| HailoRT – Ubuntu package (deb) for armhf | hailort\_4.23.0\_armv4.deb | armv4            |

{% hint style="info" %}
PySDK supports Hailo Runtime versions 4.23.0, 4.22.0, 4.21.0, 4.20.1, 4.20.0, and 4.19.0.
{% endhint %}

The Hailo's Software Downloads Page accessible via [this link](https://hailo.ai/developer-zone/software-downloads).

{% hint style="info" %}
For PySDK integration with Hailo hardware, software distributed by Hailo is required. To access the downloadable packages, a Hailo account is required.
{% endhint %}

After downloading the appropriate package, run the following command to install HailoRT:

{% code overflow="wrap" %}

```bash
sudo dpkg --install hailort_4.23.0_<architecture>.deb
```

{% endcode %}

Download the **HailoRT – PCIe driver (deb)**\
(It can be quickly found by typing "PCIe driver" into the "Search for a package" window)\
Run the following command to install the driver:

{% code overflow="wrap" %}

```bash
sudo dpkg --install hailort-pcie-driver_4.23.0_all.deb
```

{% endcode %}

{% hint style="info" %}
PC restart is required after driver installation.
{% endhint %}

After the PC restart, you can verify the installation by running the following command:

{% code overflow="wrap" %}

```bash
hailortcli fw-control identify
```

{% endcode %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.degirum.com/pysdk/runtimes-and-drivers/hailort.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
