]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commitdiff
As suggested by @slaren, disabling Metal for test to fix CI build on OSX from #6576...
authorClint Herron <redacted>
Thu, 11 Apr 2024 21:44:48 +0000 (17:44 -0400)
committerGitHub <redacted>
Thu, 11 Apr 2024 21:44:48 +0000 (17:44 -0400)
examples/eval-callback/CMakeLists.txt

index d53f374226b9abb7a71422f293f3d8aa20f550d0..c56ba780b215f91d1c256af70be021117328297b 100644 (file)
@@ -5,5 +5,5 @@ target_link_libraries(${TARGET} PRIVATE common llama ${CMAKE_THREAD_LIBS_INIT})
 target_compile_features(${TARGET} PRIVATE cxx_std_11)
 
 set(TEST_TARGET test-eval-callback)
-add_test(NAME ${TEST_TARGET} COMMAND eval-callback --hf-repo ggml-org/models --hf-file tinyllamas/stories260K.gguf --model stories260K.gguf --prompt hello --seed 42)
+add_test(NAME ${TEST_TARGET} COMMAND eval-callback --hf-repo ggml-org/models --hf-file tinyllamas/stories260K.gguf --model stories260K.gguf --prompt hello --seed 42 -ngl 0)
 set_property(TEST ${TEST_TARGET} PROPERTY LABELS eval-callback curl)