Model Authoring

Empirical rules for authoring PyTorch models for on-device execution on Apple platforms, covering energy-efficient inference, scalable compute, and correctness testing. Use this skill whenever the user is writing, debugging, or reviewing PyTorch model code intended for on-device execution — even if they don't explicitly mention Neural Engine or Core AI. Covers BC1S layout, op compatibility, KV cache patterns, precision rules, PSNR verification, activation functions, and common issues.

apple b1f63dc 4 files · 47.1 KB Updated

File contents

apple/coreai-models/tree/main/skills/skills/model-authoring commit b1f63dc1f4

Frequently asked questions

npx skillmds@latest add apple/model-authoring