llama: print memory breakdown on exit (#15860)
* llama: print memory breakdown on exit
This commit is contained in:
parent
f2a789e334
commit
e789095502
18 changed files with 243 additions and 12 deletions
|
|
@ -332,6 +332,7 @@ void common_perf_print(const struct llama_context * ctx, const struct common_sam
|
|||
}
|
||||
if (ctx) {
|
||||
llama_perf_context_print(ctx);
|
||||
llama_memory_breakdown_print(ctx);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue