Change8

b9553

📦 llama-cppView on GitHub →
1 features🐛 1 fixes🔧 2 symbols

Summary

This release significantly improves sampler name matching by making it case-insensitive and always checking alternative names within `common/sampling.cpp`. This resolves issues with sampler recognition in the llama-server UI.

Migration Steps

  1. If you were relying on the `allow_alt_names` flag in `common_sampler_types_from_names`, note that this flag has been removed and matching is now always permissive (case-insensitive and checks all known aliases).

✨ New Features

  • Sampler name matching in `common_sampler_types_from_names` is now case-insensitive and always checks against both canonical and alternative names, as the `allow_alt_names` flag was removed.

🐛 Bug Fixes

  • Fixed an issue where samplers specified in the `llama-server` UI were not recognized when using alternative sampler names (e.g., `top-k` instead of `top_k`).

Affected Symbols