Skip to content

Commit 18deb66

Browse files
ddh0iamwavecut
authored andcommitted
server : fix logging of build + system info (ggml-org#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.
1 parent 239e404 commit 18deb66

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

tools/server/server.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -108,10 +108,8 @@ int main(int argc, char ** argv) {
108108
llama_backend_init();
109109
llama_numa_init(params.numa);
110110

111-
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());
112-
LOG_INF("\n");
111+
LOG_INF("build_info: %s\n", build_info.c_str());
113112
LOG_INF("%s\n", common_params_get_system_info(params).c_str());
114-
LOG_INF("\n");
115113

116114
server_http_context ctx_http;
117115
if (!ctx_http.init(params)) {

0 commit comments

Comments
 (0)