torch-compile

Community

Accelerate PyTorch models with torch.compile

Authorcuba6112
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill optimizes PyTorch models by leveraging torch.compile, reducing execution time and Python overhead for faster inference and training.

Core Features & Use Cases

  • Performance Optimization: JIT-compile PyTorch code for significant speedups.
  • Debugging Compile Behavior: Analyze compilation overhead, graph breaks, and benchmark methodology.
  • Use Case: When your PyTorch model is running slower than expected, use this Skill to compile it and measure the performance improvement, identifying any bottlenecks like frequent graph breaks.

Quick Start

Use the torch-compile skill to benchmark the performance of a PyTorch model with and without compilation.

Dependency Matrix

Required Modules

None required

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

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.