cortex-m

Official

Develop and test Cortex-M CMSIS-NN backend.

Authorpytorch
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Build, test, or develop the Cortex-M (CMSIS-NN) backend for PyTorch executions on embedded devices. This enables assembling CMSIS-NN compatible quantized graphs, validating performance, and exporting models targeted at Cortex-M runtimes.

Core Features & Use Cases

  • Provides a complete pipeline for quantization, graph rewriting, and export to Cortex-M targets using PT2E flow.
  • Supports running tests (dialect and implementation tests) for CMSIS-NN integration and CMSIS hardware backends.
  • Use Case: Develop and optimize a CMSIS-NN backend for a Cortex-M device by exporting a quantized model and validating it on hardware.

Quick Start

Quantize a sample model for Cortex-M CMSIS-NN and run the prepared graph through the Cortex-M backend.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: cortex-m
Download link: https://github.com/pytorch/executorch/archive/main.zip#cortex-m

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.