Skip to content

Jev directory

Laya Apple

A correctness-validated Laya runtime for Apple Silicon that runs upstream Laya on the MLX GPU and the Apple Neural Engine, using the ANE only after an artifact passes a parity gate on your machine, plus a local Jev-compatible server.
Stars
19
Language
Python
License
APACHE-2.0
Reading time
3 min
Published by
Community
Author
tc3oliver
Last verified
Oct 2026

Highlights

  • Runs upstream Laya on the MLX GPU and the Apple Neural Engine, picking one engine per request based on question length and artifact validation.
  • A plain Core ML export ran error-free on the ANE yet disagreed with upstream on up to 85 decisions, so an ANE artifact is used only after a parity gate.
  • Each result records its device and routing_reason; asking for the ANE explicitly returns the validated artifact or an exception, never a silent fallback.
  • With execution="workers" both engines serve at once; measured on one Apple M4 Max and watchable with uvx laya-apple switchyard.
  • The serve extra makes laya-apple serve answer existing Jev clients locally with upstream Laya, with no changes to the client.

Quickstart

bash
pip install 'laya-apple[ane]'

Watch out

Grounded in the truncated repository README and GitHub metadata reviewed on 2026-10-15; the speed and routing numbers come from one Apple M4 Max, the ANE extra needs macOS 26 or 27 with coremltools 9.0, and the README's build-from-source section was cut off.

Questions about this entry

Short answers drawn from the linked project or page.

From the Jev guides

Original write-ups on what this entry is for.

From the Jev AI model community

Posts from builders shipping with Jev right now.

Follow @typesafeai