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
-
CachyOS Now Lets Users Choose Their Shell
Imagine getting the opportunity to select which shell you want during the installation of your favorite Linux distribution. That's now a thing.
-
Wayland 1.24 Released with Fixes and New Features
Wayland continues to move forward, while X11 slowly vanishes into the shadows, and the latest release includes plenty of improvements.
-
Bugs Found in sudo
Two critical flaws allow users to gain access to root privileges.
-
Fedora Continues 32-Bit Support
In a move that should come as a relief to some portions of the Linux community, Fedora will continue supporting 32-bit architecture.
-
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.
-
LibreOffice Tested as Possible Office 365 Alternative
Another major organization has decided to test the possibility of migrating from Microsoft's Office 365 to LibreOffice.
-
Linux Mint 20 Reaches EOL
With Linux Mint 20 at its end of life, the time has arrived to upgrade to Linux Mint 22.