You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/Chapter_2-Configuring_the_RaspberryPi_Environment/Introduction_to_Hailo_in_Raspberry_Pi_Environment.md
+188Lines changed: 188 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,3 +3,191 @@ sidebar_position: 5
3
3
---
4
4
5
5
# Introduction to Hailo in Raspberry Pi Environment
6
+
7
+
## What is Hailo?
8
+
9
+
[Hailo](https://hailo.ai/) offers cutting-edge AI processors uniquely tailored for high-performance deep learning applications on edge devices. The company's solutions focus on enabling the next era of generative AI on the edge, alongside perception and video enhancement, powered by advanced AI accelerators and vision processors.
10
+
11
+
### Key Features:
12
+
-**Hailo-8 NPU Dataflow Architecture**
13
+
- Differs from the traditional Von Neumann architecture.
14
+
- Implements a distributed memory fabric combined with pipeline elements for low-power memory access.
15
+
16
+
### Architecture -Hailo AI Software Suite Overview
17
+
18
+
The **Hailo AI Software Suite** provides powerful tools to run AI models efficiently on hardware accelerators. It is designed to integrate seamlessly with existing deep learning frameworks, offering smooth workflows for developers.
The process involves generating a HEF (Hailo Executable Binary File) from an ONNX file in the Model Build Environment. Once created, the HEF file is transferred to the inference machine (Runtime Environment), where it is used to execute inference with the HailoRT API. The provided script facilitates the conversion of an ONNX file into a HEF file within the Model Build Environment.We will discuss futher more on 5th chapter.
23
+
24
+
### Hailo Dataflow Compiler (DFC)
25
+
The Hailo Dataflow Compiler (DFC) enables users to integrate AI models into their projects with ease. It is compatible with popular frameworks like TensorFlow Lite (TFLite) and ONNX, allowing conversion and compilation of models into the Hailo HEF format, optimized for running on Hailo AI accelerators. The DFC enhances the performance of devices like the Raspberry Pi AI Kit, making them adaptable to specific use cases. To access the DFC, users need to create an account on the Hailo website and download the latest version.
The **Hailo Runtime (HailoRT)** is a production-grade, lightweight, and scalable runtime software. It provides a robust library with intuitive APIs for optimized performance and supports building fast pipelines for AI applications. HailoRT operates on the Hailo AI Vision Processor or the host processor when using the Hailo AI Accelerator. This ensures high-throughput inferencing with one or more Hailo devices. Standard framework support includes **GStreamer** and **ONNX Runtime**, simplifying integration with existing AI workflows.
32
+
33
+
### Hailo Model Zoo
34
+
The **Hailo Model Zoo** offers a collection of pre-trained deep learning models for various computer vision tasks, enabling rapid prototyping on Hailo devices. These models come with binary HEF files fully supported by the Hailo toolchain. Developers can explore the **Hailo Model Zoo GitHub repository**, which includes common models and architectures, along with resources to replicate Hailo's published performance.
35
+
36
+
References: Check their [**GitHub repository**](https://github.com/hailo-ai/hailo_model_zoo) for the most updated details.
37
+
38
+
39
+
## Hardware Preparation
40
+
41
+
### Raspberry Pi AI Kit
42
+
43
+
<divalign="center">
44
+
<imgsrc="https://media-cdn.seeedstudio.com/media/catalog/product/cache/bb49d3ec4ee05b6f018e93f896b8a25d/2/-/2-113060086-raspberry-pi-ai-kit-all.jpg"alt="Raspberry Pi AI Kit"width="300">
-**Modular Design** Compatible with Raspberry Pi 5, CM4-powered IoT gateways, and controllers with M.2 slots.
53
+
54
+
Additional Resources: Read the following article to learn how to connect your Raspberry Pi 5:
55
+
[Raspberry Pi AI Kit Documentation](https://www.raspberrypi.com/documentation/accessories/ai-kit.html)
56
+
57
+
### AI HAT+ (26 TOPS)
58
+
59
+
<divalign="center">
60
+
<imgsrc="https://media-cdn.seeedstudio.com/media/catalog/product/cache/bb49d3ec4ee05b6f018e93f896b8a25d/a/i/ai_hat.jpg"alt="Raspberry Pi AI Kit"width="300">
-**Built-in Hailo AI Accelerator** Offers 26 TOPS of AI performance.
66
+
-**PCIe Gen 3 Communication** Harnesses Raspberry Pi 5's PCIe Gen 3 interface for optimal throughput.
67
+
-**Post-efficient & Power-efficient** High performance without breaking the bank.
68
+
69
+
### reComputer AI R2130-12
70
+
71
+
<divalign="center">
72
+
<imgsrc="https://media-cdn.seeedstudio.com/media/catalog/product/cache/bb49d3ec4ee05b6f018e93f896b8a25d/1/_/1_24_1.jpg"alt="Raspberry Pi AI Kit"width="300">
In this chapter, we have discussed how to set up the Raspberry Pi for your AI project. In the next chapter, we will discuss how to run a pretrained model as well as how to use your custom data model.
0 commit comments