]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
fix : Dangling pointer for non-empty trigger words in lazy grammar construction ...
authorMarek Hradil jr. <redacted>
Fri, 14 Nov 2025 12:35:26 +0000 (13:35 +0100)
committerGitHub <redacted>
Fri, 14 Nov 2025 12:35:26 +0000 (14:35 +0200)
commit6cd0cf72ce96393f06bd271731e7a8bebeb481c0
treee5447957a5d65b7d7513be0c02ccacb8750353ea
parentd396b4374804bcb91cf969141ed75282245a12bc
fix : Dangling pointer for non-empty trigger words in lazy grammar construction (#17048)

* fix : Dangling pointer for non-empty trigger words in llama_sampler_init_grammar_impl (#17047)

* Replace 'static' workaround, with keeping variable in scope for longer

* Create std::array directly and pass into llama_grammar_init_impl

* Add back the trigger pattern

* Missed array include
src/llama-sampling.cpp