Latest version of TensorFlow on a 32-bit (armv7l) Raspberry Pi OS?

What is the latest version of tensorflow supported by Raspberry Pi 32-bit OS? I have successfully compiled and installed tf 2.2.0 from a source on a 32-bit RPi OS, but I need at least 2.3.0 or 2.4.0 tf version for my model to run on RPi 4B.

Have you tried using tflite_runtime?

The tflite_runtime package is a fraction the size of the full tensorflow package and includes the bare minimum code required to run inferences with TensorFlow Lite—primarily the Interpreter Python class. This small package is ideal when all you want to do is execute .tflite models

The tflite-runtime Python wheels are pre-built and provided for these platforms:

  • Linux armv7l (e.g. Raspberry Pi 2, 3, 4 and Zero 2 running Raspberry Pi OS 32-bit)
  • Linux aarch64 (e.g. Raspberry Pi 3, 4 running Debian ARM64)
  • Linux x86_64

Thank you!