Discover and explore top open-source AI tools and projects—updated daily.
john-rockyEnd-to-end Core AI model conversion and on-device inference
Top 82.4% on SourcePulse
This repository provides a community-curated model zoo and knowledge base for deploying AI models, particularly LLMs, on Apple's Core AI framework for iOS and macOS. It targets developers and researchers seeking efficient, verified on-device inference, offering converted models, conversion tools, and performance optimization insights for Apple hardware.
How It Works
The project focuses on converting popular open-source models (e.g., Qwen, Gemma) into Apple's .aimodel format, enabling on-device execution via the Core AI framework. It emphasizes end-to-end verification on target devices like iPhone and Mac, providing detailed conversion scripts, custom Metal kernels for performance bottlenecks, and a Swift runner for integration. This approach facilitates practical deployment of advanced AI capabilities directly on user devices.
Quick Start & Requirements
apps/CoreAIChat, apps/QwenChatFast) or the Swift package (swift/CoreAIRunner). The demo app offers the simplest entry point with in-app model downloads..dmg (notarized)knowledge/swift-runtime.mdknowledge/conversion-guide.mdknowledge/custom-metal-kernels.mdHighlighted Details
Maintenance & Community
The repository is described as a "Community model zoo," but specific details regarding active maintainers, sponsorships, or dedicated community channels (like Discord/Slack) are not present in the provided text.
Licensing & Compatibility
The repository code is licensed under BSD-3-Clause. Model weights adhere to their respective original licenses (e.g., Apache-2.0, MIT, Gemma, LFM Open License v1.0, Stability Community). The BSD-3-Clause license is permissive for commercial use.
Limitations & Caveats
The project relies on beta versions of Apple's Core AI framework (iOS 27 / macOS 27), indicating potential instability and breaking changes. A known issue is an "in-graph KV-write crash" within the Core AI beta MPSGraph, for which workarounds are documented. Some advanced models are exclusively Mac-only, and ANE inference is not universally supported across all model types. Certain models require custom Metal kernels to function due to limitations in the stock framework's attention mechanisms.
23 hours ago
Inactive
JosefAlbers
pytorch