Open source · MIT · running on real silicon

Forging new life into
discontinued silicon

MyriadForge revives the Intel Neural Compute Stick (Movidius Myriad 2) as a modern edge accelerator — a dual-backend OpenVINO shim, async-pipelined throughput, and five real AI apps, all on the actual stick.

+0%
throughput gain
async pipelining vs sync
0
inferences / sec
MobileNetV2 gate on-stick
0
kNN queries / sec
10k×256 vector table
0
ops mapped on silicon
42 supported · 7 firmware-rejected
MA2450 Intel Neural Compute Stick · Myriad 2
The device

A 12-core vector DSP, rescued from the drawer

The Myriad 2 (MA2450) is a USB accelerator Intel discontinued and dropped from OpenVINO after 2020.3. It can't run LLMs — but it's a genuinely capable, ~1 W always-on decision engine for static-shape FP16 workloads.

  • 🧠
    12 SHAVE VLIW DSPsFixed allocation on Myriad 2 — FP16, static shapes
  • 🔌
    USB3 · WinUSB~60 ms per-inference round trip; firmware-bound latency
  • 📦
    OpenVINO 2020.3.2The last release whose MYRIAD plugin accepts PID 0x2150
The measured ceiling

The ceiling is the model, not the chip

Paired-gap probes — each workload benched against a zero-compute twin with the identical input — isolate pure compute time on real silicon. The same chip that gives MobileNetV2 14.4 GFLOPS gives a dense 3×3 Conv stack 35.8 GFLOPS: the bottleneck is model structure, not the SHAVEs.

Dense Conv 3×3
35.8 GFLOPS
MobileNetV2-7 gate
14.4 GFLOPS
FC / 1×1 stack
2.9 GFLOPS

Silicon peak: 80–150 GFLOPS [secondary] — dense convs reach ~25–45 % of it; depthwise/1×1 paths are memory-bound at ~2–3 GFLOPS. Paired-gap probes, real ma2450, 2026-11-20.

42 ops supported 7 rejected by firmware 15 MO-2020.3 limited 3 probe pending 1 no onnx schema
The shim

Old driver, modern surface

The legacy library becomes a thin device-access shim; modern orchestration plugs in above it. The same five apps run unchanged on either the NCS1 (Myriad 2) or an NCS2 (Myriad X).

Apps & libsasync orchestration · batching · modern preprocessingevolves
The shimapps/common/ov.py — dual-backend compat layer + bridgesevolves
Device accessIECore 2020.3 (NCS1) · openvino.runtime 2022.3 (NCS2), isolated venvswrapped
HardwareWinUSB · Myriad firmware · XLink USB protocolfixed
Where the speed comes from.

A newer host library can't make the firmware compute faster — single-inference latency is firmware-bound. The +48% comes from overlapping USB transfer with on-stick compute via multiple in-flight async requests. Model batching does not help on Myriad 2; pipelining does. Every number is measured on real silicon, with the limits documented.

And a capability shim.

Speed isn't the only gain. With --device hetero (HETERO:MYRIAD,CPU), ops the Myriad 2 can't compile — like the MobileNetV3-style HardSigmoid — fall back to the host CPU automatically. A graph pure MYRIAD rejects runs on the heterogeneous pipeline, widening the set of models the stick can accelerate.

Where the 58 ms actually goes.

Measured black-box (the plugin's own profiler crashes): 1.5 ms fixed dispatch, 14.8 ms input transfer (~40 MB/s), and 41.7 ms compute — running at just ~14 GFLOPS, about 10–18 % of the 80–150 GFLOPS peak. The device is compute-execution-bound, not USB-bound; the transfer share is precisely what pipelining hides (58.0 − 14.8 = 43.2 ms, the measured pipelined p50 to 0.01 ms). Bonus: FP16 input tensors are accepted and 4× faster (16.3 → 4.1 ms on the same graph) — the shim exposes that to every app.

dispatch 2.6 %transfer 25.5 %compute 71.9 %
The pilots

Five 2026 applications, on the stick

A cheap always-on gate flags interesting ranges; an expensive host brain only wakes when needed. Each pilot speaks the same versioned event & index contracts.

🚦

Decision gate

apps/gate

Classifier + threshold → a versioned trigger event. The always-on first stage of every app.

🎬

Footage triage

apps/footage

Video → sampled frames → gate → a timestamp/label/confidence index for search & editing.

🎙️

Podcast triage

apps/podcast

WAV → windows → gate → speech-event index. ASR stays on the host; the stick gates.

🔎

kNN-as-MatMul

apps/knn_engine

Vector table as constant GEMM weights; ~285 queries/sec. Capacity calculator included.

🧩

Cascade

apps/cascade

Gate fires → host Mirage describes the frame. Full latency chain, end to end.

📊

Bench & report

myriadforge

Versioned result records, percentile metrics, and a self-contained HTML dashboard.

The cascade, measured against Mirage.

The brain is expensive: Mirage costs 1.59 s per frame on the host CPU (720p) — 60 frames unguarded is 95 s. The stick screens all 60 in ~4.5 s at ~1 W. On our cartoon sample the gate fires on everything (an ImageNet top-1 gate is confidently wrong on abstract content) — the honest lesson: the gate needs task-specific semantics, and the harness now measures exactly that trade. On real footage where 1–5 % of frames fire, the same cascade cuts Mirage invocations 20–100×.

Trained for the job: four custom gates, physically evaluated.

The missing piece has been built — task-specific FP16 gates trained, deployed and scored on the real stick: voice commands (90.7 %, p95 3.89 ms), text intent routing (80.1 %, p95 3.08 ms), desktop control localization (89.2 %), and an experimental browser ranker — plus a rank-4 LoRA adapter for Cactus's own Needle 3. Datasets are CC BY 4.0 with full provenance. And MagicEightBall: a 131,072-token Boolean decision model whose smallest physically tested NCS1 build uses 480 bytes, with its Boolean policy retained on the stick.

Model lab, evaluation records and reproduction steps ↗

The suite matrix

Thirteen suites, one contract — and the same models on older devices

Every model family is a suite: a frozen spec with acceptance gates declared before any sealed set, digest-verified fixtures, a trainer, a bundle, and a device evaluation — with Cactus models as references to beat, not dependencies. The lanes row per suite is the visible answer to "which older devices run this today": the same ONNX artifacts measured on the stick, on plain x86 (ONNX Runtime), and convertible to LiteRT for phones via the WSL2 worker.

Decisions & tools

MagicEightBall (boolean suite) — release-ready: 512-byte blob, 128/128 physical, 30-min soak, 7-backend matched comparison. VoiceTools — trained v4 with slot-level abstention: 74.0 % exact / 5.4 % false actions / p95 9.7 ms on-device, FP16 decisions identical to CPU, beating the host Whistle→Needle 3 stack (44.4 % / 13.5 % / 430 ms) on every axis. Voice (90.7 %), intent (80.1 %), grounding (experimental) complete the row.

Perception & speech

forms 89.2 % · retrieval encoder v0 trained (contrastive, 1 MB FP16 — in-corpus Recall@10 0.68, kNN engine measured 285 qps) · vision-gate spec frozen (compute-dense design per the 35.8-GFLOPS ceiling — fixes the measured cascade failure) · vad v0.1 device-evaluated: quality gates PASS (0.0 false wakes/hour @ frozen threshold), latency gated by the paired-gap method · docqa, asr specs frozen.

Lanes (portability)

Every suite records ncs1 / cpu / ort / litert / ncs2 / coral. Measured today: MobileNetV2 gate 171 inf/s, VoiceTools 0.61 ms p50, vad 0.14 ms p50 on plain ONNX Runtime vs 15.7 inf/s / 9.6 ms / 7.0 ms on the stick — same fixtures, same gates, same record schema (ntvbench.result/1). LiteRT conversion runs via litert-torch in WSL2 (the Windows converter accepts Jax/PyTorch only — probe verdict recorded). NCS2 lane prepared; cold-USB procedures documented.

The suite contract and full matrix ↗

Quickstart

Running in a few minutes

Native Windows only — the MYRIAD driver story is Windows-native, not WSL2.

# 1. Isolated OpenVINO 2020.3.2 venv for the NCS1 (idempotent)
powershell -ExecutionPolicy Bypass -File tools\ncs1\setup_env.ps1

# 2. WinUSB driver for the stick (one elevated run; approve UAC)
powershell -ExecutionPolicy Bypass -File tools\ncs2\install_driver.ps1

# 3. Functional smoke test (ONNX → FP16 IR → CPU vs onnxruntime)
tools\ncs1\.venv\Scripts\python.exe tools\ncs1\smoke_cpu.py

# 4. Discover lanes + a real benchmark on the stick
uv sync
uv run myriadforge devices
uv run myriadforge bench onnx-models/mobilenetv2-7 --device ncs1-myriad

# 5. Every pilot on the stick, one summary report
tools\ncs2\.venv\Scripts\python.exe tools\ncs2\demo_mvp.py --lane ncs1 --device myriad --full