Skip to content

Commit 2618f3d

Browse files
committed
devops: add s390x test-eval-callback
Signed-off-by: Aaron Teo <[email protected]>
1 parent 5089196 commit 2618f3d

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

examples/eval-callback/CMakeLists.txt

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ target_link_libraries(${TARGET} PRIVATE common llama ${CMAKE_THREAD_LIBS_INIT})
55
target_compile_features(${TARGET} PRIVATE cxx_std_17)
66

77
set(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()
1015
set_property(TEST ${TEST_TARGET} PROPERTY LABELS eval-callback curl)

0 commit comments

Comments
 (0)