Type convention
Co-authored-by: Georgi Gerganov <ggerganov@gmail.com>
This commit is contained in:
parent
8b6577bd63
commit
d2924073ee
1 changed files with 1 additions and 1 deletions
2
ggml.c
2
ggml.c
|
@ -20335,7 +20335,7 @@ size_t ggml_quantize_chunk(
|
||||||
int64_t nrows,
|
int64_t nrows,
|
||||||
int64_t n_per_row,
|
int64_t n_per_row,
|
||||||
const float * imatrix) {
|
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)) {
|
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