ane/

directory
v0.6.19 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 28, 2026 License: MIT

Directories

Path Synopsis
Command blockrace runs the same feed forward network on the Neural Engine and on the GPU, first one at a time and then both at once, to measure whether the two engines contend when one process drives them together.
Command blockrace runs the same feed forward network on the Neural Engine and on the GPU, first one at a time and then both at once, to measure whether the two engines contend when one process drives them together.
Command bundlereuse compiles a MIL program to a Neural Engine bundle once, then reopens that bundle — in this process and in a second process, with the source MIL and its weights deleted — and checks that every arm computes the same answer as a float64 CPU reference.
Command bundlereuse compiles a MIL program to a Neural Engine bundle once, then reopens that bundle — in this process and in a second process, with the source MIL and its weights deleted — and checks that every arm computes the same answer as a float64 CPU reference.
Command e5rtblock runs a transformer block on the Neural Engine through the private e5rt direct-dispatch route, and checks what comes back against a float64 CPU reference of the whole block.
Command e5rtblock runs a transformer block on the Neural Engine through the private e5rt direct-dispatch route, and checks what comes back against a float64 CPU reference of the whole block.
Command e5rtdispatch runs a MIL program on the Apple Neural Engine through Espresso's private e5rt_* direct dispatch route, and checks the answer.
Command e5rtdispatch runs a MIL program on the Apple Neural Engine through Espresso's private e5rt_* direct dispatch route, and checks the answer.
Command e5rtprobe reports what the x/ane/e5rt binding of Espresso's e5rt_* direct-dispatch route can be shown to do, and refuses to report anything else.
Command e5rtprobe reports what the x/ane/e5rt binding of Espresso's e5rt_* direct-dispatch route can be shown to do, and refuses to report anything else.
Command e5rtstack runs a stack of transformer blocks on the Neural Engine through the private e5rt direct-dispatch route, in one dispatch, and checks what comes back against a float64 CPU reference of the whole stack.
Command e5rtstack runs a stack of transformer blocks on the Neural Engine through the private e5rt direct-dispatch route, in one dispatch, and checks what comes back against a float64 CPU reference of the whole stack.
Command espressoe5rtblock runs a transformer block on the Neural Engine through the private e5rt direct-dispatch route, and checks what comes back against a float64 CPU reference of the whole block.
Command espressoe5rtblock runs a transformer block on the Neural Engine through the private e5rt direct-dispatch route, and checks what comes back against a float64 CPU reference of the whole block.
Command espressoe5rtdispatch runs a MIL program on the Apple Neural Engine through Espresso's private e5rt_* direct dispatch route, and checks the answer.
Command espressoe5rtdispatch runs a MIL program on the Apple Neural Engine through Espresso's private e5rt_* direct dispatch route, and checks the answer.
Command espressoe5rtprobe reports what the generated private/espresso binding of Espresso's e5rt_* direct-dispatch route can be shown to do, and refuses to report anything else.
Command espressoe5rtprobe reports what the generated private/espresso binding of Espresso's e5rt_* direct-dispatch route can be shown to do, and refuses to report anything else.
Command espressoe5rtstack runs a stack of transformer blocks on the Neural Engine through the private e5rt direct-dispatch route, in one dispatch, and checks what comes back against a float64 CPU reference of the whole stack.
Command espressoe5rtstack runs a stack of transformer blocks on the Neural Engine through the private e5rt direct-dispatch route, in one dispatch, and checks what comes back against a float64 CPU reference of the whole stack.
internal
anedrestart command
Command anedrestart reopens an E5RT bundle compiled under a previous aned instance and checks the answer, to measure whether bundle reuse survives a restart of the daemon.
Command anedrestart reopens an E5RT bundle compiled under a previous aned instance and checks the answer, to measure whether bundle reuse survives a restart of the daemon.
espressoe5rt
Package espressoe5rt adapts Espresso's generated e5rt bindings for examples.
Package espressoe5rt adapts Espresso's generated e5rt bindings for examples.
Command linkedstate measures what happens when retained E5RT state flows through a pipeline-style link: two separately compiled functions encoded in one stream whose state inout ports share one buffer object.
Command linkedstate measures what happens when retained E5RT state flows through a pipeline-style link: two separately compiled functions encoded in one stream whose state inout ports share one buffer object.
Command modelchain runs a transformer block on the Neural Engine through the public x/ane API, chaining two compiled models by sharing an IOSurface, and checks the result against a float64 CPU reference.
Command modelchain runs a transformer block on the Neural Engine through the public x/ane API, chaining two compiled models by sharing an IOSurface, and checks the result against a float64 CPU reference.
Command pipelinelogits runs a language model's logits tail — final RMSNorm, classifier projection, softmax — as one linked e5rt.Pipeline on the Neural Engine, and checks every probability against a float64 CPU reference.
Command pipelinelogits runs a language model's logits tail — final RMSNorm, classifier projection, softmax — as one linked e5rt.Pipeline on the Neural Engine, and checks every probability against a float64 CPU reference.
Command portlayout sweeps ordinary input and output E5RT ports across tensor shapes with the same self-indexing technique that mapped the state buffer layout, and checks the claim that only the state carries padding.
Command portlayout sweeps ordinary input and output E5RT ports across tensor shapes with the same self-indexing technique that mapped the state buffer layout, and checks the claim that only the state carries padding.
Command slotgauge measures how many distinct compiled ANE functions one process can keep encoded in a stream, and whether another process holding that resource moves the number — the occupancy signal any scheduler around the function ceiling has to consult.
Command slotgauge measures how many distinct compiled ANE functions one process can keep encoded in a stream, and whether another process holding that resource moves the number — the occupancy signal any scheduler around the function ceiling has to consult.
Command statecache keeps mutable state resident on the Neural Engine across executions, and across two separately compiled programs, through one retained E5RT inout port.
Command statecache keeps mutable state resident on the Neural Engine across executions, and across two separately compiled programs, through one retained E5RT inout port.
Command surfaceffn runs an Apple Neural Engine matmul over IOSurface pages that another Go process wrote — the ANE arm of the surfacecompute family (examples/iosurface/tensorshare, examples/metal/surfacecompute).
Command surfaceffn runs an Apple Neural Engine matmul over IOSurface pages that another Go process wrote — the ANE arm of the surfacecompute family (examples/iosurface/tensorshare, examples/metal/surfacecompute).

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL