llama: print memory breakdown on exit (#15860)

* llama: print memory breakdown on exit
This commit is contained in:
Johannes Gäßler 2025-09-24 16:53:48 +02:00 committed by GitHub
parent f2a789e334
commit e789095502
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
18 changed files with 243 additions and 12 deletions

View file

@ -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);
}
}