Address review comment of PR 25532 (#26852)

This commit is contained in:
Gaurav Garg
2026-08-11 00:02:25 +05:30
committed by GitHub
parent 689e227db4
commit 030ebb558a
-2
View File
@@ -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);