The llama.cpp project released version b10951, which includes a code optimization in the decoding logic. The `llama_n_rs_seq` function call is now executed before `llama_decode`, allowing the system to return directly if the check passes.

  • This change eliminates the need for setting the `res` variable and using a goto statement when the early return condition is met.
  • The primary motivation is to avoid invoking `llama_decode` when it is not required, improving efficiency.
  • Binaries are available for macOS (Apple Silicon and Intel), iOS, Linux (CPU, Vulkan, ROCm, OpenVINO, SYCL), Android, Windows (CPU, CUDA 12/13, Vulkan, OpenVINO, SYCL, ROCm), and openEuler.