pytorch-onnx

Community

PyTorch to ONNX export & optimization

Authorcuba6112
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill enables the conversion of PyTorch models into the ONNX format, facilitating cross-platform deployment and optimization for inference.

Core Features & Use Cases

  • Model Export: Convert PyTorch models to ONNX, supporting dynamic input shapes.
  • Inference Optimization: Utilize ONNX Runtime for efficient execution across various hardware.
  • Quantization: Reduce model size and latency through INT8 quantization.
  • Use Case: Deploy a trained PyTorch image classification model to a C++ application or an edge device by exporting it to ONNX and optimizing it with ONNX Runtime.

Quick Start

Export the provided PyTorch model to ONNX format with dynamic axes support.

Dependency Matrix

Required Modules

torchonnxonnxruntime

Components

scriptsreferences

💻 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: pytorch-onnx
Download link: https://github.com/cuba6112/skillfactory/archive/main.zip#pytorch-onnx

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.