fix some spaces added by IDE in math op

ggml-ci
This commit is contained in:
Pierrick HYMBERT 2024-02-18 21:04:04 +01:00 committed by Georgi Gerganov
parent 606873401c
commit 47c662b0de
No known key found for this signature in database
GPG Key ID: 449E073F9DC10735

View File

@ -129,16 +129,16 @@ int main(int argc, char ** argv) {
const ggml_type qtype = GGML_TYPE_Q4_1;
size_t kv_size = 0;
kv_size += ggml_row_size(GGML_TYPE_F32, sizex * sizey);
kv_size += ggml_row_size(GGML_TYPE_F32, sizex * sizey);
kv_size += ggml_row_size(GGML_TYPE_F32, sizex * sizez);
kv_size += ggml_row_size(qtype, sizex * sizey);
kv_size += ggml_row_size(qtype, sizex * sizey);
kv_size += ggml_row_size(GGML_TYPE_F32, sizex * sizey); // BLAS
kv_size += ggml_row_size(GGML_TYPE_F32, sizex * sizey); // BLAS
kv_size += 1024 * 1024 * 16;
kv_size += ggml_row_size(GGML_TYPE_F32, sizex*sizey);
kv_size += ggml_row_size(GGML_TYPE_F32, sizex*sizey);
kv_size += ggml_row_size(GGML_TYPE_F32, sizex*sizez);
kv_size += ggml_row_size(qtype, sizex*sizey);
kv_size += ggml_row_size(qtype, sizex*sizey);
kv_size += ggml_row_size(GGML_TYPE_F32, sizex*sizey); // BLAS
kv_size += ggml_row_size(GGML_TYPE_F32, sizex*sizey); // BLAS
kv_size += 1024*1024*16;
printf("Allocating Memory of size %zi bytes, %zi MB\n", kv_size, (kv_size / 1024 / 1024));
printf("Allocating Memory of size %zi bytes, %zi MB\n", kv_size, (kv_size/1024/1024));
struct ggml_init_params params = {
/*.mem_size =*/ kv_size,