mirror of https://github.com/vee1e/tflite-micro - Infrastructure to enable deployment of ML models to low-powe
Find a file
Ryan Kuester fe70be213c feat(pypi): add support for Python 3.12 and 3.13
Add build configuration for Python 3.12 and 3.13 to the PyPI package.
Update the BUILD file with new compatibility tags and config settings,
extend pypi_build.sh to accept the new Python versions, and add build
steps in the GitHub Actions workflow.

Fix whl_test.sh to rename wheels with unstamped variable names before
pip installation. The py_wheel rule creates the base :whl target with
literal stamp variables like _BUILD_EMBED_LABEL_ in the filename for
Bazel caching purposes. Pip 25.x, which ships with Python 3.12+,
strictly validates wheel filenames and rejects these as invalid version
specifiers. Use sed to replace the unstamped variables with a valid
placeholder version (0.0.0) for testing purposes.

Python 3.14 support is not included because Python 3.14 has not yet
been released (scheduled for October 2025).

Fixes: #3186
2025-09-30 12:10:28 -05:00
.github feat(pypi): add support for Python 3.12 and 3.13 2025-09-30 12:10:28 -05:00
ci [CI] Removed six, updated absl_py (#3203) 2025-09-25 14:37:39 -07:00
codegen [CI] Removed six, updated absl_py (#3203) 2025-09-25 14:37:39 -07:00
data/continuous_builds
docs
python feat(pypi): add support for Python 3.12 and 3.13 2025-09-30 12:10:28 -05:00
signal [CI] Fix build (#3194) 2025-09-19 20:48:22 +00:00
tensorflow Disabled two tests for qemutest (#3206) 2025-09-26 09:12:51 -07:00
third_party [CI] Removed six, updated absl_py (#3203) 2025-09-25 14:37:39 -07:00
tools
.bazelrc build(bazel): provide means of excluding whl_test locally (#2940) 2024-11-27 00:51:53 +00:00
.bazelversion build(bazel): pin bazel version to 7.0.0 (#2360) 2024-01-03 20:53:21 +00:00
.clang-format
.editorconfig
.gitignore
.style.yapf style: add .style.yapf to control yapf styling of Python code (#2709) 2024-10-02 18:36:01 +00:00
AUTHORS
BUILD [CI] Fix build (#3194) 2025-09-19 20:48:22 +00:00
CODEOWNERS Updated owners (#3195) 2025-09-22 10:03:58 -07:00
CONTRIBUTING.md style: add .style.yapf to control yapf styling of Python code (#2709) 2024-10-02 18:36:01 +00:00
debugging_output.md Adding ReadMe for Layer by Layer Debug Targets (#2305) 2023-11-28 22:06:25 +00:00
LICENSE
README.md
SECURITY.md
WORKSPACE [CI] Fix build (#3194) 2025-09-19 20:48:22 +00:00

TensorFlow Lite for Microcontrollers

TensorFlow Lite for Microcontrollers is a port of TensorFlow Lite designed to run machine learning models on DSPs, microcontrollers and other devices with limited memory.

Additional Links:

Build Status

Official Builds

Build Type Status
CI (Linux) CI
Code Sync Sync from Upstream TF

Community Supported TFLM Examples

This table captures platforms that TFLM has been ported to. Please see New Platform Support for additional documentation.

Platform Status
Arduino Arduino Antmicro
Coral Dev Board Micro TFLM + EdgeTPU Examples for Coral Dev Board Micro
Espressif Systems Dev Boards ESP Dev Boards
Renesas Boards TFLM Examples for Renesas Boards
Silicon Labs Dev Kits TFLM Examples for Silicon Labs Dev Kits
Sparkfun Edge Sparkfun Edge
Texas Instruments Dev Boards Texas Instruments Dev Boards

Community Supported Kernels and Unit Tests

This is a list of targets that have optimized kernel implementations and/or run the TFLM unit tests using software emulation or instruction set simulators.

Build Type Status
Cortex-M Cortex-M
Hexagon Hexagon
RISC-V RISC-V
Xtensa Xtensa
Generate Integration Test Generate Integration Test

Contributing

See our contribution documentation.

Getting Help

A Github issue should be the primary method of getting in touch with the TensorFlow Lite Micro (TFLM) team.

The following resources may also be useful:

  1. SIG Micro email group and monthly meetings.

  2. SIG Micro gitter chat room.

  3. For questions that are not specific to TFLM, please consult the broader TensorFlow project, e.g.:

Additional Documentation

RFCs

  1. Pre-allocated tensors
  2. TensorFlow Lite for Microcontrollers Port of 16x8 Quantized Operators