fit-params : refactor + add option to output estimated memory per device (#22171)

* fit-params : add option to output estimated memory per device

* cont : minor

* cont : refactor

* cont : move fit params implementation to libcommon

* cont : header

* cont : headers

* cont : codeowners
This commit is contained in:
Georgi Gerganov
2026-04-21 09:54:36 +03:00
committed by GitHub
parent ff6b1062af
commit cfe9838d26
19 changed files with 1123 additions and 980 deletions
+2 -1
View File
@@ -1,5 +1,6 @@
#include "arg.h"
#include "common.h"
#include "fit.h"
#include "log.h"
#include "llama.h"
@@ -2087,7 +2088,7 @@ int main(int argc, char ** argv) {
LOG("\n");
llama_perf_context_print(ctx);
llama_memory_breakdown_print(ctx);
common_memory_breakdown_print(ctx);
llama_backend_free();