Skip to content

Commit

Permalink
fix gguf_set_kv
Browse files Browse the repository at this point in the history
  • Loading branch information
JohannesGaessler committed Jan 3, 2025
1 parent b87784d commit b456e10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ggml/src/gguf.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1031,7 +1031,7 @@ void gguf_set_arr_str(struct gguf_context * ctx, const char * key, const char **

// set or add KV pairs from another context
void gguf_set_kv(struct gguf_context * ctx, const struct gguf_context * src) {
const int64_t n_kv = gguf_get_n_kv(ctx);
const int64_t n_kv = gguf_get_n_kv(src);
for (int64_t i = 0; i < n_kv; ++i) {
const struct gguf_kv & kv = src->kv[i];

Expand Down

0 comments on commit b456e10

Please sign in to comment.