TFLite GPU: 16 KB fix, artifact moved
Artifact org.tensorflow:tensorflow-lite-gpu · Maintained by hermonLabs · last measured 1 Oct 2026 · methodology · all libraries
relocated
org.tensorflow:tensorflow-lite-gpu is now a POM-only stub that points at com.google.ai.edge.litert:litert-gpu:1.0.1. The aligned code lives in the new artifact; see relocated libraries.
21of 21 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 22 measured versions of org.tensorflow:tensorflow-lite-gpu run as 2 stretches: org.tensorflow:tensorflow-lite-gpu:1.14.0 to 2.16.1 offending (4 KB-aligned) (21 measured); then org.tensorflow:tensorflow-lite-gpu: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: 11 offending (4 KB-aligned)
- 2022: 5 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
22 of 22 published versions of org.tensorflow:tensorflow-lite-gpu were downloaded and read: 21 offending, 0 aligned, 0 with no arm64-v8a/x86_64 .so. Measured files date from 2021-04-20 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_gpu_jni.so- file date
- Tue, 16 Apr 2024 18:22:34 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_gpu_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_gpu_jni.so: 4 KB (offending) inorg.tensorflow:tensorflow-lite-gpu:1.14.0to2.16.1(21 versions)
| Library file | ABI | p_align @ 2.16.1 |
|---|---|---|
libtensorflowlite_gpu_jni.so | arm64-v8a | 4 KB |
libtensorflowlite_gpu_jni.so | x86_64 | 4 KB |
The Gradle change
implementation("org.tensorflow:tensorflow-lite-gpu:2.16.1")no aligned version measured: nothing to change this to yetRELOCATED to com.google.ai.edge.litert:litert-gpu: use com.google.ai.edge.litert:litert-gpu:1.4.0 or newer (aligned; latest measured 1.4.2); org.tensorflow:tensorflow-lite-gpu 2.17.0 is a POM-only stub. WARNING: the stub points at com.google.ai.edge.litert:litert-gpu:1.0.1, which is itself 4 KB-aligned (offending on x86_64 and/or arm64): merely bumping org.tensorflow:tensorflow-lite-gpu to 2.17.0 stays NON-compliant.
Method and sources
Measured from the published files in repo1.maven.org/maven2/org/tensorflow/tensorflow-lite-gpu/. How the verdicts are derived and what they do not cover: methodology. Google's requirement: Support 16 KB page sizes.
All 22 published versions were downloaded and measured.
Related artifacts
- TFLite select-tf-opsorg.tensorflow:tensorflow-lite-select-tf-ops14 of 14 measured versions offending · no aligned release
- TFLiteorg.tensorflow:tensorflow-lite25 of 25 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.