export

Convert PyTorch models to portable .pte files for ExecuTorch deployment.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill streamlines the process of converting PyTorch models into portable, edge-ready formats, facilitating efficient deployment for on-device AI applications.

Core Features & Use Cases

  • Model Conversion: Export PyTorch models to .pte format suitable for ExecuTorch deployment.
  • Model Lowering and Optimization: Integrate with examples/scripts for model-specific export scripts like Llama, Whisper, Parakeet.
  • Use Case: When preparing a language model for mobile deployment, use this Skill to export the trained model so it can run efficiently on edge devices without server dependence.

Quick Start

Export your evaluated PyTorch model with example inputs using the export function to generate a portable .pte file for on-device inference.

Frequently Asked Questions about export

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

FAQPage Schema
How do I export a PyTorch model for edge inference?

To export a PyTorch model for edge inference, use the export function with example inputs to generate a portable `.pte` file suitable for on-device deployment. This process requires minimal manual configuration and supports various model architectures.

What is model lowering and when do I need it for deployment?

Model lowering optimizes and converts PyTorch architectures into a portable edge format. You need model lowering when preparing models for on-device AI applications to ensure efficient execution without server dependence.

Can I use this to export specific architectures like Llama or Whisper?

Yes, you can export specific architectures like Llama or Whisper by integrating with provided model-specific scripts. The conversion supports various model architectures to generate optimized edge-ready formats.

Does PyTorch model conversion to .pte format require manual configuration?

PyTorch model conversion to `.pte` format ensures models are optimized and lowered with minimal manual configuration. You simply execute export functions and model-specific scripts to generate the portable edge file.

What's the best way to prepare a language model for mobile deployment?

The best way to prepare a language model for mobile deployment is exporting the evaluated PyTorch model using dedicated scripts. This generates a portable `.pte` file optimized for edge devices, ensuring efficient on-device inference.