PyTorch Android lite 16 KB status: no aligned release
Artifact org.pytorch:pytorch_android_lite · Maintained by hermonLabs · last measured 1 Oct 2026 · methodology · all libraries
no aligned release found
No measured release of PyTorch Android lite is 16 KB-aligned. The newest measured version, 2.1.0, is still offending.
9of 9 measured versions with native code ship 4 KB-aligned libraries
2.1.0: 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 9 measured versions of org.pytorch:pytorch_android_lite run as 1 stretch: org.pytorch:pytorch_android_lite:1.9.0 to 2.1.0 offending (4 KB-aligned) (9 measured). Versions are ordered by number, not by publish date, because backports are released after newer lines.
Every one of the 9 measured versions with native code is offending; none reaches 16384. The newest measured, 2.1.0 (file date 2023-10-12), has a minimum p_align of 4 KB, so no upgrade of this artifact alone clears the requirement as of 1 Oct 2026.
Measured files by the year of their repository date:
- 2021: 2 offending (4 KB-aligned)
- 2022: 4 offending (4 KB-aligned)
- 2023: 3 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
9 of 9 published versions of org.pytorch:pytorch_android_lite were downloaded and read: 9 offending, 0 aligned, 0 with no arm64-v8a/x86_64 .so. Measured files date from 2021-06-15 to 2023-10-12. Newest first. Each version links to the file measured.
| Coordinate (group:artifact:version) | File date | Result | arm64-v8a p_align | x86_64 p_align |
|---|---|---|---|---|
org.pytorch:pytorch_android_lite:2.1.0 | 2023-10-12 | offending | 4 KB | 4 KB |
org.pytorch:pytorch_android_lite:1.13.1 | 2023-03-20 | offending | 4 KB | 4 KB |
org.pytorch:pytorch_android_lite:1.13.0 | 2023-01-23 | offending | 4 KB | 4 KB |
org.pytorch:pytorch_android_lite:1.12.2 | 2022-06-29 | offending | 4 KB | 4 KB |
org.pytorch:pytorch_android_lite:1.12.1 | 2022-06-16 | offending | 4 KB | 4 KB |
org.pytorch:pytorch_android_lite:1.12 | 2022-03-09 | offending | 64 KB | 4 KB |
org.pytorch:pytorch_android_lite:1.11 | 2022-03-12 | offending | 64 KB | 4 KB |
org.pytorch:pytorch_android_lite:1.10.0 | 2021-10-21 | offending | 4 KB | 4 KB |
org.pytorch:pytorch_android_lite:1.9.0 | 2021-06-15 | offending | 4 KB | 4 KB |
Measured evidence
4 KBp_align 4096 = 2^12
- verdict
- below the 16 KB requirement
- library file
jni/arm64-v8a/libc++_shared.so- file date
- Thu, 12 Oct 2023 01:10:58 GMT
- source
- artifact
Native libraries inside the artifact
The newest measured version with native code is 2.1.0. It ships 3 native libraries per ABI: libc++_shared.so, libfbjni.so, libpytorch_jni_lite.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):
libc++_shared.so: 4 KB (offending) inorg.pytorch:pytorch_android_lite:1.9.0to2.1.0(9 versions)libfbjni.so: 4 KB (offending) inorg.pytorch:pytorch_android_lite:1.9.0to2.1.0(9 versions)libpytorch_jni_lite.so: 4 KB (offending) inorg.pytorch:pytorch_android_lite:1.9.0to2.1.0(9 versions)
| Library file | ABI | p_align @ 2.1.0 |
|---|---|---|
libc++_shared.so | arm64-v8a | 4 KB |
libc++_shared.so | x86_64 | 4 KB |
libfbjni.so | arm64-v8a | 4 KB |
libfbjni.so | x86_64 | 4 KB |
libpytorch_jni_lite.so | arm64-v8a | 4 KB |
libpytorch_jni_lite.so | x86_64 | 4 KB |
The Gradle change
implementation("org.pytorch:pytorch_android_lite:2.1.0")no aligned version measured: nothing to change this to yetno 16 KB-aligned release of org.pytorch:pytorch_android_lite measured (latest measured 2.1.0); ask the vendor, check for a fork, or re-link the .so yourself; replacing is the last resort
Method and sources
Measured from the published files in repo1.maven.org/maven2/org/pytorch/pytorch_android_lite/. How the verdicts are derived and what they do not cover: methodology. Google's requirement: Support 16 KB page sizes.
All 9 published versions were downloaded and measured.
Related artifacts
- PyTorch Androidorg.pytorch:pytorch_android12 of 12 measured versions offending · no aligned release
- ExecuTorchorg.pytorch:executorch-android11 of 26 measured versions offending · fixed
- SQLCipher (legacy android-database-sqlcipher)net.zetetic:android-database-sqlcipher6 of 19 measured versions offending · no aligned release
- TFLite select-tf-opsorg.tensorflow:tensorflow-lite-select-tf-ops14 of 14 measured versions offending · no aligned release
- tess-twocom.rmtheis:tess-two14 of 14 measured versions offending · no aligned release
See also the Play 16 KB warning, per stack · deadlines · check all your dependencies. Want every library offline? The kit ($12), 14-day refund.