Skip to content

Build an opt-in Android arm64 Hexagon candidate - #262

Merged
leehack merged 2 commits into
mainfrom
hexagon-260-opt-in
Dec 1, 2026
Merged

leehack merged 2 commits into
mainfrom
hexagon-260-opt-in

Conversation

@leehack

@leehack leehack commented Dec 1, 2026 •

Copy link
Copy Markdown
Owner

Release gate

The maintainer approved Qualcomm Hexagon SDK CE 6.7.0.0 use in hosted CI and redistribution of the generated DSP skeletons. Approval in #260

Qualification requires prepare_android_hexagon=true with publish_release=false. The prepared-release importer also refuses runs that built a Hexagon candidate. Publication requires a separate maintainer decision.

Summary

Build the experimental Android arm64 CPU + Hexagon candidate with Android NDK r28c and a digest-pinned Snapdragon image. Stage the five DSP skeletons under assets/hexagon/ and verify the host and DSP ELFs, ABI, dependencies, notice bytes and complete archive. Keep qualification artifacts outside publication.

The follow-up adds tools/build.py to the candidate PR path filter and makes repeated staging refresh the DSP skeletons and manifest. Tracks #260. Dart integration is tracked in leehack/llamadart#2553.

Validation

  • Current PR head e33427477daea711dea18a7605d365644cb4b206. The delta from audited head 1eb8d501d1f20e1a0311c1d1727c42d393b5a6a9 is limited to approval wording, the candidate workflow path filter, and repeatable asset directory creation with a regression test. The prior audit covers the earlier head. The current head awaits independent delta review.
  • Local Python suite ran 530 tests with one skip and zero failures. The hosted Hexagon candidate run for this head is linked here. Hosted candidate CI
  • Prior device and archive qualification used owner build 1eb8d501d1f20e1a0311c1d1727c42d393b5a6a9, upstream 171527522610996f5f0acf12334e185156ca8f44, Android API 28 and NDK r28c. The archive passed the Android/DSP ELF, dependency, hash, export and notice checks. All 14 host ELFs have 16 KiB LOAD alignment.
  • DDP session-b6da3fc5-5fbc-42bc-812a-31d149406649 passed on stock Galaxy S24 SM8650/v75 and S25 Ultra SM8750/v79 with the same signed APK and pinned Qwen3-0.6B Q4_0. Each opened the matching unsigned app-private DSP skeleton, offloaded 29/29 layers and completed three measured 64-token decode sequences. Both profiles returned five DSP batches with 455–482 ops each and positive cycle counts. Missing skeleton, stale hash and absent manifest declaration each refused HTP as expected.
  • Median HTP prefill rose from 357.35 to 481.64 tok/s on SM8650 and 515.06 to 609.82 on SM8750. Median decode fell from 84.41 to 40.56 and 100.54 to 51.31 tok/s. The two tested firmwares use 4 KiB pages.
  • Owner archive SHA-256 db912f7a46efafb29ee974ac02b956e5d965a8611075a3de76d2868d8653a818. Signed APK delta was 5,358,185 bytes for all skeletons, 1,437,997 for v75 and 1,446,189 for v79. Local bundletool delivery estimates were 5,362,083, 1,441,652 and 1,447,609 bytes respectively.

Changelog

  • Add a release-gated, opt-in Android arm64 Hexagon qualification bundle with hash-verified HTP assets and SDK notices.

leehack commented Dec 1, 2026

Copy link
Copy Markdown
Owner Author

The maintainer confirmed “Approve for hexagon.” The approval covers Qualcomm Hexagon SDK CE 6.7.0.0 use in hosted CI and redistribution of the generated DSP skeletons. Publication of the Hexagon candidate requires a separate maintainer decision. Approval record

@leehack
leehack marked this pull request as ready for review December 1, 2026 23:22
@leehack
leehack merged commit 236a532 into main Dec 1, 2026
37 of 39 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant