Add line
This commit is contained in:
parent
f3532ff80c
commit
ec613b856c
1 changed files with 1 additions and 1 deletions
2
ggml.c
2
ggml.c
|
@ -20335,7 +20335,7 @@ size_t ggml_quantize_chunk(
|
||||||
int nrows,
|
int nrows,
|
||||||
int n_per_row,
|
int n_per_row,
|
||||||
const float * imatrix) {
|
const float * imatrix) {
|
||||||
const int n = nrows * n_per_row;
|
const size_t n = (size_t) nrows * n_per_row;
|
||||||
|
|
||||||
if (ggml_quantize_requires_imatrix(type)) {
|
if (ggml_quantize_requires_imatrix(type)) {
|
||||||
GGML_ASSERT(imatrix != NULL);
|
GGML_ASSERT(imatrix != NULL);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue