Skip to content

feat(twin,freehexagon): add 3-SoC calibrated twin receipts and heterogeneous VLA 3-arm A/B/C benchmark - #48

Merged
saariuslystoned merged 2 commits into
mainfrom
feat/multi-soc-twin-receipts-and-vla-abc
Nov 30, 2026
Merged

saariuslystoned merged 2 commits into
mainfrom
feat/multi-soc-twin-receipts-and-vla-abc

Conversation

@saariuslystoned

Copy link
Copy Markdown
Contributor

Summary

Adds clean-room, released-chip multi-SoC freesilicon-twin calibration receipts (53 live silicon points across 3 SoCs) alongside the clean-room heterogeneous VLA 3-arm interleaved A/B/C benchmark (Adreno 663 Vulkan FP16 stem + Dual Hexagon v73 HMX FP16 projection + shared DMA-BUF SYNC_FD) and offline deterministic CI verification.

Included Deliverables

  1. Four Clean-Room Multi-SoC freesilicon-twin Calibration Receipts (53 points across 3 SoCs) — mirrored identically in twin/receipts/ and python/freesilicon_twin/data/receipts/ with list_bundled_receipts(), load_bundled_receipt(), and validate_calibration_receipt() plus tests/test_twin_multi_soc_receipts.py:
    • qcs9075-hmx-fp16-calibrated.json (16 pts): Dual Hexagon v73 HMX FP16 (5.9765 single / 11.9512 TFLOPS dual, 2.000x scaling, 0 mismatches, hardware ReLU verified).
    • qcs9075-vla-abc-calibrated.json (8 pts): Live 150-frame interleaved 3-arm A/B/C VLA vision-to-projection scoreboard on QCS9075 (2.68x–8.85x heterogeneous split vs unsplit C1/C2, +9–30% & 0 B host copy vs CPU-staged B, 0 mismatches).
    • iq8275-ventuno-q-calibrated.json (24 pts): Arduino VENTUNO Q (QCS8275, non-root uid=1000): single Hexagon v73 (1497.58 MHz, 36.15 us HVX M=1, 0.6799 TFLOPS HMX FP16) + open-source Mesa Turnip Adreno623 3-way zero-copy DMA-BUF (bit_exact=true, 0 mismatches).
    • sm8850-v81-calibrated.json (5 pts): Snapdragon 8 Elite Gen 5 (SM8850, Android 16, uid=2000, SELinux Enforcing=1): 3/4 portability gates PASS (8x128B HVX, 8 MiB VTCM, 1708.73 MHz, 16 MiB AHardwareBuffer Adreno 840 Vulkan <-> CDSP zero-copy 0 mismatches, 6.094 us vk_sync_fd p50); records v73 HMX FP16 non-forward-compatibility on v81 (g3_v73_hmx_forward_compat_on_v81=false).
  2. Clean-Room Heterogeneous VLA 3-Arm A/B/C Benchmark & DSP Skeleton:
    • include/freehexagon_vla_abi.h, src/freehexagon_vla_skel.c, src/vla_spirv_embed.h, tools/iq9075_vla_abc_killtest.c, shaders/adreno663/vla_{stem_crouton,stem_rowmajor,proj_crouton}.comp (Vulkan 1.2, 16-bit storage only, zero 8-bit storage), scripts/build_freehexagon_vla_dsp.sh, and tests/test_freehexagon_vla_abc.c.
    • Wired into Makefile (verify-headers, test, verify) and CMakeLists.txt (CTest).
  3. Clean-Room Proof: proof/multi-soc-twin-vla-abc/PROOF.md.

Local Verification

  • make clean && make verify (strict C11/C++17 headers, all unit/mock tests, Python suite, clean-room-audit.sh 0 errors across 141 files)
  • cmake + ctest: 27/27 PASS (7.62s)
  • Clang ASan/UBSan on test_freehexagon_vla_abc and iq9075_vla_abc_killtest --mock
  • Linux Docker GCC & Clang -Wall -Wextra -Werror compile + mock PASS
  • Upstream LLVM Hexagon v73 DSP skeleton build (build_freehexagon_vla_dsp.sh: 3 PHDRs, 0 DT_NEEDED, SysV DT_HASH, 0 qurt_hmx_*/expf, all 6 HMX FP16 words + syncht)
  • Isolated Python wheel build & venv install check (6 bundled receipts validated)

…eceipts-and-vla-abc

# Conflicts:
#	python/freesilicon_twin/__init__.py
@saariuslystoned
saariuslystoned merged commit 5e504ad into main Nov 30, 2026
5 checks passed
@saariuslystoned
saariuslystoned deleted the feat/multi-soc-twin-receipts-and-vla-abc branch November 30, 2026 13:50
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