ggml : hide ggml_object, ggml_cgraph, ggml_hash_set

ggml-ci
This commit is contained in:
Georgi Gerganov
2024-09-10 16:38:06 +03:00
parent 00ba2ff781
commit c8a3f291fe
13 changed files with 131 additions and 92 deletions

View File

@ -370,7 +370,7 @@ struct lora_merge_ctx {
// write data to output file
{
auto result = gf->nodes[gf->n_nodes - 1];
auto * result = ggml_graph_node(gf, -1);
size_t len = ggml_nbytes(result);
if (read_buf.size() < len) {
read_buf.resize(len);