Skip to content

LLM inference in C/C++

C++ ggml

Address review comment of PR 25532 (#26852)

Gaurav Garg030ebb558a58
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);