add model_flops

This commit is contained in:
Zonghang Li
2024-11-21 20:06:16 +04:00
parent 80f6b72e71
commit 7ee1423006
5 changed files with 67 additions and 42 deletions
+1 -1
View File
@@ -528,7 +528,7 @@ extern "C" {
LLAMA_API void llama_model_n_flops(
struct llama_model * model,
struct llama_model_loader * ml,
struct flops_info * ffo,
struct model_flops * ffo,
const int64_t n_input,
const int64_t n_history);