]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commitdiff
Address review comment of PR 25532 (#26852)
authorGaurav Garg <redacted>
Mon, 10 Aug 2026 18:32:25 +0000 (00:02 +0530)
committerGitHub <redacted>
Mon, 10 Aug 2026 18:32:25 +0000 (00:02 +0530)
include/llama.h

index c14eb6f50d9adf2fb21f5debf6135df4fc0445e2..5a0b66dc25f6534980f1798d05c9d80b9c7f254d 100644 (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);