test : add simple grammar parsing tests (#2594)
* adds simple grammar parsing tests * adds cassert header
This commit is contained in:
parent
f64d44a9b9
commit
ee77efea2a
4 changed files with 255 additions and 1 deletions
|
@ -11,5 +11,6 @@ llama_add_test(test-quantize-fns.cpp)
|
|||
llama_add_test(test-quantize-perf.cpp)
|
||||
llama_add_test(test-sampling.cpp)
|
||||
llama_add_test(test-tokenizer-0.cpp ${CMAKE_CURRENT_SOURCE_DIR}/../models/ggml-vocab.bin)
|
||||
llama_add_test(test-grammar-parser.cpp ${CMAKE_CURRENT_SOURCE_DIR}/../examples/grammar-parser.cpp)
|
||||
llama_add_test(test-grad0.cpp) # SLOW
|
||||
# llama_add_test(test-opt.cpp) # SLOW
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue