Skip to main content

Tutorials

Step-by-step guides for building Edge AI on Synaptics Astra SL and SR-Series processors.

Getting Started with SL2600

Set up your board and run your first edge AI examples.

SL2619
Image Classification

Image Classification

Recognize and label images with a classifier on the SL2600 NPU.

SL2619
Object Detection

Object Detection

Find and locate objects in images with YOLO on the SL2600 NPU.

SL2619

Bring Your Own Model

Convert your own model with the Torq compiler and run it on the SL2600 NPU.

SL2619

Getting Started with SL1600

Set up your board and run your first edge AI examples.

SL1680SL1640SL1620
Image Classification

Image Classification

Recognize and label images with a classifier on the SL1600 NPU.

SL1680SL1640SL1620
Object Detection

Object Detection

Find and locate objects in images with YOLO on the SL1600 NPU.

SL1680SL1640SL1620
Speech Recognition

Speech-To-Text

Transcribe speech on-device with Whisper and Moonshine.

SL1680SL1640SL1620
Text to Speech

Text-to-Speech

Turn written text into natural-sounding speech on-device with Piper.

SL1680SL1640SL1620
Embeddings

Embeddings

Learn how text embeddings work and generate them on-device with Synaptics Astra.

SL1680SL1640SL1620
Embeddings

AI Text Assistant

Build a Q&A assistant that picks answers using on-device embeddings.

SL1680SL1640SL1620

AI Tool Calling

Let an on-device AI model control an LED and system functions via tool calling.

SL1680SL1640SL1620
LLM

Large Language Models

Run small large language models locally on Astra.

SL1680SL1640SL1620

Bring Your Own Model

Compile your own model with the SyNAP toolkit and run it on the SL1600 NPU.

SL1680SL1640SL1620

NPU Acceleration from C++

Build C++ apps that run models on the NPU with the SyNAP framework.

SL1680

Modifying SyNAP Framework

Modify the SyNAP framework to build your own C++ inference apps.

SL1680SL1640SL1620
LLM

Build llama-cpp Python wheel

Build llama-cpp-python on the board for local LLM inference from Python.

SL1680SL1640SL1620
LLM

LLM on Astra

Run TinyLlama natively on Astra Machina with llama.cpp.

SL1680SL1640SL1620
LLM

Cross Compile LLM

Cross-compile llama.cpp on a host machine for Astra Machina.

SL1680SL1640SL1620
Vision Language Model

VLM on Astra

Run vision language models that understand images and text with llama.cpp.

SL1680SL1640SL1620
LLM

Llamafile on Astra

Run Llama 3.2 1B on Astra as a single llamafile executable.

SL1680SL1640SL1620
Speech Recognition

Whisper Speech-to-Text

Transcribe a WAV file on-device with whisper.cpp.

SL1680SL1640SL1620
Speech Recognition

Whisper Streaming

Transcribe live microphone audio in real time with whisper.cpp.

SL1680SL1640SL1620
Object Detection

Benchmark YOLO models

Measure the inference speed of pre-trained YOLO models on Astra.

SL1680
Object Detection

Roboflow custom YOLO11

Fine-tune YOLO11 for PPE detection with Roboflow and deploy it to Astra.

SL1680
Object Detection

Ultralytics YOLO for edge

Export an Ultralytics YOLOv8 pose model and compile it for the Astra NPU.

SL1680SL1640SL1620

Evaluate Model Compatibility

Check your model's compatibility with the SR100 NPU, no hardware needed.

SR110SR105SR102

Evaluate Vision Models

Evaluate pre-optimized vision models for SR-Series MCUs in a Hugging Face Space.

SR110SR105SR102

Torq Introduction

An overview of the Torq Edge AI platform for running neural networks on the SL2610 NPU.

SL2619

SyNAP Introduction

What the SyNAP toolkit does and how it runs models on the Astra NPU and GPU.

SL1680SL1640SL1620

SyNAP Inference

Run the precompiled sample models and apps that ship on the board.

SL1680SL1640SL1620

SyNAP Model Compilation

Compile TFLite, ONNX and other models into NPU-optimized SyNAP models.

SL1680SL1640SL1620

SyNAP Conversion Metafile

Customize layout, quantization, preprocessing and delegates with a YAML metafile.

SL1680SL1640SL1620

SyNAP Model Quantization

Quantize models to 8 or 16 bits so they run efficiently on the NPU.

SL1680SL1640SL1620

SyNAP Framework API

Run precompiled networks from C++ with the SyNAP Network class.

SL1680SL1640SL1620

SyNAP Android Applications

Use SyNAP from Android apps through JNI for zero-copy NPU inference.

SL1680SL1640SL1620

SyNAP JIT Compilation

Run TensorFlow Lite models directly with just-in-time compilation.

SL1680SL1640SL1620

SyNAP NPU Operators

Neural network operators, tensor types and engines the NPU supports.

SL1680SL1640SL1620

SyNAP Statistics and Usage

Monitor NPU usage and inference statistics through sysfs.

SL1680SL1640SL1620

Get started in minutes


Intro to Edge AI

Learn about running AI models directly on embedded devices in real-time.
Learn more →

Get Started with SL-Series

Get started with quick tutorials and embark your Edge AI journey with Machina Dev Kits.
Learn more →

Evaluate Models for SR-Series

Evaluate your models for High-Performance SR-Series AI MCUs.
Learn more →