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

Function gguf_init_empty_sparse

ggml.c:19459–19463  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19457}
19458
19459struct gguf_context * gguf_init_empty_sparse(void) {
19460 struct gguf_context * ctx = gguf_init_empty();
19461 memcpy(ctx->header.magic, GGUF_POWERINFER_MAGIC, sizeof(ctx->header.magic));
19462 return ctx;
19463}
19464
19465struct gguf_context * gguf_init_from_file(const char * fname, struct gguf_init_params params) {
19466 FILE * file = fopen(fname, "rb");

Callers 1

Calls 1

gguf_init_emptyFunction · 0.70

Tested by

no test coverage detected