Validated fixed-shape Apple Neural Engine (ANE) artifacts for
convaiinnovations/laya-typed-decisions,
published by the
system-one-benchmark-lab project.
Recommended default: L512.
This is an independent community conversion, not an official Convai Innovations or Apple release.
Four FP16 fixed-shape Core ML transformer-body packages:
| Variant | Frozen workload coverage | Role |
|---|---|---|
L192 |
499 / 2000 = 24.95% | Small fixed graph / short-context experiments |
L384 |
1814 / 2000 = 90.70% | Intermediate trade-off |
L512 |
1966 / 2000 = 98.30% | Recommended general-purpose ANE artifact |
L640 |
2000 / 2000 = 100% | Full-coverage research variant |
Each package was converted from the same pinned 421M source checkpoint and validated with the same frozen benchmark harness.
These packages are not standalone copies of the whole upstream checkpoint.
The ANE graph contains the fixed-shape transformer body. Runtime execution also needs
the pinned upstream convaiinnovations/laya-typed-decisions checkpoint for:
The original model.safetensors is intentionally not duplicated here.
Source checkpoint:
convaiinnovations/laya-typed-decisions
revision: f9ab0b228f0fc0f14d873dbc99038f135c2da1b2
weights SHA256: 4fa56de72383a9d3efa9cfa78955733c81b9fc8067a587ca4beb82c78107a24e
Conversion implementation:
https://github.com/mizorewww/laya-coreml
revision: 4619e0483f07adf39068532e85b42ec2347edb83
On the frozen 2,000-decision Typed Decisions workload, L512 naturally handles 1,966 / 2,000 decisions (98.3%).
On that matched subset:
On a representative 128-decision energy workload:
These measurements were made on an Apple M4 with 24 GiB unified memory. They are workload-specific, not universal hardware promises.
A deliberately short-input control showed the opposite latency result: a fixed L512 graph can be slower than MLX when the input is much shorter than its fixed shape. That is why Local System One uses routing and fallback instead of blindly sending every decision to ANE.
L640 reaches 2000 / 2000 = 100% coverage on the frozen workload and preserves 99.8% selected-decision agreement against MLX.
However, its full-workload median latency was 172.14 ms, compared with 98.17 ms for the MLX reference. It demonstrates full-coverage feasibility, not a reason to use the largest fixed graph by default.
Download the recommended package only:
hf download NMTZ/laya-typed-decisions-421m-coreml-ane \
L512/model.mlpackage/Manifest.json \
L512/model.mlpackage/Data/com.apple.CoreML/model.mlmodel \
L512/model.mlpackage/Data/com.apple.CoreML/weights/weight.bin \
L512/manifest.json \
--local-dir laya-typed421-ane
Or download the complete four-shape family:
hf download NMTZ/laya-typed-decisions-421m-coreml-ane \
--local-dir laya-typed421-ane
The public runtime is in:
https://github.com/NMTZ-z/system-one-benchmark-lab
After downloading L512, point Local System One at the package:
python -m local_system_one \
--source laya-typed-decisions \
--ane-package /path/to/laya-typed421-ane/L512/model.mlpackage
The runtime resolves the pinned upstream source checkpoint and can use MLX as a fallback path when the request falls outside the ANE route.
The benchmark repository also contains the reproducible builder:
LOCAL_SYSTEM_ONE_ANE_LENGTH=512 ./scripts/build_typed421_ane.sh
The script pins the same laya-coreml conversion revision used for these artifacts.
Release metadata:
artifact-manifest.json contains provenance, per-file
SHA256 values, coverage and key validation results.benchmarks/m4-typed421-ane-phase4-summary.json
contains the processed Phase 4 evidence.benchmarks/Phase4-421M-ANE-Engineering-Final-v1.0.md
is the engineering report.The four full body packages all passed the fixed-shape feasibility gate, with all
10,594 attributed supported operations preferred on MLNeuralEngineComputeDevice
in the anticipated compute plan. The validation subset achieved 60 / 60 argmax
agreement for each shape and 100 identical rounded repeat calls.
Apache-2.0. See LICENSE and NOTICE.
The original Laya model and code remain credited to Convai Innovations and contributors.
The Core ML / ANE conversion path is based on laya-coreml. This repository publishes
the independently validated converted artifacts and benchmark evidence.
有文件?提交种子。
发布种子L640/model.mlpackage/Data/com.apple.CoreML/weights/weight.bin 705 MiBL512/model.mlpackage/Data/com.apple.CoreML/weights/weight.bin 705 MiBL384/model.mlpackage/Data/com.apple.CoreML/weights/weight.bin 705 MiBL192/model.mlpackage/Data/com.apple.CoreML/weights/weight.bin 705 MiB