The llama.cpp project released version b10355, introducing support for multi-output backend sampling. This update enables backend sampling combined with token speculation and adds a numeric context parameter to declare the maximum outputs per sequence.

  • Enable backend sampling with token speculation
  • Clamp the mask sum before converting it into the sampled index
  • Add a numeric context parameter declaring the maximum outputs one sequence
  • Fix CPU and backend sampling mismatches and match dist between CPU and GPU
  • Simplify changes and fix tests on Vulkan

The release provides binaries for macOS, iOS, Linux, Android, Windows, and openEuler across various hardware backends including CPU, CUDA, ROCm, OpenVINO, SYCL, HIP, and Vulkan.