Skip to content
Hacker News front page

Laya on Mac M4 CoreML Offline: 45 decisions per second

Laya (OS Jev) on Mac M4 CoreML Offline (45 decisions per second)

Developer fordnox runs the Laya model offline on a Mac M4 via CoreML, achieving 45 decisions per second. He shares setup commands: create a project with uv, install the laya-coreml package, download a multilingual model from Hugging Face, and run a Snake game demo. The post doesn't disclose model size or latency details, but 45 decisions per second is viable for real-time on-device gaming.

Read the original ↗Export Markdown