From: ddh0 Date: Sun, 5 Apr 2026 14:14:02 +0000 (-0500) Subject: server : fix logging of build + system info (#21460) X-Git-Tag: upstream/0.0.8681~13 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=5d3a4a7da5e3dd42f5922aba2fe21b520e96e830;p=pkg%2Fggml%2Fsources%2Fllama.cpp 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. --- diff --git a/tools/server/server.cpp b/tools/server/server.cpp index a7afa7743..b9e320d9c 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)) {