[Hexagon:Feature] Support Qwen3-VL with symmetric and asymmetric block-wise quantization - #4774
[Hexagon:Feature] Support Qwen3-VL with symmetric and asymmetric block-wise quantization#4774yydhYYDH wants to merge 5 commits into
Conversation
|
Thanks for the substantial Hexagon work. The direction and performance results look promising, and the three host-side validation tests build and pass locally. Before merging, could you please address the following issues:
The new W8 decode path dynamically quantizes FP16 activations to INT8 and is enabled by default. A lightweight validation is enough: please provide one representative logits/output comparison with Thanks! |
|
Thanks for the detailed review. I addressed all four points in commit
logits/output comparisonI also completed the requested lightweight validation on OnePlus 13 / Snapdragon 8 Elite / Hexagon v79 using The text prompt was: This comparison toggles the W8 decode INT8 GEMV path with W8 INT8 GEMV enabled: W8 INT8 GEMV disabled with Full first-token logits comparison: I also ran a longer text-generation check with With W8 GEMV enabled: With W8 GEMV disabled: Both runs answered correctly and terminated naturally at EOS before reaching the 256-token limit. Both selected Full first-token logits comparison: Qwen3-VL image smoke testThe image is the repository's 480x360 The Vision prompt was: I ran the same prompt with greedy sampling on the CPU and Hexagon backends using the same INT8 symmetric block-64 model. No generation length was passed to CPU backend response: Hexagon backend response: The three host-side validation tests, Android MNN/LLM build, and v79 skel unexpected-symbol check all pass. The phone logs contain no error, fallback, fatal signal, NaN, or Inf marker. |
|
Thanks for the update—the INT4 failure handling, NCHW validation, and requested lightweight checks look good. One workspace issue remains on the DSP side. In Please expand This small fix plus the existing build/unit test is sufficient; no additional performance or accuracy matrix is needed. Thanks! |
Description
This change adds two main capabilities to the Android Hexagon backend:
Performance
llm_bench -p N -n 128 -rep 3on OnePlus 13 / Snapdragon 8 Elite / Hexagon v79, tokens/s:Module
Hexagon
Type
Checklist
[Module:Type] Descriptionformat