mirror of
https://github.com/Lizonghang/prima.cpp.git
synced 2025-09-10 15:44:34 +00:00
convert MB to GB
This commit is contained in:
parent
407c71ae52
commit
b922418cca
1 changed files with 1 additions and 1 deletions
|
@ -885,7 +885,7 @@ struct llama_init_result llama_init_from_gpt_params(gpt_params & params) {
|
|||
LOG_INF("GPU Properties:\n");
|
||||
LOG_INF(" GPU Name : %s\n", gpu_props.name);
|
||||
LOG_INF(" Description : %s\n", gpu_props.description);
|
||||
LOG_INF(" Memory Free : %d MB\n", (int)(gpu_props.memory_free / (double)(1 << 20)));
|
||||
LOG_INF(" Memory Free : %.2f GB\n", gpu_props.memory_free / (double)(1 << 30));
|
||||
LOG_INF(" Memory Total : %.2f GB\n", gpu_props.memory_total / (double)(1 << 30));
|
||||
|
||||
if (model == NULL) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue