]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commitdiff
server : fix logging of build + system info (#21460)
authorddh0 <redacted>
Sun, 5 Apr 2026 14:14:02 +0000 (09:14 -0500)
committerGitHub <redacted>
Sun, 5 Apr 2026 14:14:02 +0000 (16:14 +0200)
This PR changes the logging that occurs at startup of llama-server.
Currently, it is redundant (including CPU information twice) and it is
missing the build + commit info.

tools/server/server.cpp

index a7afa7743812799acfeaf6aa1c1530c089e2230d..b9e320d9cb2cee1e3fbeac564eaef733a2ded118 100644 (file)
@@ -108,10 +108,8 @@ int main(int argc, char ** argv) {
     llama_backend_init();
     llama_numa_init(params.numa);
 
-    LOG_INF("system info: n_threads = %d, n_threads_batch = %d, total_threads = %d\n", params.cpuparams.n_threads, params.cpuparams_batch.n_threads, std::thread::hardware_concurrency());
-    LOG_INF("\n");
+    LOG_INF("build_info: %s\n", build_info.c_str());
     LOG_INF("%s\n", common_params_get_system_info(params).c_str());
-    LOG_INF("\n");
 
     server_http_context ctx_http;
     if (!ctx_http.init(params)) {