Last active
October 5, 2026 18:12
-
-
Save fordnox/e592d0f68b543fd044be8e6d040863a0 to your computer and use it in GitHub Desktop.
Laya on Mac m4 CoreML Offline https://github.com/mizorewww/laya-coreml
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
| mkdir test-laya | |
| cd test-laya | |
| uv init | |
| uv add 'laya-coreml[demo]' | |
| hf download aac6fef/laya-multilingual-coreml-ane --local-dir models/snake | |
| uv run laya-coreml-snake --model models/snake |
Author
Nice! I just wanted to see what Laya does and put it behind Cloudflare's typesafe/jev API:
curl https://laya.inference.zaitlabs.com/ai/run \
-H "Content-Type: application/json" \
-d '{
"state": "Help! My payouts have been failing for 3 days.",
"questions": {
"is_urgent": {"type": "noul", "instructions": "Does this convey urgency?"}
}
}'{"answers":{"is_urgent":{"type":"noul","noul":0.7894}}}can i use it on windows?
can i use it on windows?
This, model is built for Apple Silicon. So, you can’t run this on Windows, you need to look for another variant and procedure.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
testing https://github.com/mizorewww/laya-coreml
LAYA-CORE-ML.mov
Memory usage