export

Convert PyTorch models into ExecuTorch .pte format for edge deployment.

Updated Apr 30, 2026
One-click install
npx skills add https://github.com/Msabih/executorch --skill export-msabih
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: export
Source: https://github.com/Msabih/executorch/tree/main/.claude/skills/export
Command: npx skills add https://github.com/Msabih/executorch --skill export-msabih

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Converts PyTorch models into ExecuTorch's .pte format for on-device deployment, enabling compact, portable model packages.

Core Features & Use Cases

  • Converts trained PyTorch models to edge-ready .pte artifacts for deployment on mobile and embedded devices.
  • Supports a simple, reproducible workflow from export to edge transformation and lower-to-edge optimizations.
  • Use Case: you want to deploy a vision or language model to a smartphone with minimal runtime footprint.

Quick Start

Run the export workflow to convert a PyTorch model into a portable .pte file ready for edge deployment.

Frequently Asked Questions about export

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I convert a PyTorch model to edge-ready format for on-device deployment?▼

To convert a PyTorch model for on-device deployment, you can export it into ExecuTorch's .pte format. This process generates a compact, portable model package suitable for mobile and embedded devices.

What is a .pte file and when do I need it for model conversion?▼

A .pte file is a portable edge artifact created by ExecuTorch. You need this format when you want to deploy a trained vision or language model to a smartphone or embedded device with a minimal runtime footprint.

Can I use this export workflow to deploy language models on mobile devices?▼

Yes, you can use this export workflow to deploy both vision and language models on mobile devices. It applies a reproducible lower-to-edge workflow to transform PyTorch models into portable .pte files.

What is the best way to package a trained PyTorch model for embedded inference?▼

The best way to package a trained model for embedded inference is running an edge transformation workflow. This lowers your PyTorch model to a compact .pte artifact, ensuring a minimal runtime footprint on the edge device.

Are there example scripts available for the PyTorch to .pte export process?▼

Yes, example scripts are available for the export process. The Skill exposes guidance via SKILL.md and accompanying guides, pointing directly to scripts that demonstrate converting PyTorch models into .pte files.