Skip to content

Commit d292407

Browse files
RefractAIggerganov
andauthored
Type convention
Co-authored-by: Georgi Gerganov <[email protected]>
1 parent 8b6577b commit d292407

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ggml.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20335,7 +20335,7 @@ size_t ggml_quantize_chunk(
2033520335
int64_t nrows,
2033620336
int64_t n_per_row,
2033720337
const float * imatrix) {
20338-
const size_t n = (size_t) nrows * n_per_row;
20338+
const int64_t n = (int64_t) nrows * n_per_row;
2033920339

2034020340
if (ggml_quantize_requires_imatrix(type)) {
2034120341
GGML_ASSERT(imatrix != NULL);

0 commit comments

Comments
 (0)