| 19457 | } |
| 19458 | |
| 19459 | struct 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 | |
| 19465 | struct gguf_context * gguf_init_from_file(const char * fname, struct gguf_init_params params) { |
| 19466 | FILE * file = fopen(fname, "rb"); |
no test coverage detected