MCPcopy Create free account
hub / github.com/antirez/llama.cpp-deepseek-v4-flash / common_init

Function common_init

common/common.cpp:363–378  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

361}
362
363void common_init() {
364#if defined(_WIN32)
365 SetConsoleOutputCP(CP_UTF8);
366 SetConsoleCP(CP_UTF8);
367#endif
368
369 llama_log_set(common_log_default_callback, NULL);
370
371#ifdef NDEBUG
372 const char * build_type = "";
373#else
374 const char * build_type = " (debug)";
375#endif
376
377 LOG_DBG("build: %d (%s) with %s for %s%s\n", llama_build_number(), llama_commit(), llama_compiler(), llama_build_target(), build_type);
378}
379
380std::string common_params_get_system_info(const common_params & params) {
381 std::ostringstream os;

Callers 15

mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85

Calls 1

llama_log_setFunction · 0.85

Tested by 5

mainFunction · 0.68
mainFunction · 0.68
mainFunction · 0.68
mainFunction · 0.68
mainFunction · 0.68