All skills
apple avatar

apple/coreai-models

Model export recipes, Python primitives, and Swift runtime utilities for on-device AI

main Updated yesterdayGitHub
README badge for apple/coreai-models

Repository statistics

  • Indexed skills

    3

  • Skill groups

    1

  • GitHub stars

    2,164

  • Forks

    219

3 total

/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.

/model-compression-exploration

Systematically explore weight compression configurations (quantization and palettization) for a PyTorch model using coreai-opt, presenting a comprehensive overview of accuracy-vs-size tradeoff options. Use this skill whenever the user wants to compress a model, explore quantization or palettization options, understand compression config tradeoffs, reduce model size, or compare different compression techniques. Also trigger when the user mentions coreai-opt compression, weight quantization exploration, or palettization exploration — even if they don't say "explore" explicitly.

The badge links readers to this page. It shows the skilld mark and no counts, and it follows the reader's light or dark GitHub theme.

<a href="https://skilld.dev/gh/apple/coreai-models"> <picture> <source media="(prefers-color-scheme: dark)" srcset="https://skilld.dev/b/apple/coreai-models?theme=dark"> <source media="(prefers-color-scheme: light)" srcset="https://skilld.dev/b/apple/coreai-models?theme=light"> <img alt="Skill repository on skilld.dev" src="https://skilld.dev/b/apple/coreai-models?theme=light"> </picture> </a>