Logo
Agent Skills Guide

metal-kernel

published 2026/01/29

Write Metal/MPS kernels for PyTorch operators. Use when adding MPS device support to operators, implementing Metal shaders, or porting CUDA kernels to Apple Silicon. Covers native_functions.yaml dispatch, host-side operators, and Metal kernel implementation.

📦 Install Skill

Command line install

Install directly with the `skills` CLI.

npx skills add pytorch/pytorch/.claude/skills/metal-kernel

Local download

Download only this skill directory.

Download metal-kernel only
File Explorer
0 files
No file selected
readonly

Select a file to view its content