September 20, 2026 20:10
-
Select an option
-
Embed
Embed this gist in your website.
-
Share
Copy sharable link for this gist.
-
Clone via HTTPS
Clone using the web URL.
No results found
-
- Save fordnox/e592d0f68b543fd044be8e6d040863a0 to your computer and use it in GitHub Desktop.
Select an option
-
Embed
Embed this gist in your website.
-
Share
Copy sharable link for this gist.
-
Clone via HTTPS
Clone using the web URL.
No results found
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 |
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}}}
<!– –>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Source: Hacker News


testing https://github.com/mizorewww/laya-coreml
LAYA-CORE-ML.mov
Memory usage