We use some essential cookies to make our website work.

We use optional cookies, as detailed in our cookie policy, to remember your settings and understand how you use our website.

Raspberry Pi AI Kit available now at $70

If you’ve ever wanted to experiment with the world of neural networks, artificial intelligence and machine learning on your Raspberry Pi 5, we have the perfect product for you: the Raspberry Pi AI Kit. Developed in collaboration with Hailo, the AI Kit offers an accessible way to integrate local, high-performance, power-efficient inferencing into a wide variety of applications. It’s available today from our network of Raspberry Pi Approved Resellers, priced at just $70.

The image shows two components commonly used in conjunction with Raspberry Pi devices. The larger component on the top is a Raspberry Pi M.2 HAT+ (Hardware Attached on Top) board. It features an M.2 connector for PCI Express devices and has mounting holes labeled for different M.2 sizes (2230 and 2242). There is also a ribbon cable connector and other electronic components on the board. The smaller component at the bottom is an M.2 module, likely an NVMe SSD or a different type of PCIe device. It has a metallic shield over the main chip and a gold connector edge designed to fit into the M.2 slot on the HAT+ board. The component also shows a few smaller electronic components and traces on its PCB (Printed Circuit Board). These components are used together to expand the functionality of a Raspberry Pi by adding high-speed storage or other peripherals through the M.2 interface.
The Raspberry Pi AI Kit disassembled

The Raspberry Pi AI Kit comprises our M.2 HAT+ preassembled with a Hailo-8L AI accelerator module. Installed on a Raspberry Pi 5, the AI Kit allows you to rapidly build complex AI vision applications, running in real time, with low latency and low power requirements. State-of-the-art neural networks for object detection, semantic and instance segmentation, pose estimation, and facial landmarking (to name just a few) run entirely on the Hailo-8L co-processor, leaving the Raspberry Pi 5 CPU free to perform other tasks.

Key features of the Raspberry Pi AI Kit include:

  • 13 tera-operations per second (TOPS) of inferencing performance
  • Single-lane PCIe 3.0 connection running at 8Gbps
  • Full integration with the Raspberry Pi image software subsystem
  • Compatibility with first-party or third-party cameras
  • Efficient scheduling of the accelerator hardware: run multiple neural networks on a single camera, or single/multiple neural networks with two cameras concurrently
The image shows a Raspberry Pi 5 with an attached Raspberry Pi M.2 HAT+ board. The Raspberry Pi 5 is the base component, identifiable by its HDMI ports, USB ports, and Ethernet port visible at the bottom right. The M.2 HAT+ board is mounted on top of the Raspberry Pi using four standoffs, which elevate it above the main board. The M.2 HAT+ board has an M.2 module installed, which is secured in place and connected to the HAT+ board. The setup appears to be compact and well-organized, with the M.2 module's connector edge visible and fitted into the HAT+ board. The ribbon cable is connected to the HAT+ board, indicating that it might be used for additional connectivity or power. This configuration is used to enhance the capabilities of the Raspberry Pi 5 by adding support for M.2 devices, which could include high-speed storage solutions or other peripherals, thus expanding the functionality and performance of the Raspberry Pi system.
Raspberry Pi 5 wearing the Raspberry Pi AI Kit

Hailo has created an extensive model zoo, where users can find a wide variety of pre-trained neural network models ready to deploy and optimised to run on the AI Kit.

The software

A significant hurdle in creating real-world AI-based vision applications is the software complexity of integrating the camera subsystem with the AI framework. We have worked hard to simplify this as much as possible. Our rpicam-apps suite of camera applications now has a post-processing template for integrating neural network inferencing running real-time in the camera pipeline. By using the pre-installed Hailo Tappas post-processing libraries, we are able to create advanced AI-based applications in only a few hundred lines of C++ code. Similar levels of integration into our Picamera2 framework will follow soon.

The image shows an M.2 module designed for use with a Raspberry Pi M.2 HAT+ or similar device. This specific module is a HAILO-8 AI processor, a specialized chip used for artificial intelligence and machine learning applications. The main features visible in the image are: HAILO-8 AI Processor: The large metallic shield in the center is the HAILO-8 AI processor, which is designed to accelerate deep learning and AI inference tasks. PCB Design: The module is mounted on a green printed circuit board (PCB) with various electronic components, including capacitors, resistors, and connectors. Gold Connector Edge: The bottom of the module features a gold edge connector, which fits into an M.2 slot. This connector includes multiple contacts for data transfer and power. Regulatory Labels: The module has a white label with regulatory information, including a QR code, an FCC mark, and other certification details. Electronic Components: Other smaller components are visible on the board, including a capacitor labeled "R22," which is likely part of the power regulation circuitry. This HAILO-8 M.2 module is used to provide advanced AI processing capabilities to devices like the Raspberry Pi, enabling them to perform complex machine learning tasks efficiently.
A closer look at the Hailo module

The software installation steps are very simple. Install a few packages through apt, reboot, and you are ready to try out some of our AI demos in a matter of minutes. The full set of instructions can be found in our getting started guide. Here’s a preview of some of our demos that you can run through rpicam-apps:

Object recognition: even works when traffic on the A14 is moving
Pose estimation: very casual, not at all suspicious
Object recognition: the lemon Coke “bottle” is controversial in these parts
Subject segmentation: one is an engineer, the other is a desk plant

With the Raspberry Pi AI Kit, you are not limited to using the Hailo-8L co-processor only in rpicam-apps or Picamera2. We also package an API integrated in the GStreamer framework and native Python or C/C++ applications. This also includes non-camera use cases, such as running inference on pre-recorded video files.

Further resources

Our documentation for the AI Kit is a great place to start.

For full technical specifications for the Hailo-8L AI accelerator module, visit Hailo’s product web page.

Hailo has created a set of advanced AI applications running on a Raspberry Pi 5. They also have a community forum for discussing topics specific to the Hailo-8L AI accelerator hardware and software tooling.

49 comments

IanS avatar

Is the AI module likely to work on other M.2 baseboards? In particular, could it be used as well as an SSD on a dual board such as https://shop.pimoroni.com/products/nvme-base-duo-for-raspberry-pi-5 ?

Adam avatar

This is the first thing that occurred to me, that they often forget that the Rpi 5 only has 1 PCIE port, which NVME drives also work with – which means that the operation with it – is also the ‘expectation of our days’ and when they bring out a new unit that also works on the PCIE channel, then what about using NVME drive? ….

barleyguy avatar

As you might expect, Jeff Geerling released a video today using multiple AI modules on PCI-E splitters.

Jeff Geerling avatar

And I’ve already found a bug in that configuration, and filed an issue in the Pi firmware repository :)

https://github.com/raspberrypi/firmware/issues/1895

Hopefully we can get that fixed soon, I would love to use this with an NVMe SSD on a dual-NVMe board for Frigate!

Rajesh K avatar

Have you tried with a SSD CARD and Halo AI board together ?

Jacek Ciuba avatar

Can’t wait to get it to the test!

Ashley Whittaker avatar

What’re you thinking of doing with it? Or hoping inspiration will strike upon delivery?

Jeff Geerling avatar

Right now it looks like Hailo’s community forum is stuck behind a registration wall. Is there any chance Hailo could open it up read-only to the public, so not only could people see the valuable information locked inside without registering, but search engines could also index that info so we can find it when debugging?

Otherwise I feel like most users will just ignore that support community and stick to the Pi forums or elsewhere.

Ashley Whittaker avatar

There are plans to open their community for read only access without registration. Stand by.

Jeff Geerling avatar

Hooray! I know something like that can take time (and not just on the technical level), so thanks for helping them along that path :)

joaquin avatar

I have my Pi5 running from an NVMe that uses the PCIe connector. I think this is a common setup for many people. How can be the AI board connected in this case?

Joseph Alway avatar

I’ve seen a couple of dual m.2 base boards, but who knows if an NvME drive and the AI module would play nice together. Due to certain limitations the dual m.2 base board that I was seriously looking at couldn’t directly boot from the attached drives. Still, it might be possible to have a NvME drive and AI module in use at the same time using a dual m.2 board.

Bret avatar

Looks good! Though I have to ask the question, does the M.2 HAT+ bundled with these AI kits come with the updated screws/spacers? Early reviews seem to have the plastic ones but I’m not sure if those were just early samples where there wasn’t time to get the updated ones out?

Ashley Whittaker avatar

Yes! Have double checked and all HATs in the AI Kits have the replacement screws. Every M.2 HAT+ going out after that first batch does as well.

Bret avatar

Super late reply but that’s great, thanks! Would you be able to confirm if the replacement screws are black nylon/plastic still? Or are they metal? Thanks again

Anders avatar

Is the M.2 module available by itself? If you already have M.2 HAT+, it’s not like you can use it at the same time. Or is it capable of stacking with longer GPIO adapter?
Or it is reason to buy another Pi5 and PSU etc. Very vertical selling.

Yield Estimator avatar

Cool! This will be a really good tool to use for our yield estimation hardware & software platform! Thanks Raspberry Pi!

Julian avatar

As a beginner I’m looking for something like this to be able to run a Whisper model on my RPI 5. Would this product help speed this prosess up?

Gordon77 avatar

Looks interesting.
I assume first batch already sold out, as UK suppliers appear to have no stock 😒

Helen Lynn avatar

Shipments are on their way to Approved Resellers everywhere as I type – you shouldn’t have long to wait.

Gordon77 avatar

Thanks. One supplier now saying batch 3 in August.
Obviously very popular 😀

Anders avatar

I put a notify me on with the Haverhill lot, and they got their stock in already today. I’ve ordered mine, there were 16 left when I got my order in.

Ashley Whittaker avatar

Come back and tell us what you build with it, Anders!

Pete Chown avatar

Can this be used as a graphics accelerator as well? People use graphics cards for AI, so why not use an AI accelerator for graphics? 🙂
This is a massive oversimplification so don’t take it too seriously—but a PS5 is supposed to provide about 10TFLOPS. This card is supposed to provide 13TOPS. If a large proportion of those can be single-precision float, its power as a graphics accelerator could be close to a modern console.

Warren avatar

any ideas how much memory is on this thing? all websites I found for it seem to omit this info

crumble avatar

+1
I would like to have the version with on board RAM as well ;)
The 8GB shall be enough to run whisper or a small llama… if someone can convert the models in their format.

John avatar

Hi @Rahul
Did you manage to find out any more info on the Hailo-10H compatibility for pi 5?

Ric avatar

Well done!
Can you create and train ANNs or only run them

Hedda avatar

Official support for support for OneAPI planned?

https://www.oneapi.io

Kristof avatar

Is the Hailo included in the kit?

Helen Lynn avatar

Yes, the Hailo module comes pre-assembled with the Raspberry Pi M.2 HAT+.

Andre Costa avatar

I don’t see the module for sale separately. Looks like Hailo doesn’t do retail. It would be great to be able to buy the module separately to use in dual M.2 PCIe adapters

superkoning avatar

Indeed. Until that time: buy retail the Raspi Hailo kit, put the M.2 HAT in your drawer (value 10-15 euro?), and use the Hailo M.2 in your system

Mark Tomlin avatar

Will this work to transcribe audio to text? I have like 8kHz audio files where speech to text would be very useful. Perhaps with Whisper AI? Is that possible on this device?

Benjamin avatar

It seems you’re reading in my mind, I was looking for an Hailo 8L to use with a RPi yesterday evening! I can’t wait!

Ashley Whittaker avatar

🔮

Michael Kofler avatar

Is it possible to run LLMs on AI Kit? Something like ollama?

Michael S avatar

I’d also be curious about the possibility of running non-computer vision ML models!

petrosilius avatar

Are there somewhere ressources how to train and convert / deploy existing CNN networks for the hailo platform to be used with the RPI software stack? I think this is important for all professional users who want to use their own networks instead of the existing ones. Thanks!

KayS avatar

Are there any recommended add ons to this kit, the Pi camera for example, that would enhance the kit and make it more versatile. I teach an AI unit to HE students and this seems a great way of giving them a hands on experience. Thanks

Charlie Stutzman avatar

Can the object detection setup be used for ai chat gpt like servers as well?

Colin avatar

Will there be an easy way to access Hailo’s dataflow compiler to prepare our own models for use with this?

Nick avatar

DFC is available only for Enterprise Users, so there is no way to convert your existing models being a private person.

Bob Rooney avatar

Can I use a major DB like sql?

colts avatar

I’m looking at Home Assistant + Frigate use. Has anyone compared this with a Coral TPU + M.2 setup?

Luke avatar

Is the Hailio ASIC module sold by itself, or only sold as a bundle with the Raspberry Pi 5 PCIe M.2 HAT+ included?

It would be nice to sell the two components independently, so if you already have the M.2 HAT you don’t need to buy it again.

Justmore5mins avatar

does it support raspberry pi 4b model?

Beyonlo avatar

Is possible to do a fast and secure ( liveness detection) face recognition to use as a solution for the access control? I’m afraid about the Facial spoofing.

Thank you.

Comments are closed