mirror of
https://github.com/ggerganov/llama.cpp.git
synced 2024-11-14 23:09:53 +00:00
log : print if build is debug [no ci]
This commit is contained in:
parent
2948768e25
commit
078be074a7
@ -369,8 +369,13 @@ void gpt_init() {
|
|||||||
}
|
}
|
||||||
}, NULL);
|
}, NULL);
|
||||||
|
|
||||||
|
#ifdef NDEBUG
|
||||||
|
const char * build_type = "";
|
||||||
|
#else
|
||||||
|
const char * build_type = " (debug)";
|
||||||
|
#endif
|
||||||
|
|
||||||
LOG_INF("build: %d (%s) with %s for %s\n", LLAMA_BUILD_NUMBER, LLAMA_COMMIT, LLAMA_COMPILER, LLAMA_BUILD_TARGET);
|
LOG_INF("build: %d (%s) with %s for %s%s\n", LLAMA_BUILD_NUMBER, LLAMA_COMMIT, LLAMA_COMPILER, LLAMA_BUILD_TARGET, build_type);
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string gpt_params_get_system_info(const gpt_params & params) {
|
std::string gpt_params_get_system_info(const gpt_params & params) {
|
||||||
|
Loading…
Reference in New Issue
Block a user