| 1050 | } |
| 1051 | |
| 1052 | void 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 |
nothing calls this directly
no test coverage detected