sampling : remove version from sampler chain

This commit removes the version field from the sampler chain and instead
used the sampler pointer itself for change detection.
This commit is contained in:
Daniel Bevenius
2025-11-19 06:59:03 +01:00
parent 26be108be8
commit 0da7e7dccc
5 changed files with 2 additions and 21 deletions

View File

@@ -1235,7 +1235,6 @@ extern "C" {
// after removing a sampler, the chain will no longer own it, and it will not be freed when the chain is freed
LLAMA_API struct llama_sampler * llama_sampler_chain_remove( struct llama_sampler * chain, int32_t i);
LLAMA_API uint64_t llama_sampler_chain_get_version(const struct llama_sampler * chain);
// available samplers: