Back to All
Developer Blog

Making Edge Inference a Reality with Golioth, Foundries.io and Qualcomm AI Hub

As the capabilities and performance of both AI models and edge devices continue to progress, it has become possible, and increasingly valuable, to perform inference closer to the point of data acquisition. Managing the deployment of models, as well as their ongoing evaluation and improvement, proves to be a complex task. It’s typically necessary to deliver inference results, and potentially the raw inputs provided to a model, back to the cloud for further action or analysis.

Golioth’s IoT platform offers integrated device management and data service capabilities, including over-the-air (OTA) updates, device logs, remote procedure calls (RPCs) and more. Golioth Pipelines provide robust and flexible data routing and processing, enabling transformation of streaming data before delivery to a wide variety of final destinations.

With Golioth’s recent launch of AI capabilities, data can also be easily ingested for model training or routed to a hosted inference platform. AI models can be managed and deployed via Golioth’s OTA service, providing visibility into which model each device in a fleet is running, and making rolling out new models seamless.

Golioth recently partnered with Foundries.io and the Qualcomm AI Hub team to demonstrate how integrating Golioth’s SDK (known for its use with cellular-connected MCUs) into embedded Linux applications makes it easy to utilize models from Qualcomm AI Hub on edge devices.

The Qualcomm RB3 Gen 2 development kit is a great candidate for showing off vision models, such as YOLO (“You Only Look Once”) object detection, with Golioth delivering the model to the device, then streaming inference results and raw image captures to the cloud. The development kit is based on the Qualcomm QCS6490 SoC, and includes a Qualcomm Kryo 670 CPU with 8 application processing cores, a Qualcomm Adreno 643L GPU, and a Hexagon DSP for accelerating AI workloads. Additionally, it boasts a low- and high-resolution camera, as well as audio peripherals, and an array of sensors.

Golioth + Foundries.io + Qualcomm AI Hub

The first step in deploying an AI application to the Qualcomm RB3 Gen2 Platform is registering the device with the Foundries.io platform. The platform’s GitOps workflow enables deploying OCI images as containers running on the Foundries Linux microPlatform (LmP) distribution. To help developers leverage the cameras and acceleration hardware on the Qualcomm RB3 Gen2, Qualcomm Technologies, Inc. provides the Qualcomm Intelligent Multimedia SDK (IM SDK), including a suite of GStreamer plugins. These plugins can be used to create a pipeline that processes media, runs inference using a supplied AI model, and overlays results on the final image.

RB3 Gen 2 Model Update

Oct 31, 2024 | 0:07

Video Player is loading.
Current Time 0:00
Duration 0:06
Loaded: 86.59%
Stream Type LIVE
Remaining Time 0:06
 
1x
  • Chapters
  • descriptions off, selected
  • captions off, selected
  • en (Main), selected

Building a simple GStreamer pipeline with the YoloNAS model from Qualcomm AI Hub is straightforward. However, though this application could be deployed to the Qualcomm RB3 Gen2 via the Foundries.io platform, data from the application cannot be observed remotely, and modifying the model requires building and deploying an entirely new application.

Integrating the Golioth Firmware SDK means that we are instantly able to receive logging information, see what model is active on the device‌ and deliver inference results and image captures to the Golioth platform.

RB3 Gen 2 Stream Object Detection

Oct 31, 2024 | 0:22

Video Player is loading.
Current Time 0:00
Duration 0:21
Loaded: 27.51%
Stream Type LIVE
Remaining Time 0:21
 
1x
  • Chapters
  • descriptions off, selected
  • captions off, selected
  • en (Main), selected

Once the data reaches the cloud, Golioth Pipelines are used to route data to multiple locations. For example, the inference results can be transformed into JSON payloads and Golioth integrated timeseries database. Image data, on the other hand, can be routed to a blob storage destination, where it can be later accessed for offline model training or fine-tuning.

When new models are released, Golioth updates the application, triggering a download of just the new model and labels. This ensures that devices can acquire the latest functionality quickly and efficiently, without having to replace the entire application.

RB3 Gen 2 Object Detection

Oct 31, 2024 | 0:18

Video Player is loading.
Current Time 0:00
Duration 0:17
Loaded: 33.25%
Stream Type LIVE
Remaining Time 0:17
 
1x
  • Chapters
  • descriptions off, selected
  • captions off, selected
  • en (Main), selected

Real world use cases for Golioth’s Data Plane

The flexible nature of Golioth’s data plane opens up a wide variety of real-world use-cases when combined with Qualcomm’s Technologies’ powerful hardware and AI models.

  • Industrial Manufacturing: identify manufacturing defects, predict machinery failure, and create a safer working environment.
  • Smart Cities and Buildings: optimize vehicle and human movement, monitor environmental levels such as air quality and weather conditions, and reduce carbon emissions.
  • Agriculture: monitor crop health, develop efficient irrigation strategies, and improve overall yield.
  • Energy, Waste, and Utilities: detect when waste receptacles are full, effectively plan for increases in energy consumption, and monitor changes in water quality.

Next Steps

You can learn more about how to leverage Golioth and Qualcomm AI Hub by checking out the documentation and latest model releases, or join the community via the Golioth forum and Qualcomm AI Hub Slack channel.

Check out FoundriesFactoryTM IoT software platform to get your free trial today. 

Excited to hear more updates? Join the community of like-minded developers to connect, get support and get access to our exclusive virtual events at Qualcomm Developer Discord.

Opinions expressed in the content posted here are the personal opinions of the original authors, and do not necessarily reflect those of Qualcomm Incorporated or its subsidiaries ("Qualcomm"). The content is provided for informational purposes only and is not meant to be an endorsement or representation by Qualcomm or any other party. This site may also provide links or references to non-Qualcomm sites and resources. Qualcomm makes no representations, warranties, or other commitments whatsoever about any non-Qualcomm sites or third-party resources that may be referenced, accessible from, or linked to this site.

Qualcomm branded products are products of Qualcomm Technologies, Inc. and/or its subsidiaries. 

About the Author
Dan Mangum
Dan MangumHead of Engineering, Golioth
Qualcomm relentlessly innovates to deliver intelligent computing everywhere, helping the world tackle some of its most important challenges. Our leading-edge AI, high performance, low-power computing, and unrivaled connectivity deliver proven solutions that transform major industries. At Qualcomm, we are engineering human progress.

Stay connected

Get the latest Qualcomm and industry information delivered to your inbox.

Subscribe
Manage your subscription

© Qualcomm Technologies, Inc. and/or its affiliated companies.

Snapdragon and Qualcomm branded products are products of Qualcomm Technologies, Inc. and/or its subsidiaries. Qualcomm patented technologies are licensed by Qualcomm Incorporated.

Note: Certain services and materials may require you to accept additional terms and conditions before accessing or using those items.

References to "Qualcomm" may mean Qualcomm Incorporated, or subsidiaries or business units within the Qualcomm corporate structure, as applicable.

Qualcomm Incorporated includes our licensing business, QTL, and the vast majority of our patent portfolio. Qualcomm Technologies, Inc., a subsidiary of Qualcomm Incorporated, operates, along with its subsidiaries, substantially all of our engineering, research and development functions, and substantially all of our products and services businesses, including our QCT semiconductor business.

Materials that are as of a specific date, including but not limited to press releases, presentations, blog posts and webcasts, may have been superseded by subsequent events or disclosures.

Nothing in these materials is an offer to sell or license any of the services or materials referenced herein.