Type convention

Co-authored-by: Georgi Gerganov <ggerganov@gmail.com>
This commit is contained in:
Carolinabanana 2024-04-07 15:50:24 +01:00 committed by GitHub
parent 8b6577bd63
commit d2924073ee
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

2
ggml.c
View file

@ -20335,7 +20335,7 @@ size_t ggml_quantize_chunk(
int64_t nrows,
int64_t n_per_row,
const float * imatrix) {
const size_t n = (size_t) nrows * n_per_row;
const int64_t n = (int64_t) nrows * n_per_row;
if (ggml_quantize_requires_imatrix(type)) {
GGML_ASSERT(imatrix != NULL);