Introducing Google Coral Edge TPU - a New Machine Learning ASIC from Google - Nordcloud (2024)

The Google Coral Edge TPU is a new machine learning ASIC from Google. It performs fast TensorFlow Lite model inferencing with low power usage. We take a quick look at the Coral Dev Board, which includes the TPU chip and is available in online storesnow.

Introducing Google Coral Edge TPU - a New Machine Learning ASIC from Google - Nordcloud (1)

Overview

Google Coral is a general-purpose machine learning platform for edge applications. It can execute TensorFlow Lite models that have been trained in the cloud. It’s based on Mendel Linux, Google’s own flavor ofDebian.

Object detection is a typical application for Google Coral. If you have a pre-trained machine learning model that detects objects in video streams, you can deploy your model to the Coral Edge TPU and use a local video camera as the input. The TPU will start detecting objects locally, without having to stream the video to thecloud.

The Coral Edge TPU chip is available in several packages. You probably want to buy the standalone Dev Board which includes the System-on-Module (SoM) and is easy to use for development. Alternatively you can buy a separate TPU accelerator device which connects to a PC through a USB, PCIe or M.2 connector. A System-on-Module is also available separately for integrating into customhardware.

Comparing with AWSDeepLens

Google Coral is in many ways similar to AWS DeepLens. The main difference from a developer’s perspective is that DeepLens integrates to the AWS cloud. You manage your DeepLens devices and deploy your machine learning models using the AWSConsole.

Google Coral, on the other hand, is a standalone edge device that doesn’t need a connection to the Google Cloud. In fact, setting up the development board requires performing some very low level operations like connecting a USB serial port and installingfirmware.

DeepLens devices are physically consumer-grade plastic boxes and they include fixed video cameras. DeepLens is intended to be used by developers at an office, not integrated into customproducts.

Google Coral’s System-on-Module, in contrast, packs the entire system in a 40x48 mm module. That includes all the processing units, networking features, connectors, 1GB of RAM and an 8GB eMMC where the operating system is installed. If you want build a custom hardware solution, you can build it around the CoralSoM.

The Coral DevelopmentBoard

To get started with Google Coral, you should buy a Dev Board for about $150. The board is similar to Raspberry Pi devices. Once you have installed the board, it only requires a power source and a WiFi connection tooperate.

Here are a couple of hints for installing the board for the firsttime.

  • Carefully read the instructions at https://coral.ai/docs/dev-board/get-started/. They take you through all the details of how to use the three different USB ports on the device and how to install thefirmware.
  • You can use a Mac or a Linux computer but Windows won’t work. The firmware installation is based on a bash script and it also requires some special serial port drivers. They might work in Windows Subsystem for Linux, but using a Mac or a Linux PC is mucheasier.
  • If the USB port doesn’t seem to work, check that you aren’t using a charge-only USB cable. With a proper cable the virtual serial port device will appear on yourcomputer.
  • The MDT tool (Mendel Development Tool) didn’t work for us. Instead, we had to use the serial port to login to the Linux system and setup SSHmanually.
  • The default username/password of Mendel Linux is mendel/mendel. You can use those credentials to login through the serial port but the password doesn’t work through SSH. You’ll need to add your public key to.ssh/authorized_keys.
  • You can setup a WiFi network so you won’t need an ethernet cable. The getting started guide has instructions forthis.

Once you have a working development board, you might want to take a look at Model Play. It’s an Android application that lets you deploy machine learning models from the cloud to the Coral developmentboard.

Model Play has a separate server installation guide at https://model.gravitylink.com/doc/guide.html. The server must be installed on the Coral development board before you can connect your smartphone to it. You also need to know the local IP address of the development board on yournetwork.

Running Machine LearningModels

Let’s assume you now have a working Coral development board. You can connect to it from your computer with SSH and from your smartphone with the Model Playapplication.

The getting started guide has instructions for trying out the built-in demonstration application called edgetpu_demo. This application will work without a video camera. It uses a recorded video stream to perform real-time object recognition to detect cars in the video. You can see the output in your webbrowser.

You can also try out some TensorFlow Lite models through the SSH connection. If you have your own models, check out the documentation on how to make them compatible with the Coral Edge TPU athttps://coral.ai/docs/edgetpu/models-intro/.

If you just want to play around with existing models, the Model Play application makes it very easy. Pick one of the provided models and tap the Free button to download it to your device. Then tap the Run button to executeit.

Connecting a Video Camera andSensors

If you buy the Coral development board, make sure to also get the Video Camera and Sensor accessories for about $50 extra. They will let you apply your machine learning models to something more interesting than static videofiles.

Introducing Google Coral Edge TPU - a New Machine Learning ASIC from Google - Nordcloud (2)

Alternatively you can also use a USB UVC compatible camera. Check the instructions at https://coral.ai/docs/dev-board/camera/#connect-a-usb-camera for details. You can use an HDMI monitor to view theoutput.

Future of theEdge

Google has partnered with Gravitylink for Coral product distribution. They also make the Model Play application that offers the Coral demos mentioned in this article. Gravitylink is trying to make machine learning fun and easy with simple user interfaces and a directory of pre-trainedmodels.

Once you start developing more serious edge computing applications, you will need to think about issues like remote management and application deployment. At this point it is still unclear whether Google will integrate Coral and Mendel Linux to the Google Cloud Platform. This would involve device authentication, operating system updates and applicationdeployments.

If you start building on Coral right now, you’ll most likely need a custom management solution. We at Nordcloud develop cloud-based management solutions for technologies like AWS Greengrass, AWS IoT and Docker. Feel free to contact us if you need ahand.

Introducing Google Coral Edge TPU - a New Machine Learning ASIC from Google - Nordcloud (2024)

FAQs

Is Edge TPU better than cloud TPU? ›

So although the computational speed of the Edge TPU is a fraction of the speed on a Cloud TPU, the Edge TPU is ideal when you want on-device ML inferencing that's extremely fast and power-efficient. For more information about Cloud TPUs, visit cloud.google.com/tpu.

What is Google Coral Edge TPU? ›

Edge TPU is Google's purpose-built ASIC designed to run AI at the edge. It delivers high performance in a small physical and power footprint, enabling the deployment of high-accuracy AI at the edge.

What can you do with Google Coral? ›

Coral provides a complete platform for accelerating neural networks on embedded devices. At the heart of our accelerators is the Edge TPU coprocessor. It's a small-yet-mighty, low-power ASIC that provides high performance neural net inferencing.

How powerful is Coral AI? ›

The on-board Edge TPU coprocessor is capable of performing 4 trillion operations (tera-operations) per second (TOPS), using 0.5 watts for each TOPS (2 TOPS per watt).

What is the difference between ASIC and TPU? ›

Google's recently exposed TPU, which is dedicated to artificial intelligence deep learning calculations, is actually an ASIC. FPGAs offer greater flexibility than ASICs but require higher power consumption.

Can PyTorch run on TPU? ›

Stay organized with collections Save and categorize content based on your preferences. This quickstart shows you how to create a Cloud TPU, install PyTorch and run a simple calculation on a Cloud TPU.

Who are Google TPU competitors? ›

Top Competitors and Alternatives of Google Cloud TPU

The top three of Google Cloud TPU's competitors in the Networking Hardware category are Cisco with 29.81%, Cisco Switches with 12.60%, Cisco Routers with 11.09% market share.

Is TPU good for deep learning? ›

TPU stands for tensor processing unit and is a designated architecture for deep learning or machine learning applications.

Who manufactures Google TPU? ›

Broadcom has been responsible for the TPU's physical design, essentially developing the chip based on blueprints Google created. Broadcom also has overseen the manufacturing of the chips by Taiwan Semiconductor Manufacturing Co., whose factories produce many of the world's most advanced chips.

What can I use a Coral TPU for? ›

With the Coral Edge TPU™, you can run an object detection model directly on your device, using real-time video, at over 100 frames per second. You can even run multiple detection models concurrently on one Edge TPU, while maintaining a high frame rate.

Is Coral AI free? ›

Coral AI offers a free subscription plan with limitations on the number of file uploads and chats, as well as a Pro subscription plan with unlimited file uploads and chats, and an upload file size limit of 50 MB.

Why is Google Coral out of stock? ›

Notice: Due to industry-wide chip shortages, some Coral products are out of stock and facing manufacturing delays. We will restock all products as soon as possible.

Is Coral AI owned by Google? ›

A platform from Google for local AI

Coral helps you bring on-device AI application ideas from prototype to production. We offer a platform of hardware components, software tools, and pre-compiled models for building devices with local AI.

How powerful is Coral TPU? ›

An individual Edge TPU is capable of performing 4 trillion operations (tera-operations) per second (TOPS), using 0.5 watts for each TOPS (2 TOPS per watt). How that translates to performance for your application depends on a variety of factors.

What is the difference between GPU and TPU? ›

GPUs, initially designed for graphics rendering, have evolved into versatile processors capable of handling AI tasks due to their parallel processing strengths. On the other hand, TPUs, developed by Google, are specialized for AI computations, offering optimized performance for tasks like machine learning.

What is the most powerful TPU? ›

Although the intermediary version, TPU v5e, released earlier this year, offers the most value for money of all three, it's only up to 1.9-times faster than TPU v4, making TPU v5p the most powerful.

What are the different grades of TPU? ›

It can also be compounded to create robust plastic moldings or processed using organic solvents to form laminated textiles, protective coatings or functional adhesives. There are three main chemical classes of TPU: polyester, polyether and a smaller class known as polycaprolactone.

What is edge TPU speed? ›

An individual Edge TPU is capable of performing 4 trillion operations (tera-operations) per second (TOPS), using 0.5 watts for each TOPS (2 TOPS per watt). How that translates to performance for your application depends on a variety of factors.

What is a cloud TPU? ›

Tensor Processing Units (TPUs) are Google's custom-developed application-specific integrated circuits (ASICs) used to accelerate machine learning workloads.

Top Articles
Latest Posts
Article information

Author: Arline Emard IV

Last Updated:

Views: 5651

Rating: 4.1 / 5 (52 voted)

Reviews: 91% of readers found this page helpful

Author information

Name: Arline Emard IV

Birthday: 1996-07-10

Address: 8912 Hintz Shore, West Louie, AZ 69363-0747

Phone: +13454700762376

Job: Administration Technician

Hobby: Paintball, Horseback riding, Cycling, Running, Macrame, Playing musical instruments, Soapmaking

Introduction: My name is Arline Emard IV, I am a cheerful, gorgeous, colorful, joyous, excited, super, inquisitive person who loves writing and wants to share my knowledge and understanding with you.