Skip to content

Commit

Permalink
missing newlines
Browse files Browse the repository at this point in the history
  • Loading branch information
eiz committed Mar 18, 2023
1 parent d6c8129 commit 5d54356
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ bool llama_model_load(const std::string & fname, llama_model & model, gpt_vocab
fin.read((char *) &format_version, sizeof(format_version));

if (format_version != 1) {
fprintf(stderr, "%s: invalid model file '%s' (unsupported format version %" PRIu32 ")",
fprintf(stderr, "%s: invalid model file '%s' (unsupported format version %" PRIu32 ")\n",
__func__, fname.c_str(), format_version);
return false;
}
Expand Down
2 changes: 1 addition & 1 deletion quantize.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ bool llama_model_quantize(const std::string & fname_inp, const std::string & fna
finp.read((char *) &format_version, sizeof(format_version));

if (format_version != 1) {
fprintf(stderr, "%s: invalid model file '%s' (unsupported format version %" PRIu32 ")",
fprintf(stderr, "%s: invalid model file '%s' (unsupported format version %" PRIu32 ")\n",
__func__, fname_inp.c_str(), format_version);
return false;
}
Expand Down

0 comments on commit 5d54356

Please sign in to comment.