Skip to content

b12997

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 04 Dec 21:21
bd9a15f

hexagon: optimize fused GLU and rescale W8A8 matmul (#33581)

  • hexagon : optimize W8A8 signed-m rescale and FP16 GLU epilogue

Use hmx_qf32_to_i32_zp128 + xor 0x80 for signed-m rescale, stage 32x64 W8A8 1g/2g GLU tiles
in L1D with direct Wqf32->Vhf pack.
SW-pipeline 1-vec FP16 GLU strips (2-loop scratch split for GEGLU).

  • hexagon : move GLU strip scratch to ddr_spad and unify F16 path

Stage per-worker GLU strip intermediates in ctx->ddr_spad_base instead of worker stack,
unify FP16 HMX and W8A8 ng/chunked GLU paths onto store_strip_fn, and drop obsolete store_quad_f16 helpers.

  • hexagon: apply f8_e4m3 scale in dequant

  • hexagon: improve fwht with f8 rescaling

  • hexagon: update dev guide to clarify register spills optimizations

  • hexagon: auto-enable FWHT for Q6_K, Q8_0 and F8 types

Website:

Attestations:

macOS/iOS:

Linux:

Android:

Windows:

openEuler:

  • DISABLED
  • openEuler x86 (310p)
  • openEuler x86 (910b, ACL Graph)
  • openEuler aarch64 (310p)
  • openEuler aarch64 (910b, ACL Graph)

UI: