MCPcopy Create free account
hub / github.com/Tiiny-AI/PowerInfer / gguf_get_meta_data

Function gguf_get_meta_data

ggml.c:20396–20404  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20394}
20395
20396void gguf_get_meta_data(const struct gguf_context * ctx, void * data) {
20397 struct gguf_buf buf = gguf_buf_init(16*1024);
20398
20399 gguf_write_to_buf(ctx, &buf, true);
20400
20401 memcpy(data, buf.data, buf.offset);
20402
20403 gguf_buf_free(buf);
20404}
20405
20406////////////////////////////////////////////////////////////////////////////////
20407

Callers 3

export_loraFunction · 0.50
clip_model_quantizeFunction · 0.50

Calls 3

gguf_buf_initFunction · 0.85
gguf_buf_freeFunction · 0.85
gguf_write_to_bufFunction · 0.70

Tested by

no test coverage detected