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.1

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.1
File Size Uploaded Provenance Actions
tinkerbox_ane-2.3.1.tar.gz 340.9 kB With provenance Details for tinkerbox_ane-2.3.1.tar.gz

Built distribution (wheel)

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

Total release size: 683.2 kB

Release files / tinkerbox_ane-2.3.1.tar.gz

Download URL tinkerbox_ane-2.3.1.tar.gz
Size 340.9 kB
Tags Source
SHA-256 checksum
How to use checksums
8e79c5fdd1919b9d4f286906d79f5753e042a533d6eb43eb976c59fc20aebf97
BLAKE2b-256 checksum
How to use checksums
7e895cb92adc3f2a4f97467b8a35ad487b058d598a11ce2423138c693fc4bd9a
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.1-py3-none-macosx_27_0_arm64.whl

Download URL tinkerbox_ane-2.3.1-py3-none-macosx_27_0_arm64.whl
Size 342.3 kB
Tags Python 3 macOS 27.0+ ARM64
SHA-256 checksum
How to use checksums
9ff4b138943c69e5036c6025b3a66f067d64beb4a3400f6aa86e6685734e4558
BLAKE2b-256 checksum
How to use checksums
25085185eda36a33196ac68b563e6bbafbcece8722c7cbd4a89551300e4e0a85
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.1

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.1.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