File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ 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- if (NOT CMAKE_SYSTEM_PROCESSOR MATCHES "s390x" )
8+ if (NOT ${ CMAKE_SYSTEM_PROCESSOR} MATCHES "s390x" )
99 add_test (NAME ${TEST_TARGET}
1010 COMMAND llama-eval-callback --hf-repo ggml-org/models --hf-file tinyllamas/stories260K.gguf --model stories260K.gguf --prompt hello --seed 42 -ngl 0)
1111else ()
Original file line number Diff line number Diff line change @@ -185,9 +185,10 @@ llama_build_and_test(test-json-partial.cpp)
185185llama_build_and_test(test -log .cpp)
186186llama_build_and_test(test -regex -partial.cpp)
187187
188- # disabled on s390x because this test mixes download and use steps, with no clean way to byteswap between them
189188if (NOT ${CMAKE_SYSTEM_PROCESSOR} MATCHES "s390x" )
190189 llama_build_and_test(test -thread-safety.cpp ARGS -hf ggml-org/models -hff tinyllamas/stories15M-q4_0.gguf -ngl 99 -p "The meaning of life is" -n 128 -c 256 -ub 32 -np 4 -t 2)
190+ else ()
191+ llama_build_and_test(test -thread-safety.cpp ARGS -hf taronaeo/tinyllamas -hff stories15M-be.Q4_0.gguf -ngl 99 -p "The meaning of life is" -n 128 -c 256 -ub 32 -np 4 -t 2)
191192endif ()
192193
193194# this fails on windows (github hosted runner) due to curl DLL not found (exit code 0xc0000135)
You can’t perform that action at this time.
0 commit comments