diff options
author | Xuan Son Nguyen <thichthat@gmail.com> | 2024-05-04 18:56:22 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-04 18:56:22 +0200 |
commit | 842500144ee02c8b0a46d2cc43880f8d80998fa5 (patch) | |
tree | 2f80ab4903dc5b618e51fb92af968f601a4369d3 /ggml.c | |
parent | cf768b7e71cbcc9886c753ae963c2b68893d02e4 (diff) |
gguf-split: add --no-tensor-first-split (#7072)
Diffstat (limited to 'ggml.c')
-rw-r--r-- | ggml.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -21139,7 +21139,7 @@ struct gguf_context * gguf_init_from_file(const char * fname, struct gguf_init_p } // read the tensor infos - { + if (ctx->header.n_tensors > 0) { ctx->infos = GGML_CALLOC(ctx->header.n_tensors, sizeof(struct gguf_tensor_info)); for (uint64_t i = 0; i < ctx->header.n_tensors; ++i) { |