MCPcopy Create free account
hub / github.com/appdevforall/CodeOnTheGo / common_init

Function common_init

subprojects/llama.cpp/common/common.cpp:365–375  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

363}
364
365void common_init() {
366 llama_log_set(common_log_default_callback, NULL);
367
368#ifdef NDEBUG
369 const char * build_type = "";
370#else
371 const char * build_type = " (debug)";
372#endif
373
374 LOG_INF("build: %d (%s) with %s for %s%s\n", LLAMA_BUILD_NUMBER, LLAMA_COMMIT, LLAMA_COMPILER, LLAMA_BUILD_TARGET, build_type);
375}
376
377std::string common_params_get_system_info(const common_params & params) {
378 std::ostringstream os;

Callers 11

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 2

mainFunction · 0.68
mainFunction · 0.68