LLM inference in C/C++
C++ ggml
tests : replace personal home directory paths with generic placeholders (#27043)
Jim Wu885c5bbe8e04
diff --git a/examples/test-cmake/README.md b/examples/test-cmake/README.mdindex 21e5eb9607..2f6a2fcfe9 100644--- a/examples/test-cmake/README.md+++ b/examples/test-cmake/README.md@@ -27,10 +27,10 @@ Build/run this project using the installation created above:(venv) $ ./build.sh-- Configuring done (0.0s)-- Generating done (0.0s)--- Build files have been written to: /home/danbev/work/ai/llama.cpp/examples/test-cmake/build+-- Build files have been written to: /path/to/llama.cpp/examples/test-cmake/build[100%] Built target test-cmake[test-cmake] Using llama.cpp version 0.1.0-dev-b10335[test-cmake] Initializing backend...-load_backend: loaded CPU backend from /home/danbev/work/ai/llama.cpp/examples/test-cmake/install/lib/llama.cpp/libggml-cpu-alderlake.so+load_backend: loaded CPU backend from /path/to/llama.cpp/examples/test-cmake/install/lib/llama.cpp/libggml-cpu-alderlake.so[test-cmake] Backend initialized.```diff --git a/tests/test-chat.cpp b/tests/test-chat.cppindex 3cf81ca8e7..de75ad3300 100644--- a/tests/test-chat.cpp+++ b/tests/test-chat.cpp@@ -4618,7 +4618,7 @@ static void test_template_output_peg_parsers(bool detailed_debug) {// Real life test - execute_commandtst.test("<|tool_call_begin|>functions.execute_command:0<|tool_call_argument_begin|>{\"command\": \"ls -lah\""- ", \"cwd\": \"/home/jarvis/development/exllamav3\", \"timeout\": 10}")+ ", \"cwd\": \"/home/user/development/exllamav3\", \"timeout\": 10}").reasoning_format(COMMON_REASONING_FORMAT_AUTO).parallel_tool_calls(true).tools({@@ -4648,7 +4648,7 @@ static void test_template_output_peg_parsers(bool detailed_debug) {expect_tool_calls({{"execute_command",- R"({"command": "ls -lah", "cwd": "/home/jarvis/development/exllamav3", "timeout": 10})",+ R"({"command": "ls -lah", "cwd": "/home/user/development/exllamav3", "timeout": 10})","functions.execute_command:0"}})