Skip to content

Commit

Permalink
Address review comment
Browse files Browse the repository at this point in the history
  • Loading branch information
jart committed Aug 22, 2024
1 parent 42fa422 commit b81b590
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion llama.cpp/ggml-quants.inc
Original file line number Diff line number Diff line change
Expand Up @@ -14704,7 +14704,7 @@ bool ggml_validate_row_data(enum ggml_type type, const void * data, size_t nbyte
int nans = 0;
const unsigned char * f = (const unsigned char *) data;
for (size_t i = 0; i < nb; ++i) {
nans += f[i] > 0xff;
nans += (f[i] & 127) == 127;
}
if (nans) {
fprintf(stderr, "%s: found %d NaNs in row of %zu FP8 values\n", __func__, nans, nb);
Expand Down

0 comments on commit b81b590

Please sign in to comment.