From 030ebb558a5820b444a8f836ed5cdd46c9b4bd7a Mon Sep 17 00:00:00 2001 From: Gaurav Garg Date: Tue, 11 Aug 2026 00:02:25 +0530 Subject: [PATCH] Address review comment of PR 25532 (#26852) --- include/llama.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/include/llama.h b/include/llama.h index c14eb6f50d..5a0b66dc25 100644 --- a/include/llama.h +++ b/include/llama.h @@ -1324,8 +1324,6 @@ extern "C" { LLAMA_API void llama_sampler_apply ( struct llama_sampler * smpl, llama_token_data_array * cur_p); LLAMA_API void llama_sampler_reset ( struct llama_sampler * smpl); LLAMA_API struct llama_sampler * llama_sampler_clone (const struct llama_sampler * smpl); - // copy mutable sampler state without changing dst or its sampling graph bindings - // src and dst must have the same type and configuration LLAMA_API void llama_sampler_copy (const struct llama_sampler * src, struct llama_sampler * dst); // important: do not free if the sampler has been added to a llama_sampler_chain (via llama_sampler_chain_add) LLAMA_API void llama_sampler_free ( struct llama_sampler * smpl);