AI product Open source

Laya-CoreML

Laya-CoreML is an open-weight on-device decision-model runtime and port of Laya for Apple Silicon, using Core ML and Apple's Neural Engine. It answers typed choice, ordinal-score, and boolean questions with probabilities or scores rather than generating text or JSON; its Python API loads a model and returns structured answers.

View repository Mentioned in 1 video ↓

Overview

The repository includes Core ML checkpoints, tokenizer and configuration files, an offline Python package, a command-line Snake demo, and conversion and benchmarking tools. The Neural Engine bundle uses a short fixed-capacity input path, while longer or general-purpose requests can use CPU-and-GPU checkpoints. The project documents a separate Neural Engine graph using BC1L activations, 1×1 projections, and per-head attention, with CPU handling input and output boundaries.

It supports macOS 15 or later on Apple Silicon and can run without PyTorch, Transformers, or MLX at inference time. The project is licensed under Apache-2.0 and describes itself as an independent port by Convai Innovations and contributors, not an official Convai Innovations or Apple release.

What Laya-CoreML is used for

1 use taken from transcripts — each links to the moment in the video.

  • A Core ML implementation of Laya's typed decision model for Apple's Neural Engine. It returns probabilities or scores for choices without generating paragraphs.

Videos mentioning Laya-CoreML

1 in the library.