The llama.cpp project released build b10587, which introduces the GGML_OP_PAD_REFLECT_1D operation to the Vulkan backend. This update implements the necessary GLSL compute shader and registers it for SPIR-V compilation within the ggml-vulkan module.

  • Implemented PAD_REFLECT_1D logic in pad_reflect_1d.comp and updated vulkan-shaders-gen.cpp for registration.
  • Updated ggml-vulkan.cpp to handle constants, pipeline creation, dispatch functions, and debug validation for the new operation.
  • Validated correctness on Intel Iris Xe with Vulkan 1.4 and Mesa 25.2.8, passing all test cases.
  • Provided performance benchmarks showing execution times ranging from 5.38 us/run to 158.31 us/run across various tensor shapes.

This release enables the use of reflection padding in Vulkan-accelerated inference tasks and provides binaries for macOS, Linux, Windows, Android, and openEuler platforms.