File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,11 @@ target_link_libraries(${TARGET} PRIVATE common llama ${CMAKE_THREAD_LIBS_INIT})
55target_compile_features (${TARGET} PRIVATE cxx_std_17)
66
77set (TEST_TARGET test -eval-callback)
8- add_test (NAME ${TEST_TARGET}
9- COMMAND llama-eval-callback --hf-repo ggml-org/models --hf-file tinyllamas/stories260K.gguf --model stories260K.gguf --prompt hello --seed 42 -ngl 0)
8+ if (NOT CMAKE_SYSTEM_PROCESSOR MATCHES "s390x" )
9+ add_test (NAME ${TEST_TARGET}
10+ COMMAND llama-eval-callback --hf-repo ggml-org/models --hf-file tinyllamas/stories260K.gguf --model stories260K.gguf --prompt hello --seed 42 -ngl 0)
11+ else ()
12+ add_test (NAME ${TEST_TARGET} -s390x
13+ COMMAND llama-eval-callback --hf-repo taronaeo/models --hf-file tinyllamas-BE/stories260K-be.gguf --model stories260K-be.gguf --prompt hello --seed 42 -ngl 0)
14+ endif ()
1015set_property (TEST ${TEST_TARGET} PROPERTY LABELS eval-callback curl)
You can’t perform that action at this time.
0 commit comments