MCPcopy Create free account
hub / github.com/appdevforall/CodeOnTheGo / llama_model_save_to_file

Function llama_model_save_to_file

subprojects/llama.cpp/src/llama.cpp:1052–1057  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1050}
1051
1052void llama_model_save_to_file(const struct llama_model * model, const char * path_model) {
1053 llama_model_saver ms(*model);
1054 ms.add_kv_from_model();
1055 ms.add_tensors_from_model();
1056 ms.save(path_model);
1057}
1058
1059//
1060// chat templates

Callers

nothing calls this directly

Calls 3

add_kv_from_modelMethod · 0.80
saveMethod · 0.45

Tested by

no test coverage detected