An AI module for the Pi 5
Turbocharge Your Raspberry Pi

© Lead Image © Liubomyr Feshchyn, 123RF.com
What happens when the Raspberry Pi's makers and AI specialist Hailo collaborate on a project? We get an official AI kit HAT+ for the Pi 5 that adds an AI accelerator chip.
The Raspberry Pi AI Kit [1] consists of two components: a generic M.2 HAT+, an adaptor board that lets you connect any two M.2 modules (e.g., for NVMe storage) to the Raspberry Pi 5 and therefore directly to the PCI bus, and a Hailo-8L AI accelerator, which could also be installed on any other computer with an M.2 interface. This entry-level AI chip achieves a performance of 13 TOPS, which is half the number of tera-operations per second that you'd get with the standard Hailo-8 model.
As a first step, you need to assemble the system. Fit the four spacers, a GPIO extension connector, and a PCIe extension cable on the Raspberry Pi. Then slot the M.2 HAT+ onto the spacers and plug the ribbon cable into the connector on the HAT. Figure 1 shows the fully assembled, working system.
After restarting the Raspberry Pi, the Hailo board appears in the lspci
output as shown in Listing 1. The second line reveals that the installation of the AI accelerator was successful.
[...]
Buy this article as PDF
(incl. VAT)
Buy Linux Magazine
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters
Support Our Work
Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.

News
-
Linux Kernel 6.17 Drops bcachefs
After a clash over some late fixes and disagreements between bcachefs's lead developer and Linus Torvalds, bachefs is out.
-
ONLYOFFICE v9 Embraces AI
Like nearly all office suites on the market (except LibreOffice), ONLYOFFICE has decided to go the AI route.
-
Two Local Privilege Escalation Flaws Discovered in Linux
Qualys researchers have discovered two local privilege escalation vulnerabilities that allow hackers to gain root privileges on major Linux distributions.
-
New TUXEDO InfinityBook Pro Powered by AMD Ryzen AI 300
The TUXEDO InfinityBook Pro 14 Gen10 offers serious power that is ready for your business, development, or entertainment needs.
-
Danish Ministry of Digital Affairs Transitions to Linux
Another major organization has decided to kick Microsoft Windows and Office to the curb in favor of Linux.
-
Linux Mint 20 Reaches EOL
With Linux Mint 20 at its end of life, the time has arrived to upgrade to Linux Mint 22.
-
TuxCare Announces Support for AlmaLinux 9.2
Thanks to TuxCare, AlmaLinux 9.2 (and soon version 9.6) now enjoys years of ongoing patching and compliance.
-
Go-Based Botnet Attacking IoT Devices
Using an SSH credential brute-force attack, the Go-based PumaBot is exploiting IoT devices everywhere.
-
Plasma 6.5 Promises Better Memory Optimization
With the stable Plasma 6.4 on the horizon, KDE has a few new tricks up its sleeve for Plasma 6.5.
-
KaOS 2025.05 Officially Qt5 Free
If you're a fan of independent Linux distributions, the team behind KaOS is proud to announce the latest iteration that includes kernel 6.14 and KDE's Plasma 6.3.5.