← all repositories
PINTO0309/Tensorflow-bin

TensorFlow Lite wheels for Pi that Google forgot to ship

Prebuilt ARM binaries with XNNPACK and MediaPipe custom ops, because compiling TensorFlow on a Raspberry Pi is a form of cruelty.

507 stars Shell ML Frameworks
Tensorflow-bin
Velocity · 7d
+0.2
★ / day
Trend
steady
star history

What it does

This repo distributes prebuilt .whl files for TensorFlow and TensorFlow Lite on ARM devices—primarily Raspberry Pi 3/4/5 and Jetson Nano. It covers a sprawling matrix of architectures (armhf, aarch64), OS versions (Raspbian Stretch through Debian Bookworm), Python releases (2.7 through 3.11), and glibc versions. You run a shell script or a pip install command pointing at a GitHub release, and you get a working binary without the multi-hour Bazel compile.

The interesting bit

The builds include XNNPACK with half-precision float16 acceleration and multi-threading support—features that can meaningfully speed up on-device inference. There’s also support for MediaPipe custom operations, which matters if you’re running Google’s vision pipelines on edge hardware. The maintainer stopped building 32-bit armhf wheels once Raspberry Pi OS went 64-bit, but left a breadcrumb trail to a separate repo for legacy users.

Key highlights

  • TensorFlow 2.15.0.post1 wheels for Python 3.9–3.11 on aarch64, pinned to specific glibc versions (2.31–2.36)
  • XNNPACK float16 boost enabled; multi-thread interpreter support demonstrated with 4-thread MobileNet benchmarks (~2.5× speedup shown in sample)
  • MediaPipe custom op support baked into recent builds
  • Historical TensorFlow 1.15.0 wheels preserved for the stubborn or legacy-bound
  • C-library builds included as appendix, though the maintainer candidly notes they haven’t personally tested them

Caveats

  • The install instructions require exact dependency versions (numpy 1.26.2, protobuf 3.20.3, etc.) and differ subtly between Debian Bullseye and Bookworm—copy-paste the wrong block and you’ll hit runtime errors
  • FlexDelegate support was dropped at some point (struck through in the README without explanation)
  • No automated CI visible; you’re trusting release binaries built and uploaded by a single maintainer

Verdict

Grab this if you’re doing TensorFlow Lite inference on Raspberry Pi and value your time over compile purity. Skip it if you’re on x86, need the full TensorFlow training stack, or require audited build provenance.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.