Skip to content

Commit 2e9b37b

Browse files
committed
removing trailing space
1 parent 59f596e commit 2e9b37b

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

examples/gguf-split/gguf-split.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -450,7 +450,7 @@ static void gguf_merge(const split_params & split_params) {
450450
LLM_KV_SPLIT_COUNT);
451451
gguf_free(ctx_gguf);
452452
ggml_free(ctx_meta);
453-
gguf_free(ctx_out);
453+
gguf_free(ctx_out);
454454
exit(EXIT_FAILURE);
455455
}
456456

@@ -462,7 +462,7 @@ static void gguf_merge(const split_params & split_params) {
462462
n_split);
463463
gguf_free(ctx_gguf);
464464
ggml_free(ctx_meta);
465-
gguf_free(ctx_out);
465+
gguf_free(ctx_out);
466466
exit(EXIT_FAILURE);
467467
}
468468

@@ -474,7 +474,7 @@ static void gguf_merge(const split_params & split_params) {
474474
split_path, i_split, n_split);
475475
gguf_free(ctx_gguf);
476476
ggml_free(ctx_meta);
477-
gguf_free(ctx_out);
477+
gguf_free(ctx_out);
478478
exit(EXIT_FAILURE);
479479
}
480480

@@ -517,7 +517,7 @@ static void gguf_merge(const split_params & split_params) {
517517
gguf_free(ctx_out);
518518
if (!split_params.dry_run) {
519519
fout.close();
520-
}
520+
}
521521
exit(EXIT_FAILURE);
522522
}
523523
fprintf(stderr, "%s: writing tensors %s ...", __func__, split_path);
@@ -558,7 +558,7 @@ static void gguf_merge(const split_params & split_params) {
558558
std::vector<uint8_t> data(gguf_get_meta_size(ctx_out));
559559
gguf_get_meta_data(ctx_out, data.data());
560560
fout.write((const char *)data.data(), data.size());
561-
fout.close();
561+
fout.close();
562562
}
563563
gguf_free(ctx_out);
564564

0 commit comments

Comments
 (0)