Skip to content

Commit 6f65a4e

Browse files
authored
Merge pull request #3390 from tgonzalezorlandoarm/topo-imx-deploy
Topo Deploy a Machine Learning application with NPU acceleration
2 parents 8930d30 + 1976041 commit 6f65a4e

7 files changed

Lines changed: 773 additions & 0 deletions

File tree

Lines changed: 83 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,83 @@
1+
---
2+
title: Deploy a machine learning model to an NPU-capable system with Topo
3+
4+
draft: true
5+
cascade:
6+
draft: true
7+
8+
description: Use Topo to deploy a web application on Cortex-A that triggers a MobileNetV2 image classifier running as Cortex-M firmware with Ethos-U65 NPU acceleration.
9+
10+
minutes_to_complete: 60
11+
12+
who_is_this_for: This is an introductory topic for embedded, edge, and cloud software developers who want to deploy machine learning workloads to heterogeneous Arm-based Linux targets using Topo.
13+
14+
learning_objectives:
15+
- Explain how Topo deploys an application that spans Cortex-A, Cortex-M, and Ethos-U
16+
- Prepare an NXP FRDM i.MX 93 board for remoteproc-runtime and shared-memory inference
17+
- Clone and deploy the topo-imx93-npu-deployment template
18+
- Describe how the Template is bootstrapped from Compose services, Remoteproc Runtime metadata, and Topo arguments
19+
- Run image classification from a browser and verify that inference is executed by the Cortex-M33 firmware
20+
21+
prerequisites:
22+
- A host machine (x86 or Arm) with Linux, macOS, or Windows
23+
- An NXP FRDM i.MX 93 target board accessible over SSH with root access
24+
- Docker installed on the host and target. For installation steps, see [Install Docker](/install-guides/docker/).
25+
- lscpu installed on the target (pre-installed on most Linux distributions)
26+
- Topo installed on the host. For installation steps, see [Deploy containerized workloads to Arm-based Linux targets with Topo](/learning-paths/cross-platform/deploy-containerized-workloads-with-topo/).
27+
- Basic familiarity with containers, SSH, and CLI tools
28+
29+
author: Tomas Agustin Gonzalez Orlando
30+
31+
### Tags
32+
skilllevels: Introductory
33+
subjects: Containers and Virtualization
34+
armips:
35+
- Cortex-A
36+
- Cortex-M
37+
- Ethos-U
38+
tools_software_languages:
39+
- Topo
40+
- Docker
41+
- SSH
42+
- ExecuTorch
43+
- remoteproc-runtime
44+
operatingsystems:
45+
- Linux
46+
- macOS
47+
- Windows
48+
49+
### Cross-platform metadata only
50+
shared_path: true
51+
shared_between:
52+
- servers-and-cloud-computing
53+
- laptops-and-desktops
54+
- embedded-and-microcontrollers
55+
56+
further_reading:
57+
- resource:
58+
title: Topo repository
59+
link: https://github.com/arm/topo
60+
type: documentation
61+
- resource:
62+
title: Topo template format
63+
link: https://github.com/arm/topo-template-format
64+
type: documentation
65+
- resource:
66+
title: Topo releases
67+
link: https://github.com/arm/topo/releases/latest
68+
type: website
69+
- resource:
70+
title: remoteproc-runtime
71+
link: https://github.com/arm/remoteproc-runtime
72+
type: documentation
73+
- resource:
74+
title: ExecuTorch
75+
link: https://docs.pytorch.org/executorch/stable/index.html
76+
type: documentation
77+
78+
### FIXED, DO NOT MODIFY
79+
# ================================================================================
80+
weight: 1 # _index.md always has weight of 1 to order correctly
81+
layout: "learningpathall" # All files under learning paths have this same wrapper
82+
learning_path_main_page: "yes" # This should be surfaced when looking for related content. Only set for _index.md of learning path content.
83+
---
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
# ================================================================================
3+
# FIXED, DO NOT MODIFY THIS FILE
4+
# ================================================================================
5+
weight: 21 # The weight controls the order of the pages. _index.md always has weight 1.
6+
title: "Next Steps" # Always the same, html page title.
7+
layout: "learningpathall" # All files under learning paths have this same wrapper for Hugo processing.
8+
---

0 commit comments

Comments
 (0)