The llama.cpp project released version b10216, which introduces full GGML_OP_POOL_1D support for the Vulkan backend. This update includes a new compute shader mirroring the existing pool2d implementation and fixes a crash that occurred when tensor dimensions resulted in negative end boundaries.
- Added vk_op_pool1d_push_constants struct and pipeline_pool1d_f32 field for 1D pooling operations.
- Implemented pool1d.compute shader to handle 1D pooling logic on Vulkan.
- Fixed shader logic by registering pool1d_f32 and correcting tensor dimension indices and average pool scale.
- Resolved a boundary crash issue when k0 < p0 and expanded test coverage for the fix.
This release enables users to utilize 1D pooling layers within models accelerated by Vulkan, with binaries available for macOS, Linux, Windows, Android, and openEuler across CPU, CUDA, ROCm, and other backends.