AC

apple/coreai-models

Developer tools

Эта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал

2,3 тыс. stars Качество 65 Тренд 51BSD-3-Clause

Apple/coreai-models — это кандидат на навык агента, импортированный из https://github.com/apple/coreai-models.

Обзор

Apple/coreai-models — это кандидат на навык агента, импортированный из https://github.com/apple/coreai-models.

Обзор (машинный перевод)

Модели экспорта, примитивы Python и утилиты Swift для создания ИИ на устройстве с помощью Core AI.

Основные компоненты включают:

  • Экспорт модели — Рецепты для экспорта популярных открытых моделей из Hugging Face и других источников в формат Core AI.
  • Многоразовые примитивы — Python-строительные блоки для создания кастомных моделей Core AI в PyTorch.
  • Runtime utilities — пакет Swift, построенный на основе Core AI фреймворка для запуска моделей на macOS и iOS.
  • Навыки — Плагины, помогающие агентам по программированию эффективно использовать Core AI.
Справочник Что внутри
models/ Каталог моделей с README и экспортными рецептами.
python/ Примитивы Python для авторства и утилиты для экспорта моделей.
swift/ Пакет Swift (coreai-models): утилиты во время выполнения для интеграции основных моделей ИИ в ваше приложение.
skills/ Подключаемые навыки, позволяющие агентам программирования эффективнее использовать Core AI.

Требования

Если вы ещё не установили uv, установите его до

или

После успешной установки обратитесь к README.

Эта страница переведена автоматически. Технические детали смотрите в оригинале.

README

Показан фрагмент оригинального README. Открыть оригинал.

Core AI Models

Model export recipes, Python primitives, and Swift runtime utilities for building on-device AI with Core AI.

The main components include:

  • Model export — Recipes to export popular open source models from Hugging Face and other sources to Core AI format.
  • Reusable primitives — Python building blocks for authoring custom Core AI models in PyTorch.
  • Runtime utilities — Swift package built on top of Core AI framework to run models on macOS and iOS.
  • Skills — Plugins to help coding agents leverage Core AI effectively.
Directory What’s inside
models/ Model catalog with README and export recipes.
python/ Python primitives for authoring and utilities for exporting models.
swift/ Swift package (coreai-models): runtime utilities to integrate Core AI models in your app.
skills/ Pluggable skills that enable coding agents to leverage Core AI more effectively.

Requirements

If you haven’t installed uv, install it by

brew install uv

or

curl -LsSf https://astral.sh/uv/install.sh | sh

Once installed successfully, refer to the README.md for each model or family of models, in models folder for their exporting recipe.

Requirements (running and app integration)

  • macOS and iOS 27.0+

  • Xcode 27.0+

Core AI models are exported as standalone .aimodel files for integration into apps via the Core AI framework.

Some models require additional resources. Language models require a tokenizer, for instance, and diffusion models run multiple models in sequence as part of a single pipeline. For these cases, export recipes in this repo produce a resource folder containing one or more .aimodel files alongside any required resources. The Swift package in this repo provides runtime utilities for integrating these into an app.

Command line interface (CLI) tools are also included for running exported models directly on a Mac (requires Xcode 27.0+). See each model’s README for available tools and example invocations.

Explore supported models

Find supported models by

git clone https://github.com/apple/coreai-models.git && cd coreai-models
uv run coreai.model.registry --list-models

Run uv run coreai.model.registry --help for details.

Agent Skills

This repo includes a plugin with skills to enable coding agents to use Core AI like an expert.

Available skills

Skill Description
working‑with‑coreai End-to-end workflow for deploying PyTorch models on Apple silicon, covering export with coreai-torch and running with the Core AI runtime.
Открыть полный README на GitHub

Рекомендуемые инструменты

Попробуйте другой запрос или уберите фильтр.

Установка

npx skillfish add apple/coreai-models
Новичок в MCP? Начните с руководства на mcpskill.org →