From 5d3a4a7da5e3dd42f5922aba2fe21b520e96e830 Mon Sep 17 00:00:00 2001 From: ddh0 Date: Sun, 5 Apr 2026 09:14:02 -0500 Subject: [PATCH] server : fix logging of build + system info (#21460) 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 | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tools/server/server.cpp b/tools/server/server.cpp index a7afa77438..b9e320d9cb 100644 --- a/tools/server/server.cpp +++ b/tools/server/server.cpp @@ -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)) {