]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
tests : adds simple llama grammar tests (#2618)
authordrbh <redacted>
Thu, 17 Aug 2023 07:41:01 +0000 (03:41 -0400)
committerGitHub <redacted>
Thu, 17 Aug 2023 07:41:01 +0000 (10:41 +0300)
commit7cf54e1f746941279d81d485796777c01f88049c
tree241999199c16811cd00bf10c0e59dcfd70838d00
parenta872a2b28eaefc8d464eaa535c94deeb501666f9
tests : adds simple llama grammar tests (#2618)

* adds simple llama grammar tests

* fix lint and add Makefile

* 0 terminate code_points

* avoid dangling pointers in candidate cleanup

* cleanup grammar at end of test
Makefile
tests/CMakeLists.txt
tests/test-llama-grammar.cpp [new file with mode: 0644]