macintosh.world | Log In | Register

Today | News | Books | Recipes
Notes | QuickTake | Wiki | Browse
Maps | Reference | Reddit | YouTube
Chat | Games | About

Laya on Mac m4 CoreML Offline · GitHub

Open Original Page

Laya on Mac m4 CoreML Offline · GitHub




You signed in with another tab or window. Reload to refresh your session.
You signed out in another tab or window. Reload to refresh your session.
You switched accounts on another tab or window. Reload to refresh your session.




Instantly share code, notes, and snippets.


Last active
September 20, 2026 18:31






Star

4
(4)


You must be signed in to star a gist






Fork

0
(0)


You must be signed in to fork a gist


















Embed
Embed this gist in your website.










Share
Copy sharable link for this gist.










Clone via HTTPS
Clone using the web URL.

Learn more about clone URLs




Clone this repository at <script src="https://gist.github.com/fordnox/e592d0f68b543fd044be8e6d040863a0.js"></script>





Save fordnox/e592d0f68b543fd044be8e6d040863a0 to your computer and use it in GitHub Desktop.


















Embed
Embed this gist in your website.










Share
Copy sharable link for this gist.










Clone via HTTPS
Clone using the web URL.

Learn more about clone URLs




Clone this repository at <script src="https://gist.github.com/fordnox/e592d0f68b543fd044be8e6d040863a0.js"></script>





Save fordnox/e592d0f68b543fd044be8e6d040863a0 to your computer and use it in GitHub Desktop.





Laya on Mac m4 CoreML Offline





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

Show hidden characters



uv add 'laya-coreml[demo]'



hf download aac6fef/laya-multilingual-coreml-ane --local-dir models/snake



uv run laya-coreml-snake --model models/snake

There was an error while loading. Please reload this page.




testing https://github.com/mizorewww/laya-coreml




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}}}

https://laya.inference.zaitlabs.com/terms




Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment


© 2026 GitHub, Inc.




Do not share my personal information







You can't perform that action at this time.

Links

Open - Skip to content
Open - All gists
Open - Back to GitHub
Open - Sign in
Open - Sign up
Open - Sign in
Open - Sign up
Open - fordnox
Open - laya.sh
Open - Download ZIP

Browse another page:

URL