ggml-debug: tests add the main label
This commit is contained in:
parent
a42ebbd596
commit
f84473da64
1 changed files with 3 additions and 2 deletions
|
@ -4,8 +4,9 @@ install(TARGETS ${TARGET} RUNTIME)
|
|||
target_link_libraries(${TARGET} PRIVATE common llama ${CMAKE_THREAD_LIBS_INIT})
|
||||
target_compile_features(${TARGET} PRIVATE cxx_std_11)
|
||||
|
||||
# define tests
|
||||
enable_testing()
|
||||
if (NOT DEFINED LLAMA_TEST_LABEL)
|
||||
set(LLAMA_TEST_LABEL "main")
|
||||
endif()
|
||||
|
||||
set(TEST_TARGET test-ggml-debug)
|
||||
add_test(NAME ${TEST_TARGET} COMMAND ggml-debug --hf-repo ggml-org/models --hf-file tinyllamas/stories260K.gguf --model stories260K.gguf --prompt hello --seed 42)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue