Repository navigation
Overview
ggml v1.1.1 lands Hexagon 2.0 with INT-HMX W8A8 matmul, automatic F32 to F16 lowering and generic DMA pipelines, and brings a CUDA FlashAttention data-loading refactor, a SYCL gated-delta-net ESIMD kernel with fused recurrent convolutions, small-K Metal mat-vec tuning, and a WebGPU log1p for softplus. It also adds the TANH backward pass, OpenVINO decode and op-test fixes, and 16-head lightning-indexer support on CUDA.
Core changes
- Implement the TANH backward pass from the forward output and add TANH to the gradient-checked unary ops llama/32136
Backend changes
CUDA / HIP
- Refactor and deduplicate FA data loading across the vec, tile and mma kernels, and update the HIP/MUSA instance lists llama/32901
- Support the lightning indexer with 16 heads llama/32960
- Fix an integer overflow in the MMF matrix offsets llama/33044
Metal
- Spread the short mat-vec lanes over src1 rows for small K llama/33034
- Revert the default command-buffer increase on iPhone llama/33050
SYCL
- Add a gated-delta-net ESIMD kernel llama/31762
- Fuse recurrent convolution windows llama/31355
- Drop the host-wait check for fattn-mkl from the graph checks llama/31208
OpenCL
- Disable the Adreno E17 compiler quirks by default llama/33013
WebGPU
- Add log1p for the softplus op llama/33017
OpenVINO
- Improve KV-cache decode rounding and fix in-place write-back plus softplus precision in op tests llama/33002
Hexagon
- Hexagon 2.0: add INT-HMX W8A8 matmul, automatic F32 to F16 lowering, and generic DMA pipelines llama/32582
- Add HMX W8A8 Q8_0 KV flash attention with split-KV decode, and F16/DMA paths across most ops llama/32582
- Fuse MUL_MAT with GLU ops and extend test-backend-ops with F16/mixed-type cases llama/32582
More info
Changelog since v1.1.0
bb877c0 ggml : bump version to 1.1.1 (#1703)
e143250 sync : llama.cpp
e14bade sycl: Remove check for host waits in fattn-mkl from graph checks (llama/31208)
2ac2ea8 ggml-hexagon 2.0 : support for int-hmx, automatic f32 -> f16 lowering, and generic dma pipelines (llama/32582)
d73b56c cuda : fix int overflow of the MMF matrix offsets (llama/33044)
568ceec ggml : add TANH backward pass (llama/32136)
c6b4ff4 sycl: add gated delta net ESIMD kernel (llama/31762)
2ed9b41 sycl: fuse recurrent convolution windows (llama/31355)
533f023 metal : spread the short mat-vec lanes over src1 rows (llama/33034)
9a8ce86 metal : revert "metal: increase default command buffers on iPhone (#31815)" (llama/33050)
d670445 opencl: Adreno E17 compiler quirks off by default (llama/33013)
b0a0839 sync : llama.cpp
103e053 CUDA: refactor & deduplicate FA data loading (llama/32901)
d8fbedb sync : llama.cpp
35aea37 model : add hy_v4_flash on the DSA iSWA cache (llama/32960)
d351ce1 ggml-openvino: fix CI op tests and improve KV cache decode (llama/33002)
54e6489 webgpu : add log1p for softplus op (llama/33017)