Repository navigation
hexagon: build and run on the Qualcomm Dragonwing IQ-10 (Linux) - #68
Merged
Merged
Conversation
The Hexagon SDK has no arm64 Linux build, so on a Snapdragon Linux board such as IQ-10 vla.cpp is cross-built in Qualcomm's toolchain container. build_linux_snapdragon.sh runs that build and packages bin/ and lib/ with the HTP skels. With vla-server it installs Debian's arm64 protobuf and ZeroMQ dev packages in the container (multiarch); --no-server skips them. HTP_SKEL_POST runs a command on each skel, for boards that load only processed skels. Verified on IQ-10 (Linux, Hexagon v81): vla-server serves SmolVLA to eval/client/vla_cpp_client.py, and vla_predict_check matches the CPU F32 reference to 7.2e-4.
Document the IQ-10 under Linux: cross-building with scripts/build_linux_snapdragon.sh, installing the HTP skel (FastRPC there ignores ADSP_LIBRARY_PATH and loads only processed skels from /vendor/dsp/cdspN), running vla-server, the CONCAT refusal, and the fidelity of the six archs run so far. Add a CHANGELOG entry.
The IQ-10 is a Qualcomm Dragonwing part. Rename scripts/build_linux_snapdragon.sh to build_linux_hexagon.sh, since it targets Qualcomm Linux boards with a Hexagon NPU, and its SNAPDRAGON_IMAGE override to TOOLCHAIN_IMAGE. Fix the board name in the script header, docs/backend/hexagon.md and CHANGELOG. The toolchain image name and the Snapdragon X laptop references are unchanged.
thanhdq1o2
added a commit
to thanhdq1o2/vla.cpp
that referenced
this pull request
Nov 2, 2026
Bring in the Dragonwing IQ-10 naming fix and the script rename to build_linux_hexagon.sh. The CHANGELOG IQ-10 entry keeps this branch's text with the new names.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a build script and docs for running vla.cpp on the Hexagon NPU of a Qualcomm Dragonwing IQ-10
board under Linux. Follow-up to #67, which fixed the runtime abort; this makes the setup reproducible.
What changes
scripts/build_linux_hexagon.sh(new): cross-builds vla.cpp,vla-serverincluded, inQualcomm's toolchain container, and packages the binaries and HTP skels.
docs/backend/hexagon.md: a Linux (IQ-10) section with build, skel install, run and results.CHANGELOG.md: one Unreleased entry.Risk
Tested on a Dragonwing IQ-10 (Linux, Hexagon v81, llama.cpp
b11223) with the publishedvrfai/*GGUFs:vla-server, and the binaries run on the board.vla-serverserves SmolVLA toeval/client/vla_cpp_client.py.vla_predict_checkagainst CPU F32 (bar 2.9e-3):Not in this PR