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

Function gguf_get_meta_size

subprojects/llama.cpp/ggml/src/gguf.cpp:1430–1435  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1428}
1429
1430size_t gguf_get_meta_size(const struct gguf_context * ctx) {
1431 // only return size
1432 std::vector<int8_t> buf;
1433 gguf_write_to_buf(ctx, buf, /*only_meta =*/ true);
1434 return buf.size();
1435}
1436
1437void gguf_get_meta_data(const struct gguf_context * ctx, void * data) {
1438 std::vector<int8_t> buf;

Callers 5

run_mergeMethod · 0.85
print_infoMethod · 0.85
writeMethod · 0.85
gguf_mergeFunction · 0.85

Calls 2

gguf_write_to_bufFunction · 0.85
sizeMethod · 0.65

Tested by

no test coverage detected