Skip to main content
banner

Tinkerbox for Apple Neural Engine

Run models on Apple's Neural Engine through Core AI. Inference runs on the Neural Engine, the CPU handles tokenization and other light work, and the GPU stays idle.

Model Task Chips Notes
LiquidAI/d1-3B (d1-3b) Decisions over text and images, several questions per pass M4–M6 d1.md
vllm-sr/d3-nano, d3-mini (d3-nano, d3-mini) Decisions over text and images M4–M6 d3.md
k2-fsa/OmniVoice (omnivoice) Speech, voice design and cloning M4–M6 omnivoice.md
openbmb/VoxCPM2 (voxcpm2, voxcpm2-lut8) Speech, voice design, cloning and continuation M1–M6 voxcpm2.md
openai-community/gpt2 (gpt2, gpt2-medium, gpt2-large, gpt2-xl) Text completion M1–M6 gpt2.md

Requires macOS 27 on Apple Silicon.

App

Download Tinkerbox-ANE-*-macos-arm64.zip from the latest release, move Tinkerbox.app to Applications and open it. It sets up its own Python environment and downloads each model the first time you select it. Its tasks are also available as Shortcuts actions. See the app guide.

Python

Python 3.12 or 3.13:

python -m pip install tinkerbox-ane            # add [speech] for OmniVoice and VoxCPM2
import tinkerbox_ane

with tinkerbox_ane.load("d1-3b") as model:
    result = model.system_one(
        "I was charged twice this month.",
        {"refund": {"type": "noul", "instructions": "Is this a refund request?"}},
    )
    print(result["answers"])

tinkerbox_ane.load(model_id) downloads the Core AI bundle for this Mac to ~/Library/Caches/tinkerbox-ane/models/ and returns the API for the model's task. Pass a directory as the second argument to load a local bundle instead. Bundles include the tokenizer, configuration and the few weights that run on the CPU, so loading never downloads the upstream checkpoint.

  • Decisions (d1, d3): system_one, system_one_batch, probabilities, probabilities_batch and count_tokens answer yes/no (noul), choice and score questions. d1-3B answers several questions about one input in a shared pass; d3 runs them one after another.
  • Speech (OmniVoice, VoxCPM2): generate, reusable voice prompts and on-device transcription. VoxCPM2 also streams. See the speech API.
  • Text completion (GPT-2): OpenAI-style complete(prompt=..., max_tokens=...) with streaming, sampling and batching.

python -m tinkerbox_ane.storage lists what each model keeps on disk. --remove MODEL deletes a model's files (with --outdated, only revisions the catalog no longer loads; --outdated alone does that for every model). --remove-checkpoint REPO... deletes upstream checkpoints, and --remove-unused deletes compiled copies that no bundle uses.

Development

Building from source, exporting and publishing models, and running tests are covered in the developer guide. Releases follow Releasing.

Metadata

Release files for tinkerbox-ane 2.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tinkerbox-ane 2.3.0
File Size Uploaded Provenance Actions
tinkerbox_ane-2.3.0.tar.gz 340.8 kB With provenance Details for tinkerbox_ane-2.3.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for tinkerbox-ane 2.3.0
File Interpreter ABI Platform Actions
tinkerbox_ane-2.3.0-py3-none-macosx_27_0_arm64.whl Python 3 none macOS 27.0+ ARM64 Details for tinkerbox_ane-2.3.0-py3-none-macosx_27_0_arm64.whl

Total release size: 682.9 kB

Release files / tinkerbox_ane-2.3.0.tar.gz

Download URL tinkerbox_ane-2.3.0.tar.gz
Size 340.8 kB
Tags Source
SHA-256 checksum
How to use checksums
606d067adcc13f0aec47a347af5733540649a84f451b80de3e679b413ae53552
BLAKE2b-256 checksum
How to use checksums
e1baa7f9a5c20eb795256552933b855c52d651a507cd0c11eadc6b9b999cc2ca
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 13, 2026.

Transparency log

Release files / tinkerbox_ane-2.3.0-py3-none-macosx_27_0_arm64.whl

Download URL tinkerbox_ane-2.3.0-py3-none-macosx_27_0_arm64.whl
Size 342.1 kB
Tags Python 3 macOS 27.0+ ARM64
SHA-256 checksum
How to use checksums
ce8db5c978211ef2b885c5807ad8447f89abd88e01fdf50163ad4ab2111c2391
BLAKE2b-256 checksum
How to use checksums
e7b61b8f8cf27ca2ef0470fd96f600ed24f86360d56e786a7eb2971910d7bb57
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 13, 2026.

Transparency log

Security for tinkerbox-ane 2.3.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for tinkerbox_ane-2.3.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 13, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page