TFLite 16 KB fix: moved to com.google.ai.edge.litert:litert
Artifact org.tensorflow:tensorflow-lite · Maintained by hermonLabs · last measured 1 Oct 2026 · methodology · all libraries
relocated
org.tensorflow:tensorflow-lite is now a POM-only stub that points at com.google.ai.edge.litert:litert:1.0.1. The aligned code lives in the new artifact; see relocated libraries.
25of 25 measured versions with native code ship 4 KB-aligned libraries
2.16.1: p_align = 4 KB (4096)Thin lines: 4 KB cells. Heavy lines: 16 KB page boundaries.
How the verdict was reached
In version order, the 26 measured versions of org.tensorflow:tensorflow-lite run as 2 stretches: org.tensorflow:tensorflow-lite:0.1 to 2.16.1 offending (4 KB-aligned) (25 measured); then org.tensorflow:tensorflow-lite:2.17.0 a POM-only stub (1 measured). Versions are ordered by number, not by publish date, because backports are released after newer lines.
Measured files by the year of their repository date:
- 2021: 16 offending (4 KB-aligned)
- 2022: 4 offending (4 KB-aligned)
- 2023: 3 offending (4 KB-aligned)
- 2024: 2 offending (4 KB-aligned)
The offending versions fail on arm64-v8a and x86_64; Google's rule covers the 64-bit ABIs, so those are the two libraries the verdict reads.
Every version measured
26 of 29 published versions of org.tensorflow:tensorflow-lite were downloaded and read: 25 offending, 0 aligned, 0 with no arm64-v8a/x86_64 .so. Measured files date from 2021-03-12 to 2024-04-16. Newest first. Each version links to the file measured.
Measured evidence
4 KBp_align 4096 = 2^12
- verdict
- below the 16 KB requirement
- library file
jni/arm64-v8a/libtensorflowlite_jni.so- file date
- Tue, 16 Apr 2024 18:22:21 GMT
- source
- artifact
Native libraries inside the artifact
The newest measured version with native code is 2.16.1. It ships 1 native library per ABI: libtensorflowlite_jni.so. The verdict is the lowest p_align among them.
Lowest p_align of each native library file across the measured versions (in version order):
libtensorflowlite_jni.so: 4 KB (offending) inorg.tensorflow:tensorflow-lite:0.1to2.16.1(25 versions)
| Library file | ABI | p_align @ 2.16.1 |
|---|---|---|
libtensorflowlite_jni.so | arm64-v8a | 4 KB |
libtensorflowlite_jni.so | x86_64 | 4 KB |
The Gradle change
implementation("org.tensorflow:tensorflow-lite:2.16.1")no aligned version measured: nothing to change this to yetRELOCATED to com.google.ai.edge.litert:litert: use com.google.ai.edge.litert:litert:1.4.0 or newer (aligned; latest measured 2.2.0); org.tensorflow:tensorflow-lite 2.17.0 is a POM-only stub. WARNING: the stub points at com.google.ai.edge.litert:litert:1.0.1, which is itself 4 KB-aligned (offending on x86_64 and/or arm64): merely bumping org.tensorflow:tensorflow-lite to 2.17.0 stays NON-compliant.
Method and sources
Measured from the published files in repo1.maven.org/maven2/org/tensorflow/tensorflow-lite/. How the verdicts are derived and what they do not cover: methodology. Google's requirement: Support 16 KB page sizes.
Published but not downloaded for this page (3 of 29; their status is unknown): 2.10.0-rc3, 2.5.0, 1.15.0.
Related artifacts
- TFLite select-tf-opsorg.tensorflow:tensorflow-lite-select-tf-ops14 of 14 measured versions offending · no aligned release
- TFLite GPUorg.tensorflow:tensorflow-lite-gpu21 of 21 measured versions offending · relocated
See also the Play 16 KB warning, per stack · deadlines · check all your dependencies. Want every library offline? The kit ($12), 14-day refund.