ExecuTorch 16 KB page-size fix: upgrade to 1.0.0
Artifact org.pytorch:executorch-android · Maintained by hermonLabs · last measured 1 Oct 2026 · methodology · all libraries
fixed
ExecuTorch versions up to and including 0.7.0 that we measured ship 4 KB-aligned native libraries (offending for Google Play's 16 KB page-size requirement). The first measured aligned stable version is 1.0.0; the newest measured, 1.4.0, is aligned (16 KB).
11of 26 measured versions with native code ship 4 KB-aligned libraries
0.7.0: p_align = 4 KB (4096)1.0.0: p_align = 16 KB (16384)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.pytorch:executorch-android run as 6 stretches: org.pytorch:executorch-android:0.5.0 to 0.7.0 offending (4 KB-aligned) (8 measured); then org.pytorch:executorch-android:0.7.0-rc1 aligned (16 KB) (1 measured); then org.pytorch:executorch-android:0.7.0-rc2 to 0.7.0-rc5 offending (4 KB-aligned) (2 measured); then org.pytorch:executorch-android:1.0.0 aligned (16 KB) (1 measured); then org.pytorch:executorch-android:1.0.0-rc1 offending (4 KB-aligned) (1 measured); then org.pytorch:executorch-android:1.0.0-rc2 to 1.4.0 aligned (16 KB) (13 measured). Versions are ordered by number, not by publish date, because backports are released after newer lines.
3 published versions sit between the last offending 0.7.0 and the first aligned 1.0.0: 0.7.0-rc1, 0.7.0-rc2, 0.7.0-rc5. All of them were measured and none is a stable aligned release.
By repository file date, the last offending file (0.7.0) is from 2025-08-11 and the first aligned file (1.0.0) is from 2025-10-18, a gap of 68 days. Both dates are file times, not vendor release announcements.
Measured files by the year of their repository date:
- 2025: 11 offending (4 KB-aligned), 6 aligned (16 KB)
- 2026: 9 aligned (16 KB)
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 26 published versions of org.pytorch:executorch-android were downloaded and read: 11 offending, 15 aligned, 0 with no arm64-v8a/x86_64 .so. Measured files date from 2025-03-19 to 2026-08-07. Newest first. Each version links to the file measured.
- The boundary is not exact: only prerelease or unlisted versions lie between the last offending and the first aligned version, so an earlier aligned stable version cannot be ruled out.
Measured evidence
4 KBp_align 4096 = 2^12
- verdict
- below the 16 KB requirement
- library file
jni/arm64-v8a/libexecutorch.so- file date
- Mon, 11 Aug 2025 17:19:41 GMT
- source
- artifact
16 KBp_align 16384 = 2^14
- verdict
- exactly the 16 KB requirement
- library file
jni/arm64-v8a/libexecutorch.so- file date
- Sat, 18 Oct 2025 00:39:45 GMT
- source
- artifact
Native libraries inside the artifact
The newest measured version with native code is 1.4.0; the last offending one is 0.7.0. It ships 1 native library per ABI: libexecutorch.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):
libexecutorch.so: 4 KB (offending) inorg.pytorch:executorch-android:0.5.0to0.7.0(8 versions); 16 KB (16 KB-compatible) inorg.pytorch:executorch-android:0.7.0-rc1(1 version); 4 KB (offending) inorg.pytorch:executorch-android:0.7.0-rc2to0.7.0-rc5(2 versions); 16 KB (16 KB-compatible) inorg.pytorch:executorch-android:1.0.0(1 version); 4 KB (offending) inorg.pytorch:executorch-android:1.0.0-rc1(1 version); 16 KB (16 KB-compatible) inorg.pytorch:executorch-android:1.0.0-rc2to1.4.0(13 versions)
| Library file | ABI | p_align @ 0.7.0 | p_align @ 1.4.0 |
|---|---|---|---|
libexecutorch.so | arm64-v8a | 4 KB | 16 KB |
libexecutorch.so | x86_64 | 4 KB | 16 KB |
The Gradle change
implementation("org.pytorch:executorch-android:0.7.0")implementation("org.pytorch:executorch-android:1.0.0")an aligned version, lowest measured above the last offending one; newer measured versions are aligned too (latest 1.4.0). Check: ./gradlew :app:dependencyInsight --dependency executorch-android --configuration releaseRuntimeClasspath
Method and sources
Measured from the published files in repo1.maven.org/maven2/org/pytorch/executorch-android/. How the verdicts are derived and what they do not cover: methodology. Google's requirement: Support 16 KB page sizes.
All 26 published versions were downloaded and measured.
Related artifacts
- PyTorch Androidorg.pytorch:pytorch_android12 of 12 measured versions offending · no aligned release
- PyTorch Android liteorg.pytorch:pytorch_android_lite9 of 9 measured versions offending · no aligned release
- fbjnicom.facebook.fbjni:fbjni10 of 13 measured versions offending · fixed
- React Native react-androidcom.facebook.react:react-android20 of 77 measured versions offending · fixed
- Hermescom.facebook.react:hermes-android25 of 41 measured versions offending · fixed
See also the Play 16 KB warning, per stack · deadlines · check all your dependencies. Want every library offline? The kit ($12), 14-day refund.