diff options
author | Georgi Gerganov <ggerganov@gmail.com> | 2023-03-25 16:22:05 +0200 |
---|---|---|
committer | Georgi Gerganov <ggerganov@gmail.com> | 2023-03-25 16:22:05 +0200 |
commit | 6b6dbc8910c6d53f4d96c46c8fcec70e2cd435d8 (patch) | |
tree | 0fbdf139b2f2d18f7a22d09f2d10726895334e1e | |
parent | 2a2e63ce0503d9bf3e55283e40a052c78c1cc3a8 (diff) |
Remove obsolete assert and fix compiler warning
-rw-r--r-- | ggml.c | 2 | ||||
-rw-r--r-- | main.cpp | 2 |
2 files changed, 1 insertions, 3 deletions
@@ -6317,8 +6317,6 @@ static void ggml_compute_forward_mul_mat_f16_f32( float * dst_col = (float *) ((char *) dst->data + (i0*nb0 + 0*nb1 + i2*nb2 + i3*nb3)); - assert(ne00 % 32 == 0); - for (int ic = 0; ic < ne11; ++ic) { ggml_vec_dot_f16(ne00, &dst_col[ic*ne0], src0_row, src1_col + ic*ne00); } @@ -478,7 +478,7 @@ int main(int argc, char ** argv) { std::string buffer; if (!params.input_prefix.empty()) { buffer += params.input_prefix; - printf(buffer.c_str()); + printf("%s", buffer.c_str()); } std::string line; |