b9622
ggml-org/llama.cppb9622Jun 13, 2026by github-actions[bot]same day as b9621
What changed since b9621
Vulkan backend gains non-contiguous unary/GLU support plus faster index math and expm1, replacing the prior UI-only fix.
New features
- Vulkan unary and GLU operations now accept non-contiguous tensors by passing all strides.
- expm1 is now supported as a unary operation on the Vulkan backend.
Improvements
- Index calculation for Vulkan unary/GLU kernels uses fastdiv, reducing per-element overhead.
- All unary ops consolidated into a single file to share code with GLU implementations.
- Fastdiv constants are packed to free space for xielu's extra parameters in the generic unary head.
Bug fixes
- Added a workaround for a compiler bug affecting the Vulkan unary path.
Upgrade notes
This is a Vulkan-backend-only change; CPU, CUDA, Metal, and ROCm paths are unaffected, and no CLI or config changes are required. Users on Vulkan with non-contiguous tensors or expm1-based models should see correctness/perf gains. The UI file-name/path fix from the previous build carries forward unchanged.
Analyzed Oct 31, 2026
Upgrading?
Release notes summary
Enhances the Vulkan backend to support non-contiguous memory layouts for unary and GLU operations. Includes optimizations for index calculation and support for expm1.
Key Highlights
- Support non-contig unary/glu ops
- Use fastdiv for index calculation
- Support expm1
- Attempt to workaround compiler bug
Release Notes (excerpt)
<details open> vulkan: support non-contig unary/glu ops (#24215) * vulkan: support non-contig unary/glu ops Change unary/glu ops to pass in all strides and use fastdiv for the index calculation. Put all unary ops in one file, similar to glu, to share the code. codex went ahead and added expm1 without me asking, but I had to make it do a real precision analysis rather than just making stuff up. unary.comp initially couldn't use generic_unary_head because there wasn't…
Published by ggml-org on GitHub.
Read the full release notesRelated Repositories
:electron: Build cross-platform desktop apps with JavaScript, HTML, and CSS
Godot Engine – Multi-platform 2D and 3D game engine
ClickHouse® is a real-time analytics database management system
Self-hosted game stream host for Moonlight.
DuckDB is a high-performance analytical database system