Skip to main content
Back to the directory
pytorch/pytorchSoftware EngineeringFrontend and Design

metal-kernel

This skill guides you through implementing Metal kernels for PyTorch operators on Apple Silicon.

SkillJury keeps community verdicts, source metadata, and external repository signals in separate lanes so ranking data never pretends to be a review.

SkillJury verdict
Pending

No approved reviews yet

Would recommend
Pending

Waiting on enough review volume

Install signal
683

Weekly or total install activity from catalog data

Sign in to review
0 review requests
Install command
npx skills add https://github.com/pytorch/pytorch --skill metal-kernel
SkillJury does not have enough approved reviews to publish a community verdict yet. Source metadata and repository proof are still available above.
SkillJury Signal Summary

As of Apr 30, 2026, metal-kernel has 683 weekly installs, 0 community reviews on SkillJury. Community votes currently stand at 0 upvotes and 0 downvotes. Source: pytorch/pytorch. Canonical URL: https://skills.sh/pytorch/pytorch/metal-kernel.

Security audits
Gen Agent Trust HubPASS
SocketPASS
SnykPASS
About this skill
This skill guides you through implementing Metal kernels for PyTorch operators on Apple Silicon. Important: The goal of this skill is to use native Metal capabilities via the c10/metal/ infrastructure, NOT MPSGraph. Native Metal kernels provide better control, performance, and maintainability. There are two workflows covered by this skill: Both workflows involve: Location: aten/src/ATen/native/native_functions.yaml Find the operator entry and add MPS dispatch: When migrating an existing operator from MPSGraph to native Metal, consolidate the dispatch entry : Key change: Replace MPS: my_op_out_mps with adding MPS to the shared dispatch line (e.g., CPU, CUDA, MPS: my_op_out ). Dispatch naming conventions: Location: aten/src/ATen/native/mps/kernels/ For binary operations, use the convenience macros defined in BinaryKernel.metal : Common patterns: Example for atan2 (supports both float and int inputs): Note on complex types: Complex numbers in Metal are represented as vector types: Use is_complex_v to specialize for complex types in functors. utils.h: special_math.h: indexing.h: Location: aten/src/ATen/native/mps/operations/ Choose or create an appropriate file based on operation type: For structured kernels that use the TensorIterator pattern: For unary operations: When migrating from MPSGraph, also remove the old implementation: Remove from BinaryOps.mm (or UnaryOps.mm): Add to...

Source description provided by the upstream listing. Community review signal and install context stay separate from this narrative layer.

Community reviews

Latest reviews

No community reviews yet. Be the first to review.

Browse this skill in context
FAQ
What does metal-kernel do?

This skill guides you through implementing Metal kernels for PyTorch operators on Apple Silicon.

Is metal-kernel good?

metal-kernel does not have approved reviews yet, so SkillJury cannot publish a community verdict.

Which AI agents support metal-kernel?

metal-kernel currently lists compatibility with Skills CLI.

Is metal-kernel safe to install?

metal-kernel has been scanned by security audit providers tracked on SkillJury. Check the security audits section on this page for detailed results from Socket.dev and Snyk.

What are alternatives to metal-kernel?

Skills in the same category include grimoire-morpho-blue, conversation-memory, second-brain-ingest, zai-tts.

How do I install metal-kernel?

Run the following command to install metal-kernel: npx skills add https://github.com/pytorch/pytorch --skill metal-kernel

Related skills

More from pytorch/pytorch

Related skills

Alternatives in Software Engineering