docs: Apple Core AI cookbook and Agent Skill for MiniCPM5-2B (iPhone / iPad / Mac) - #369
Open
john-rocky wants to merge 1 commit into
Open
docs: Apple Core AI cookbook and Agent Skill for MiniCPM5-2B (iPhone / iPad / Mac)#369john-rocky wants to merge 1 commit into
john-rocky wants to merge 1 commit into
Conversation
Adds docs/deployment/coreai.md and skills/minicpm5-deploy-coreai/SKILL.md (community Core AI .aimodel conversion of MiniCPM5-2B, iPhone / iPad / Mac in Swift), routes "iPhone / iOS / Swift / Xcode" to the new skill in minicpm5-deploy, and lists the backend in the MiniCPM5-2B deployment table of README.md and README-cn.md.
john-rocky
force-pushed
the
docs-apple-core-ai
branch
from
September 9, 2026 09:46
d0b5e21 to
8bce5b5
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Thanks for the per-backend cookbooks and Agent Skills, and for MiniCPM5-2B. This replaces my earlier README-only note (it conflicted after the 2B release) with the shape the table uses: a cookbook and a paired skill for Apple Core AI, so that "run it in an iPhone / iPad / Mac app" has a route in
minicpm5-deploy; the router had no iOS row.What it adds:
docs/deployment/coreai.mdandskills/minicpm5-deploy-coreai/SKILL.md: the Swift path through the community CoreAIKit package, Apple's ownCoreAILanguageModelspath, the conversion recipe, on-device numbers, and pitfalls.minicpm5-deploy: one checkpoint row, one decision-matrix row, one default pick, one line on the sanity check.The bundle is a community int8 conversion (per-block-32 scales, 2.7 GB), token-exact against fp32 on the checks in its card; measured 22.4 tok/s decode on iPhone 17 Pro and 127.6 tok/s on M4 Max. Validated today end to end:
chat-cli --model minicpm5-2b --prompt "1+1=?"answers1 + 1 = 2.and stops, on both CoreAIKit and Apple'sllm-runner.MiniCPM5-1B is not in this PR. Its current Core AI bundle keeps generating after the answer on that prompt, while the reference checkpoint stops in
transformers, so the bundle needs a fix on my side first. I will add the 1B once a corrected bundle is verified. If any wording or placement should be different for this repo, tell me and I will change it. Thanks again.