gguf_create(): take flags to be able to overwrite files. Fixes #7.

This commit is contained in:
antirez
2024-01-09 16:32:10 +01:00
parent 81dbf8f8d2
commit 6eb4aeb2fb
3 changed files with 8 additions and 4 deletions

View File

@@ -196,7 +196,7 @@ void gguf_tools_split_mixtral(int *experts_id, const char *mixtral_filename, con
exit(1);
}
gguf_ctx *output = gguf_create(output_filename);
gguf_ctx *output = gguf_create(output_filename, GGUF_NONE);
if (output == NULL) {
perror("Opening the output file");
exit(1);