How can I connect a Hailo-8/8L to my PC or laptop?

How can I connect a Hailo-8/8L to my PC or laptop?

The Hailo-8 is connected to a host via the PCIe interface. There are several options available to connect a Hailo-8 to a PC, IPC or laptop.

Hailo-8 M.2 and mPCIe modules

Many modern motherboards have M.2 connectors. The Hailo-8 M.2 modules are available with different keys. A+E (2 PCIe lanes), B+M (2 PCIe lanes) and M (4 PCIe lanes). When available make use of the build in M.2 heatsink otherwise attach your own heat solution.

Note: For tests of the Hailo-8L you can use a Hailo-8 and compile the networks with the architecture set to hailo8l.

Older systems or some embedded platforms may have a mini PCIe slot. There is a Hailo-8 mPCIe module available. It provides 13 TOPS and has a single PCIe lane.

PCIe adapters

If no M.2 slot is available a PCIe to M.2 adapter can be used with standard PCIe slots available in many desktop and IPC systems. The adapters are widely available e.g. on Amazon and cost around USD/EURO 10-20.

There are also adapters available for mPCIe.

Thunderbolt NVME adapter

Some laptops and few desktop motherboards support Thunderbolt. Thunderbolt uses the USB-C connector but combines PCIe and Display Port protocol. The connector is usually marked with a lightning bolt.

Thunderbolt port

When a Thunderbolt port is available a Thunderbolt NVME adapter can be used. These are available at Amazon from different companies like Orico and Other World Computing (OWC). It is important to study the information carefully because there are many similar adapters for USB (will not work). Thunderbolt adapters are more expensive, usually above USD/EURO 100.

These adapters can be used with the Hailo-8 key M (recommended) or B+M module.

When the adapter comes with multiple cables you must use the one suitable for Thunderbolt. They are short and often thick because of the shielding required, have two USB-C type connectors and often a lightning bolt or 40Gbps sign. Using a USB type A port or adapter will not work. Also normal USB-C cables e.g. shipped with mobile phones do not work.

Thunderbolt cable

Installation

It is recommended to test your system before installing the HailoRT PCIe driver. PCIe capabilities of all devices are negotiated at boot without the need of custom drivers. You should be able to see the Hailo-8 when running lspci on Linux or in the Windows Device Manager.

Linux lspci command


04:00.0 Co-processor: Hailo Technologies Ltd. Hailo-8 AI Processor (rev 01)

or


04:00.0 Co-processor: Device 1e60:2864 (rev 01)

Windows Device Manager

Windows Device Manager

4 Likes

USB4 is good for laptop

1 Like

Hi @tltangliang could you be so kind and edit your post and add the vendor and name of your adapter and a source? That could be useful to other users. Thank you.

USB4 M.2 expansion board

This expansion board from WisdPi is based on ASMedia’s ASM2464PD design and is mainly used to convert USB4 or Thunderbolt 3/4 to standard PCIe/NVMe.

Requirement

Make sure your laptop or desktop motherboard supports the USB4 or Thunderbolt 3/4 protocol, which is usually indicated on the interface.

Installation

Since the expansion board provides a direct M.2 M-Key interface and is compatible with the 2280 size, we simply plug in the Hailo8 module and connect it to the computer with the supplied cable without any additional operations.

Linux lspci command

04:00.0 Co-processor: Hailo Technologies Ltd. Hailo-8 AI Processor (rev 01)

Link

WisdPi ASM2464 USB4 M.2 expansion board

1 Like